CVE-2024-42292
kobject_uevent: Fix OOB access within zap_modalias_env()
Check your servers for CVE-2024-42292
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-42292 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9b3fa47d4a76b1d606a396455f9bbeee083ef008, before 81a15d28f32af01493ae8c5457e0d55314a4167d affected from 9b3fa47d4a76b1d606a396455f9bbeee083ef008, before b59a5e86a3934f1b6a5bd1368902dbc79bdecc90 affected from 9b3fa47d4a76b1d606a396455f9bbeee083ef008, before 648d5490460d38436640da0812bf7f6351c150d2 affected from 9b3fa47d4a76b1d606a396455f9bbeee083ef008, before c5ee8adc8d98a49703320d13878ba2b923b142f5 affected from 9b3fa47d4a76b1d606a396455f9bbeee083ef008, before 68d63ace80b76395e7935687ecdb86421adc2168 affected from 9b3fa47d4a76b1d606a396455f9bbeee083ef008, before 57fe01d3d04276875c7e3a6dc763517fc05b8762 affected from 9b3fa47d4a76b1d606a396455f9bbeee083ef008, before d4663536754defff75ff1eca0aaebc41da165a8d affected from 9b3fa47d4a76b1d606a396455f9bbeee083ef008, before dd6e9894b451e7c85cceb8e9dc5432679a70e7dc
Other versions: unaffected
|
| Linux |
affected 4.15 unaffected before 4.15 unaffected from 4.19.320 up to and including 4.19.* unaffected from 5.4.282 up to and including 5.4.* unaffected from 5.10.224 up to and including 5.10.* unaffected from 5.15.165 up to and including 5.15.* unaffected from 6.1.103 up to and including 6.1.* unaffected from 6.6.44 up to and including 6.6.* unaffected from 6.10.3 up to and including 6.10.* unaffected 6.11 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-42292 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42292
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-42292
trivy image --scanners vuln IMAGE | grep CVE-2024-42292
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/81a15d28f32af01493ae8c5457e0d55314a4167d git.kernel.org
- https://git.kernel.org/stable/c/b59a5e86a3934f1b6a5bd1368902dbc79bdecc90 git.kernel.org
- https://git.kernel.org/stable/c/648d5490460d38436640da0812bf7f6351c150d2 git.kernel.org
- https://git.kernel.org/stable/c/c5ee8adc8d98a49703320d13878ba2b923b142f5 git.kernel.org
- https://git.kernel.org/stable/c/68d63ace80b76395e7935687ecdb86421adc2168 git.kernel.org
- https://git.kernel.org/stable/c/57fe01d3d04276875c7e3a6dc763517fc05b8762 git.kernel.org
- https://git.kernel.org/stable/c/d4663536754defff75ff1eca0aaebc41da165a8d git.kernel.org
- https://git.kernel.org/stable/c/dd6e9894b451e7c85cceb8e9dc5432679a70e7dc git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
Source: the record CVE-2024-42292 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse