CVE-2020-12652
Vulnerability Summary
Timeline
Description
The __mptctl_ioctl function in drivers/message/fusion/mptctl.c in the Linux kernel before 5.4.14 allows local users to hold an incorrect lock during the ioctl operation and trigger a race condition, i.e., a "double fetch" vulnerability, aka CID-28d76df18f0a. NOTE: the vendor states "The security impact of this bug is not as bad as it could have been because these operations are all privileged and root already has enormous destructive power."
CVSS Metrics
- v3.1•MEDIUM•Score: 4.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 4.7AV:L/AC:M/Au:N/C:N/I:N/A:C
EPSS Trends
Current EPSS score: 0.33%• Percentile: 26%
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.
Affected Systems
- debian•linux
< 5.4.19-1 | < 5.4.19-1 | < 5.4.19-1 | < 5.4.19-1
- ubuntu•linux
all | < 4.4.0-174.204 | < 4.15.0-91.92
- ubuntu•linux-aws
< 4.4.0-1062.66 | < 4.4.0-1102.113 | < 4.15.0-1063.67
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-fips
< 4.15.0-2018.18 | all
- ubuntu•linux-aws-hwe
< 4.15.0-1063.67~16.04.1
- ubuntu•linux-azure
< 4.15.0-1074.79~14.04.1 | < 4.15.0-1075.80 | all
- ubuntu•linux-azure-5.3
< 5.3.0-1016.17~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-2006.7 | all
- ubuntu•linux-bluefield
all
- ubuntu•linux-fips
< 4.4.0-1029.34 | all
- ubuntu•linux-gcp
< 4.15.0-1058.62 | all
- ubuntu•linux-gcp-5.3
< 5.3.0-1014.15~18.04.1
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
all
- ubuntu•linux-gke
all
- ubuntu•linux-gke-4.15
< 4.15.0-1055.58
- ubuntu•linux-gke-5.0
< 5.0.0-1032.33
- ubuntu•linux-gke-5.3
< 5.3.0-1014.15~18.04.1
- ubuntu•linux-hwe
< 4.15.0-91.92~16.04.1 | < 5.3.0-42.34~18.04.1
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1066.73 | < 4.15.0-1056.57
- ubuntu•linux-lts-xenial
< 4.4.0-174.204~14.04.1
- ubuntu•linux-oem
< 4.15.0-1076.86
- ubuntu•linux-oem-osp1
< 5.0.0-1043.48
- ubuntu•linux-oracle
< 4.15.0-1035.38~16.04.1 | < 4.15.0-1035.39
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.4.0-1129.138 | < 4.15.0-1057.61 | all
- ubuntu•linux-raspi2-5.3
< 5.3.0-1019.21~18.04.1
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
all
- ubuntu•linux-snapdragon
< 4.4.0-1133.141 | < 4.15.0-1074.81
- linux•linux_kernel
< 5.4.14
References (13)
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.4.14
- https://github.com/torvalds/linux/commit/28d76df18f0ad5bcf5fa48510b225f0ed262a99b
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=28d76df18f0ad5bcf5fa48510b225f0ed262a99b
- https://security.netapp.com/advisory/ntap-20200608-0001/
- https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html
- https://lists.debian.org/debian-lts-announce/2020/06/msg00012.html
- https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html
- https://www.debian.org/security/2020/dsa-4698
- http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html
- https://ubuntu.com/security/CVE-2020-12652
- https://git.kernel.org/linus/28d76df18f0ad5bcf5fa48510b225f0ed262a99b
- https://www.cve.org/CVERecord?id=CVE-2020-12652
- https://security-tracker.debian.org/tracker/CVE-2020-12652