# CVE-2020-25212: A TOCTOU mismatch in the NFS client code in the Linux kernel before 5.8.3 could be used by local attackers to corrupt memory or possibly ha…

- Severity: High 7.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2020-09-09T15:52:01.000Z
- Modified: 2026-06-17T03:06:35.627Z
- Weaknesses: CWE-367, CWE-787
- Assigned by: mitre

## Description

A TOCTOU mismatch in the NFS client code in the Linux kernel before 5.8.3 could be used by local attackers to corrupt memory or possibly have unspecified other impact because a size check is in fs/nfs/nfs4proc.c instead of fs/nfs/nfs4xdr.c, aka CID-b4487b935452.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: before 5.8.3
- debian debian_linux: 9.0
- opensuse leap: 15.1; 15.2
- canonical ubuntu_linux: 14.04; 16.04; 18.04; 20.04

## Every score

- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.4 Medium `AV:L/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b4487b93545214a9db8cbf32e86411677b0cca21> (mailing-list, patch, vendor-advisory)
- <https://twitter.com/grsecurity/status/1303370421958578179> (third-party-advisory)
- <https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.8.3> (mailing-list, vendor-advisory)
- <https://usn.ubuntu.com/4527-1/> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4525-1/> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/09/msg00025.html> (mailing-list, third-party-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00021.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4578-1/> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00035.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00042.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/10/msg00032.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/10/msg00034.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2020-25212](https://www.cve.org/CVERecord?id=CVE-2020-25212), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-25212](https://nvd.nist.gov/vuln/detail/CVE-2020-25212), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-25212 · Whole record: https://cve.day/CVE-2020-25212.json · Rebuilt by cve.day 2026-11-25T22:57:54.574Z
