
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-42115 addresses a potential illegal address access vulnerability in the jffs2_free_inode function of the Linux kernel's JFFS2 file system. The vulnerability was discovered during stress testing of the JFFS2 file system and was disclosed in July 2024 (Kernel Git).
The vulnerability occurs due to improper initialization of the target field in the jffs_inode_info structure. During memory testing, all variables in the structure except the first member 'sem' were found to contain the value 5a5a5a5a, indicating uninitialized memory. The issue arises because while the sem variable is initialized in jffs2_i_init_once, other members are initialized in jffs2_init_inode_info. In concurrent high-pressure scenarios, iget_locked may trigger the destroy_inode process before proper initialization, leading to potential illegal address access (Kernel Git).
When exploited, this vulnerability can cause a kernel panic due to illegal address access, resulting in a system crash. This was demonstrated during testing when attempting to access the virtual address 0069696969696948, which triggered a kernel paging request error (Kernel Git).
The vulnerability can be triggered under high-pressure concurrent scenarios when using the JFFS2 file system. The issue manifests through the jffs2_free_inode function when attempting to free an improperly initialized inode structure (Kernel Git).
The vulnerability has been patched by initializing the target field to NULL in the jffs2_i_init_once function. Users should update to the patched versions of the Linux kernel that include this fix (Kernel Git).
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."