
Cloud Vulnerability DB
A community-led vulnerabilities database
In the Linux kernel, a vulnerability (CVE-2024-36890) was discovered in the memory management subsystem, specifically related to the handling of error pointers in the slab allocator. The issue was identified and resolved in May 2024, affecting the Linux kernel's memory management functionality (Kernel Git).
The vulnerability occurs when an automatically freed allocation is an error pointer, which can lead to a system crash. The specific issue is demonstrated in the wm831x_gpio_dbg_show() function where a label allocation using __free(kfree) could trigger a crash if the allocation returns an error pointer. The auto cleanup function did not properly check for error pointers before attempting to free memory (Kernel Git).
When exploited, this vulnerability could cause the system to crash when certain memory allocation error conditions occur. This primarily affects system stability and availability (NVD).
The vulnerability requires specific conditions where memory allocation errors occur in conjunction with the automatic cleanup functionality. It primarily manifests in error handling paths during memory allocation operations (Kernel Git).
The issue has been fixed by modifying the __free(kfree) function to properly check for error pointers using IS_ERR_OR_NULL before attempting to free memory. The fix has been implemented in various Linux kernel versions, including Ubuntu 24.04 LTS (noble) with kernel version 6.8.0-40.40 (Ubuntu).
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."