What’s Vulnerable › Vulnerabilities

CVE-2024-38585: tools/nolibc/stdlib: fix memory error in realloc()

Description

In the Linux kernel, the following vulnerability has been resolved: tools/nolibc/stdlib: fix memory error in realloc() Pass user_p_len to memcpy() instead of heap->len to prevent realloc() from copying an extra sizeof(heap) bytes from beyond the allocated region.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.93, 6.6.33, 6.8.12, 6.9.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-38585 or the next vulnerability affects your stack