CVE-2020-29374
Vulnerability Summary
Timeline
Description
An issue was discovered in the Linux kernel before 5.7.3, related to mm/gup.c and mm/huge_memory.c. The get_user_pages (aka gup) implementation, when used for a copy-on-write page, does not properly consider the semantics of read operations and therefore can grant unintended write access, aka CID-17839856fd58.
CVSS Metrics
- v3.1•LOW•Score: 3.6CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- v2.0•LOW•Score: 3.3AV:L/AC:M/Au:N/C:P/I:P/A:N
EPSS Trends
Current EPSS score: 0.41%• Percentile: 35%
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-863•Incorrect Authorization
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Affected Systems
- debian•linux
< 5.7.6-1 | < 5.7.6-1 | < 5.7.6-1 | < 5.7.6-1
- ubuntu•linux
all | < 4.4.0-203.235 | < 4.15.0-136.140 | < 5.4.0-45.49
- ubuntu•linux-aws
< 4.4.0-1086.90 | < 4.4.0-1122.136 | < 4.15.0-1094.101 | < 5.4.0-1022.22
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1022.22~18.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2037.39 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1094.101~16.04.1
- ubuntu•linux-azure
< 4.15.0-1108.120~14.04.1 | < 4.15.0-1108.120~16.04.1 | all | < 5.4.0-1023.23
- ubuntu•linux-azure-4.15
< 4.15.0-1108.120
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1023.23~18.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all
- ubuntu•linux-azure-fde-5.15
< 5.15.0-1114.123~20.04.1
- ubuntu•linux-azure-fips
< 4.15.0-2020.23 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all
- ubuntu•linux-dell300x
< 4.15.0-1012.16
- ubuntu•linux-fips
< 4.4.0-1056.62 | all | < 4.15.0-1053.61
- ubuntu•linux-gcp
< 4.15.0-1093.106~16.04.1 | all | < 5.4.0-1022.22
- ubuntu•linux-gcp-4.15
< 4.15.0-1093.106
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1022.22~18.04.1
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke
all
- ubuntu•linux-gke-4.15
< 4.15.0-1079.84
- ubuntu•linux-gke-5.3
< 5.3.0-1032.34~18.04.1
- ubuntu•linux-hwe
< 4.15.0-136.140~16.04.1 | all
- ubuntu•linux-hwe-5.4
< 5.4.0-45.49~18.04.2
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1088.97 | < 4.15.0-1085.87 | < 5.4.0-1021.21
- ubuntu•linux-lts-xenial
< 4.4.0-203.235~14.04.1
- ubuntu•linux-oem
all
- ubuntu•linux-oem-5.6
< 5.6.0-1020.20
- ubuntu•linux-oracle
< 4.15.0-1065.73~16.04.1 | < 4.15.0-1065.73 | < 5.4.0-1022.22
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.3
all
- ubuntu•linux-oracle-5.4
< 5.4.0-1022.22~18.04.1
- ubuntu•linux-raspi
< 5.4.0-1016.17
- ubuntu•linux-raspi-5.4
< 5.4.0-1016.17~18.04.1
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.4.0-1146.156 | < 4.15.0-1079.84 | all
- ubuntu•linux-raspi2-5.3
< 5.3.0-1030.32~18.04.2
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
< 5.4.0-31.35 | all
- ubuntu•linux-snapdragon
< 4.4.0-1150.160 | < 4.15.0-1096.105
- debian•debian_linux
9.0 | 10.0
- linux•linux_kernel
< 5.7.3
Showing first 50 affected entries in server-rendered view.
References (15)
- https://bugs.chromium.org/p/project-zero/issues/detail?id=2045
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.7.3
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=17839856fd588f4ab6b789f482ed3ffd7c403e1f
- https://security.netapp.com/advisory/ntap-20210115-0002/
- http://packetstormsecurity.com/files/162117/Kernel-Live-Patch-Security-Notice-LSN-0075-1.html
- https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html
- https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html
- https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html
- https://www.debian.org/security/2022/dsa-5096
- https://ubuntu.com/security/CVE-2020-29374
- https://git.kernel.org/linus/17839856fd588f4ab6b789f482ed3ffd7c403e1f
- https://ubuntu.com/security/notices/USN-4748-1
- https://ubuntu.com/security/notices/USN-4749-1
- https://www.cve.org/CVERecord?id=CVE-2020-29374
- https://security-tracker.debian.org/tracker/CVE-2020-29374