CVE-2020-25212
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 4.4AV:L/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.27%• Percentile: 20%
Techniques & Countermeasures
- CWE-367•Time-of-check Time-of-use (TOCTOU) Race Condition
The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- canonical•ubuntu_linux
14.04 | 16.04 | 18.04 | 20.04
- debian•linux
< 5.7.17-1 | < 5.7.17-1 | < 5.7.17-1 | < 5.7.17-1
- ubuntu•linux
all | < 4.4.0-190.220 | < 4.15.0-121.123 | < 5.4.0-48.52
- ubuntu•linux-aws
< 4.4.0-1078.82 | < 4.4.0-1114.127 | < 4.15.0-1086.91 | < 5.4.0-1025.25
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1025.25~18.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2030.31 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1085.90~16.04.1
- ubuntu•linux-azure
< 4.15.0-1098.109~14.04.1 | < 4.15.0-1098.109~16.04.1 | all | < 5.4.0-1026.26
- ubuntu•linux-azure-4.15
< 4.15.0-1099.110
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1026.26~18.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fips
< 4.15.0-2012.14 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all
- ubuntu•linux-fips
< 4.4.0-1046.51 | all | < 4.15.0-1044.50
- ubuntu•linux-gcp
< 4.15.0-1086.98~16.04.1 | all | < 5.4.0-1025.25
- ubuntu•linux-gcp-4.15
< 4.15.0-1086.98
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1025.25~18.04.1
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke-4.15
< 4.15.0-1072.76
- ubuntu•linux-hwe
< 4.15.0-120.122~16.04.1 | all
- ubuntu•linux-hwe-5.4
< 5.4.0-48.52~18.04.1
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1080.87 | < 4.15.0-1077.79 | < 5.4.0-1024.24
- ubuntu•linux-lts-xenial
< 4.4.0-190.220~14.04.1
- ubuntu•linux-oem
< 4.15.0-1099.109
- ubuntu•linux-oem-5.6
< 5.6.0-1048.52
- ubuntu•linux-oracle
< 4.15.0-1056.61~16.04.1 | < 4.15.0-1057.62 | < 5.4.0-1025.25
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.3
all
- ubuntu•linux-oracle-5.4
< 5.4.0-1025.25~18.04.1
- ubuntu•linux-raspi
< 5.4.0-1019.21
- ubuntu•linux-raspi-5.4
< 5.4.0-1019.21~18.04.1
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.4.0-1139.148 | < 4.15.0-1073.78 | all
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
< 5.4.0-34.38
- ubuntu•linux-snapdragon
< 4.4.0-1143.152 | < 4.15.0-1089.98
- debian•debian_linux
9.0
- linux•linux_kernel
< 5.8.3
- opensuse•leap
15.1 | 15.2
References (20)
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b4487b93545214a9db8cbf32e86411677b0cca21
- https://twitter.com/grsecurity/status/1303370421958578179
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.8.3
- https://usn.ubuntu.com/4527-1/
- https://usn.ubuntu.com/4525-1/
- https://lists.debian.org/debian-lts-announce/2020/09/msg00025.html
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00021.html
- https://usn.ubuntu.com/4578-1/
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00035.html
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00042.html
- https://lists.debian.org/debian-lts-announce/2020/10/msg00032.html
- https://lists.debian.org/debian-lts-announce/2020/10/msg00034.html
- https://ubuntu.com/security/CVE-2020-25212
- https://git.kernel.org/linus/b4487b93545214a9db8cbf32e86411677b0cca21
- https://ubuntu.com/security/notices/USN-4525-1
- https://ubuntu.com/security/notices/USN-4527-1
- https://ubuntu.com/security/notices/USN-4578-1
- https://ubuntu.com/security/notices/USN-4752-1
- https://www.cve.org/CVERecord?id=CVE-2020-25212
- https://security-tracker.debian.org/tracker/CVE-2020-25212