CVE-2024-38585

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

17 Sep 2025, 21:06

Type Values Removed Values Added
CWE CWE-125
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/4e6f225aefeb712cdb870176b6621f02cf235b8c - () https://git.kernel.org/stable/c/4e6f225aefeb712cdb870176b6621f02cf235b8c - Patch
References () https://git.kernel.org/stable/c/5996b2b2dac739f2a27da13de8eee5b85b2550b3 - () https://git.kernel.org/stable/c/5996b2b2dac739f2a27da13de8eee5b85b2550b3 - Patch
References () https://git.kernel.org/stable/c/791f4641142e2aced85de082e5783b4fb0b977c2 - () https://git.kernel.org/stable/c/791f4641142e2aced85de082e5783b4fb0b977c2 - Patch
References () https://git.kernel.org/stable/c/8019d3dd921f39a237a9fab6d2ce716bfac0f983 - () https://git.kernel.org/stable/c/8019d3dd921f39a237a9fab6d2ce716bfac0f983 - Patch
References () https://git.kernel.org/stable/c/f678c3c336559cf3255a32153e9a17c1be4e7c15 - () https://git.kernel.org/stable/c/f678c3c336559cf3255a32153e9a17c1be4e7c15 - Patch

Information

Published : 2024-06-19 14:15

Updated : 2025-09-17 21:06


NVD link : CVE-2024-38585

Mitre link : CVE-2024-38585

CVE.ORG link : CVE-2024-38585


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read