CVE-2024-42292·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: kobject_uevent: Fix OOB access within zap_modalias_env() zap_modalias_env() wrongly calculates size of memory block to move, so will cause OOB memory access issue if variable MODALIAS is not the last one within its @env parameter, fixed by correcting size to memmove.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.10.3
- Published
- 2024-08-17
Affected versions
From: 6.7
Until: 6.10.3
Fixed in: 6.10.3
How to fix this CVE
Update your Linux kernel to version 6.10.3 or later to address a memory access vulnerability in the kobject_uevent subsystem. This issue affects kernels from 6.7 through 6.10.2 and can cause kernel crashes or undefined behavior when environment variable processing occurs during device event notifications. Prioritize this update for systems that frequently handle hardware hotplug events or udev operations.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r — compare against the affected range 6.7.x through 6.10.2
- Verify if your system actively uses udev and hardware hotplug events: grep -r 'MODALIAS' /sys/devices/ | head -5
- Search kernel logs for memory access errors related to uevent processing: sudo dmesg | grep -i 'uevent\|oob\|memory'
- Confirm patched version is running after update: uname -r should show 6.10.3 or higher
FAQ
What is CVE-2024-42292?
This vulnerability exists in the Linux kernel's uevent handling code, where incorrect memory size calculations during MODALIAS variable removal can trigger out-of-bounds memory access when processing device events with multiple environment variables.
Is CVE-2024-42292 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-42292?
Linux kernel versions 6.7.0 through 6.10.2 are vulnerable; version 6.10.3 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-42292?
Run `uname -r` to obtain your kernel version and compare it against the affected range; if your version is between 6.7 and 6.10.2 (inclusive), your system is vulnerable.
Does Defensia detect CVE-2024-42292?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-42292 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/57fe01d3d04276875c7e3a6dc763517fc05b8762
- https://git.kernel.org/stable/c/648d5490460d38436640da0812bf7f6351c150d2
- https://git.kernel.org/stable/c/68d63ace80b76395e7935687ecdb86421adc2168
- https://git.kernel.org/stable/c/81a15d28f32af01493ae8c5457e0d55314a4167d
- https://git.kernel.org/stable/c/b59a5e86a3934f1b6a5bd1368902dbc79bdecc90
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-42292. Free for 1 server.
Get started free