{"id":"CVE-2024-38585","published":"2024-06-19T13:37:41Z","modified":"2026-05-11T20:19:34Z","title":"tools/nolibc/stdlib: fix memory error in realloc()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntools/nolibc/stdlib: fix memory error in realloc()\n\nPass user_p_len to memcpy() instead of heap->len to prevent realloc()\nfrom copying an extra sizeof(heap) bytes from beyond the allocated\nregion.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00316,"percentile":0.16992,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5996b2b2dac739f2a27da13de8eee5b85b2550b3","tags":[]},{"url":"https://git.kernel.org/stable/c/f678c3c336559cf3255a32153e9a17c1be4e7c15","tags":[]},{"url":"https://git.kernel.org/stable/c/8019d3dd921f39a237a9fab6d2ce716bfac0f983","tags":[]},{"url":"https://git.kernel.org/stable/c/4e6f225aefeb712cdb870176b6621f02cf235b8c","tags":[]},{"url":"https://git.kernel.org/stable/c/791f4641142e2aced85de082e5783b4fb0b977c2","tags":[]}],"priority":{"score":3.4,"factors":[{"name":"EPSS percentile","points":3.4}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0e0ff638400be8f497a35b51a4751fd823f6bd6a, < 5996b2b2dac739f2a27da13de8eee5b85b2550b3",">= 0e0ff638400be8f497a35b51a4751fd823f6bd6a, < f678c3c336559cf3255a32153e9a17c1be4e7c15",">= 0e0ff638400be8f497a35b51a4751fd823f6bd6a, < 8019d3dd921f39a237a9fab6d2ce716bfac0f983",">= 0e0ff638400be8f497a35b51a4751fd823f6bd6a, < 4e6f225aefeb712cdb870176b6621f02cf235b8c",">= 0e0ff638400be8f497a35b51a4751fd823f6bd6a, < 791f4641142e2aced85de082e5783b4fb0b977c2"]},{"vendor":"Linux","product":"Linux","versions":["5.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:13:53.564231Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-37448","exploited":false,"provenance":"source"}}