
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-38585 is a memory error vulnerability discovered in the Linux kernel's tools/nolibc/stdlib implementation of realloc(). The vulnerability was disclosed on June 19, 2024, and affects the memory management functionality in the nolibc stdlib implementation (NVD).
The vulnerability exists in the realloc() function implementation where memcpy() was incorrectly using heap->len instead of userplen as the size parameter. This caused the function to copy an extra sizeof(heap) bytes from beyond the allocated region. The issue was fixed by modifying the memcpy() call to use the correct userplen parameter (Kernel Commit).
The vulnerability could potentially lead to memory corruption or information disclosure due to copying memory beyond the intended allocation boundaries. This affects the nolibc stdlib implementation used in the Linux kernel's tooling (Ubuntu).
The issue has been fixed in multiple Linux kernel versions, including 6.8.0-40.40 for Ubuntu 24.04 LTS and various other distribution-specific kernel versions. Users should update their systems to the patched versions. The fix involves a one-line change to use the correct length parameter in the realloc() implementation (Ubuntu Security).
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."