
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-42292 is a vulnerability in the Linux kernel's kobject_uevent subsystem, specifically in the zap_modalias_env() function. The vulnerability was discovered and reported on August 17, 2024. The issue affects the Linux kernel's handling of MODALIAS variables in the uevent environment, where incorrect size calculation can lead to out-of-bounds (OOB) memory access when the MODALIAS variable is not the last one in the environment parameter (NVD).
The vulnerability stems from a calculation error in the zap_modalias_env() function where it incorrectly calculates the size of memory block to move. When the MODALIAS variable is not the last one within its @env parameter, the function uses an incorrect size calculation for memmove operation, potentially causing out-of-bounds memory access. The fix involves correcting the size calculation for the memmove operation to properly handle the memory block movement (Kernel Commit).
The vulnerability can result in out-of-bounds memory access in the Linux kernel, which could potentially lead to system instability or security implications. The issue affects various Linux distributions and versions that use the affected kernel code (Ubuntu Security).
The vulnerability requires the MODALIAS variable to not be the last one in the environment parameter for the issue to be triggered. No active exploits have been reported in the wild at the time of disclosure.
The issue has been fixed in multiple Linux kernel versions through a patch that corrects the size calculation in the zap_modalias_env() function. The fix has been backported to various stable kernel versions and is available through distribution updates. Ubuntu has released fixes for multiple versions including 24.04 LTS (noble), 22.04 LTS (jammy), and 20.04 LTS (focal) (Ubuntu Security).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."