CVE-2020-12652 json
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 lo…
published 2020-05-05 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-4951
- cvss
- 4.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
Summary
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."
Patch / fix
- linux linux_kernel 5.4.14
- linux Debian 14, Debian 13, Debian 12 5.4.19-1
debian advisories DEBIAN-CVE-2020-12652
- linux Ubuntu 16.04 LTS 4.4.0-174.204
- linux Ubuntu 18.04 LTS 4.15.0-91.92
- linux-aws Ubuntu 16.04 LTS 4.4.0-1102.113
- linux-aws Ubuntu 18.04 LTS 4.15.0-1063.67
- linux-gcp Ubuntu 16.04 LTS 4.15.0-1058.62
- linux-hwe Ubuntu 16.04 LTS 4.15.0-91.92~16.04.1
- linux-hwe Ubuntu 18.04 LTS 5.3.0-42.34~18.04.1
- linux-kvm Ubuntu 16.04 LTS 4.4.0-1066.73
ubuntu advisories UBUNTU-CVE-2020-12652
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Real Time Module 15 SP1 4.12.14-14.28.1
- kernel-syms-rt Real Time Module 15 SP1 4.12.14-14.28.1
- kernel-rt_debug Real Time Module 15 SP1 4.12.14-14.28.1
- kernel-source-rt Real Time Module 15 SP1 4.12.14-14.28.1
- kernel-rt SLE Real Time 12 SP5 4.12.14-10.13.1
- kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.13.1
- kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.13.1
- kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.13.1
suse advisories SUSE-SU-2020:2487-1SUSE-SU-2020:2478-1SUSE-SU-2020:2156-1SUSE-SU-2020:14442-1SUSE-SU-2020:1663-1SUSE-SU-2020:1605-1
- kernel-rt openSUSE Leap 15.2 5.3.18-lp152.3.5.1
- kernel-syms-rt openSUSE Leap 15.2 5.3.18-lp152.3.5.1
- kernel-rt_debug openSUSE Leap 15.2 5.3.18-lp152.3.5.1
- kernel-source-rt openSUSE Leap 15.2 5.3.18-lp152.3.5.1
- kernel-syms openSUSE Leap 15.1 4.12.14-lp151.28.52.1
- kernel-obs-qa openSUSE Leap 15.1 4.12.14-lp151.28.52.3
- kernel-source openSUSE Leap 15.1 4.12.14-lp151.28.52.1
- kernel-default openSUSE Leap 15.1 4.12.14-lp151.28.52.1
opensuse advisories openSUSE-SU-2021:0242-1openSUSE-SU-2020:0801-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-12652 updated cvss 4.1
kernel: race condition in __mptctl_ioctl function in drivers/message/fusion/mptctl.c allows local users to hold an incorrect lock during the ioctl operation
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 kernel, bpftool, kernel-rt, kernel-rt-kvm, kernel-rt-trace, kernel-rt-debug-kvm, +1 moreaffected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwareaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 7 perf, kernel, kernel-alt, python-perf, kernel-kdump, kernel-tools, +3 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.7 | AV:L/AC:M/Au:N/C:N/I:N/A:C |
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- Technology feeds
References
-
github.com
/torvalds/linux/commit/28d76df18f0ad5bcf5fa48510b225f0ed262a99b
patch, third-party-advisory
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=28d76df18f0ad5bcf5fa48510b225f0ed262a99b
patch, vendor-advisory
-
debian.org
/security/2020/dsa-4698
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-06/msg00022.html
vendor-advisory
-
cdn.kernel.org
/pub/linux/kernel/v5.x/ChangeLog-5.4.14
release-notes, vendor-advisory
- security.netapp.com /advisory/ntap-20200608-0001/
-
lists.debian.org
/debian-lts-announce/2020/06/msg00011.html
mailing-list
-
lists.debian.org
/debian-lts-announce/2020/06/msg00012.html
mailing-list
-
lists.debian.org
/debian-lts-announce/2020/06/msg00013.html
mailing-list
Sources
- CVE List CVE-2020-12652
- NVD CVE-2020-12652
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.