CVE
CVE-2024-38585
CVE-2024-38585HIGH 7.1EPSS 14%
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 6.9, < 6.9.3Fixed in 6.9.3
- ≥ 6.7, < 6.8.12Fixed in 6.8.12
- ≥ 6.2, < 6.6.33Fixed in 6.6.33
- ≥ 5.19, < 6.1.93Fixed in 6.1.93
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- 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
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.