CVE-2020-25285
Vulnerability Summary
Timeline
Description
A race condition between hugetlb sysctl handlers in mm/hugetlb.c in the Linux kernel before 5.8.8 could be used by local attackers to corrupt memory, cause a NULL pointer dereference, or possibly have unspecified other impact, aka CID-17743798d812.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.4CVSS:3.1/AV:L/AC:H/PR:H/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-362•Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
- CWE-476•NULL Pointer Dereference
The product dereferences a pointer that it expects to be valid but is NULL.
- 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.8.10-1 | < 5.8.10-1 | < 5.8.10-1 | < 5.8.10-1
- ubuntu•linux
all | < 4.4.0-193.224 | < 4.15.0-126.129 | < 5.4.0-51.56
- ubuntu•linux-aws
< 4.4.0-1081.85 | < 4.4.0-1117.131 | < 4.15.0-1088.93 | < 5.4.0-1028.29
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1028.29~18.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2031.32 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1088.93~16.04.1
- ubuntu•linux-azure
< 4.15.0-1100.111~14.04.1 | < 4.15.0-1100.111~16.04.1 | all | < 5.4.0-1031.32
- ubuntu•linux-azure-4.15
< 4.15.0-1100.111
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1031.32~18.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fips
< 4.15.0-2013.15 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all
- ubuntu•linux-dell300x
< 4.15.0-1007.11
- ubuntu•linux-fips
< 4.4.0-1048.53 | all | < 4.15.0-1046.53
- ubuntu•linux-gcp
< 4.15.0-1088.101~16.04.1 | all | < 5.4.0-1028.29
- ubuntu•linux-gcp-4.15
< 4.15.0-1088.101
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1028.29~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-1074.79
- ubuntu•linux-gke-5.4
< 5.4.0-1027.28~18.04.1
- ubuntu•linux-gkeop-5.4
< 5.4.0-1003.3
- ubuntu•linux-hwe
< 4.15.0-126.129~16.04.1 | all
- ubuntu•linux-hwe-5.4
< 5.4.0-51.56~18.04.1
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1082.91 | < 4.15.0-1079.81 | < 5.4.0-1026.27
- ubuntu•linux-lts-xenial
< 4.4.0-193.224~14.04.1
- ubuntu•linux-oem
< 4.15.0-1103.114
- ubuntu•linux-oem-5.6
< 5.6.0-1053.57
- ubuntu•linux-oracle
< 4.15.0-1059.65~16.04.1 | < 4.15.0-1059.65 | < 5.4.0-1028.29
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.3
all
- ubuntu•linux-oracle-5.4
< 5.4.0-1028.29~18.04.1
- ubuntu•linux-raspi
< 5.4.0-1021.24
- ubuntu•linux-raspi-5.4
< 5.4.0-1021.24~18.04.1
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.4.0-1141.151 | < 4.15.0-1074.79 | all
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
< 5.4.0-36.41
- ubuntu•linux-snapdragon
< 4.4.0-1145.155 | < 4.15.0-1091.100
- debian•debian_linux
9.0
- linux•linux_kernel
< 5.8.8
References (17)
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=17743798d81238ab13050e8e2833699b54e15467
- https://twitter.com/grsecurity/status/1303749848898904067
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.8.8
- https://lists.debian.org/debian-lts-announce/2020/09/msg00025.html
- https://security.netapp.com/advisory/ntap-20201009-0002/
- https://usn.ubuntu.com/4576-1/
- https://usn.ubuntu.com/4579-1/
- 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-25285
- https://git.kernel.org/linus/17743798d81238ab13050e8e2833699b54e15467
- https://ubuntu.com/security/notices/USN-4579-1
- https://ubuntu.com/security/notices/USN-4576-1
- https://ubuntu.com/security/notices/USN-4660-1
- https://ubuntu.com/security/notices/USN-4912-1
- https://www.cve.org/CVERecord?id=CVE-2020-25285
- https://security-tracker.debian.org/tracker/CVE-2020-25285