CVE-2020-12652
Linux Kernel vulnerability analysis and mitigation

Overview

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. The vulnerability was discovered by Tom Hatskevich and assigned CVE-2020-12652 (Kernel Git).

Technical details

The vulnerability occurs when the ioctl handler fetches a parameter from user memory twice, creating a race condition which could result in incorrect locking of internal data structures. Specifically, the code takes a lock based on one lookup of "iocp", but then user memory changes and looks up "iocp" again with a different value, resulting in holding the incorrect lock (Debian LTS).

Impact

A local user permitted to access /dev/mptctl could use this vulnerability to cause a denial of service (crash or memory corruption) or achieve privilege escalation. However, the security impact is somewhat limited since these operations are all privileged and root already has significant system access (Kernel Git).

Exploitability

The vulnerability requires local access and high privileges to exploit. It has a CVSS v3.1 Base Score of 6.4 (Medium) with vector: AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H (NetApp Advisory).

Mitigation and workarounds

The vulnerability was fixed in Linux kernel version 5.4.14 by modifying the code to pass the "iocp" pointer to the functions to avoid the second lookup. This fix removed approximately 100 lines of code from the driver (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74726NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 22, 2026
CVE-2026-74719NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 22, 2026
CVE-2026-74717NONEN/A
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management