CVE-2024-36015·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ppdev: Add an error check in register_device In register_device, the return value of ida_simple_get is unchecked, in witch ida_simple_get will use an invalid index value. To address this issue, index should be checked after ida_simple_get. When the index value is abnormal, a warning message should be printed, the port should be dropped, and the value should be recorded.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.9.4
- Published
- 2024-05-29
Affected versions
From: 6.7
Until: 6.9.4
Fixed in: 6.9.4
How to fix this CVE
Update your Linux kernel to version 6.9.4 or later to patch the ppdev driver vulnerability. The ppdev module fails to validate the return value of ida_simple_get, which can lead to the use of invalid device indices and potential privilege escalation. Systems running kernel versions 6.7 through 6.9.3 should prioritize this update, particularly if the parallel port device driver is loaded or in use.
sudo dnf update kernel kernel-headers kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r — verify if it falls within 6.7 to 6.9.3 range
- Verify if ppdev module is loaded: lsmod | grep ppdev — if present, the vulnerability is exposed
- Review kernel messages for ppdev errors: sudo dmesg | grep -i ppdev — look for ida_simple_get or device registration failures
- After updating, confirm the fix: uname -r should show 6.9.4 or higher, and ppdev should load without errors in dmesg
FAQ
What is CVE-2024-36015?
This is a validation flaw in the Linux kernel's ppdev (parallel port device) driver where the error return value from ida_simple_get is not checked, potentially allowing an invalid device index to be used with local privilege escalation implications.
Is CVE-2024-36015 being actively exploited?
No, according to CISA KEV data, CVE-2024-36015 is not currently being actively exploited in the wild, and no public exploits are known to be available.
What versions of Kernel are affected by CVE-2024-36015?
Linux kernel versions 6.7 through 6.9.3 are affected. Version 6.9.4 and later include the fix.
How do I check if my server is vulnerable to CVE-2024-36015?
Run uname -r to check your kernel version — if it reports 6.7 to 6.9.3, you are vulnerable. Additionally, verify if ppdev is loaded with lsmod | grep ppdev.
Does Defensia detect CVE-2024-36015?
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-36015 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/5d5b24edad1107a2ffa99058f20f6aeeafeb5d39
- https://git.kernel.org/stable/c/65cd017d43f4319a56747d38308b0a24cf57299e
- https://git.kernel.org/stable/c/b65d0410b879af0295d22438a4a32012786d152a
- https://git.kernel.org/stable/c/b8c6b83cc3adff3ddf403c8c7063fe6d08b2b9d9
- https://git.kernel.org/stable/c/d32caf51379a4d71db03d3d4d7c22d27cdf7f68b
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-36015. Free for 1 server.
Get started free