CVE-2024-42159·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Sanitise num_phys Information is stored in mr_sas_port->phy_mask, values larger then size of this field shouldn't be allowed.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.9.9
- Published
- 2024-07-30
Affected versions
From: 6.7
Until: 6.9.9
Fixed in: 6.9.9
How to fix this CVE
Update your Linux kernel to version 6.9.9 or later to resolve a memory validation issue in the mpi3mr SCSI driver that could allow privilege escalation. Systems running kernel versions 6.7 through 6.9.8 should prioritize this patch as it addresses improper bounds checking on physical port enumeration that could be exploited by local users with low privileges.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with 'uname -r' and compare against 6.9.9 — versions 6.7.x through 6.9.8 are vulnerable
- Step 2: Verify if mpi3mr module is loaded by running 'lsmod | grep mpi3mr' — if output is empty, the vulnerable component is not in use
- Step 3: Search system logs for mpi3mr errors using 'grep -i "mpi3mr" /var/log/kern.log /var/log/syslog' to identify any anomalous driver behavior
- Step 4: After patching, reboot the system and run 'uname -r' again to confirm kernel version is 6.9.9 or later
FAQ
What is CVE-2024-42159?
CVE-2024-42159 is a local privilege escalation vulnerability in the Linux kernel's mpi3mr SCSI driver where the number of physical ports is not properly validated against the internal bitmask storage capacity, allowing a local attacker with low privileges to corrupt kernel memory.
Is CVE-2024-42159 being actively exploited?
No, this vulnerability is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are available.
What versions of Kernel are affected by CVE-2024-42159?
Linux kernel versions 6.7 through 6.9.8 are affected; version 6.9.9 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-42159?
Run 'uname -r' to check your kernel version — if it shows 6.7.x through 6.9.8, your system is vulnerable. Additionally, verify mpi3mr is in use with 'lsmod | grep mpi3mr'.
Does Defensia detect CVE-2024-42159?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-42159 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/3668651def2c1622904e58b0280ee93121f2b10b
- https://git.kernel.org/stable/c/586b41060113ae43032ec6c4a16d518cef5da6e0
- https://git.kernel.org/stable/c/b869ec89d2ee923d46608b76e54c006680c9b4df
- https://git.kernel.org/stable/c/c8707901b53a48106d7501bdbd0350cefaefa4cf
- https://git.kernel.org/stable/c/3668651def2c1622904e58b0280ee93121f2b10b
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-42159. Free for 1 server.
Get started free