7.1high
tools/nolibc/stdlib: fix memory error in realloc()
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.23% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 0e0ff638400be8f497a35b51a4751fd823f6bd6a before 5996b2b2dac739f2a27da13de8eee5b85b2550b3, from 0e0ff638400be8f497a35b51a4751fd823f6bd6a before f678c3c336559cf3255a32153e9a17c1be4e7c15, from 0e0ff638400be8f497a35b51a4751fd823f6bd6a before 8019d3dd921f39a237a9fab6d2ce716bfac0f983, from 0e0ff638400be8f497a35b51a4751fd823f6bd6a before 4e6f225aefeb712cdb870176b6621f02cf235b8c, from 0e0ff638400be8f497a35b51a4751fd823f6bd6a before 791f4641142e2aced85de082e5783b4fb0b977c2, 5.19 Not affected: before 5.19, from 6.1.93 up to 6.1.*, from 6.6.33 up to 6.6.*, from 6.8.12 up to 6.8.*, from 6.9.3 up to 6.9.*, from 6.10 up to * | CVE List |
| linux linux_kernel | from 5.19 before 6.1.93, from 6.2 before 6.6.33, from 6.7 before 6.8.12, from 6.9 before 6.9.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tools/nolibc/stdlib: corrige el error de memoria en realloc() Pase user_p_len a memcpy() en lugar de heap->len para evitar que realloc() copie un tamaño extra de(heap) bytes más allá de la región asignada.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-38585 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-38585 changed 2026-06-17 | Public domain |