Vulnerabilities · 2024 · Linux
CVE-2024-38585
Linux Kernel vulnerability
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
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/4e6f225aefeb712cdb870176b6621f02cf235b8c · Patch
- git.kernel.org/stable/c/5996b2b2dac739f2a27da13de8eee5b85b2550b3 · Patch
- git.kernel.org/stable/c/791f4641142e2aced85de082e5783b4fb0b977c2 · Patch
- git.kernel.org/stable/c/8019d3dd921f39a237a9fab6d2ce716bfac0f983 · Patch
- git.kernel.org/stable/c/f678c3c336559cf3255a32153e9a17c1be4e7c15 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-38585
- cve.org/CVERecord?id=CVE-2024-38585
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.