CVE-2024-38585
HIGH 7.1CVSS 3.1In 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.
- Published
- 19 Jun 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-125
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.19, < 6.1.93 | 6.1.93 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.33 | 6.6.33 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.8.12 | 6.8.12 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.9, < 6.9.3 | 6.9.3 |
References
- https://git.kernel.org/stable/c/4e6f225aefeb712cdb870176b6621f02cf235b8c · Patch
- https://git.kernel.org/stable/c/5996b2b2dac739f2a27da13de8eee5b85b2550b3 · Patch
- https://git.kernel.org/stable/c/791f4641142e2aced85de082e5783b4fb0b977c2 · Patch
- https://git.kernel.org/stable/c/8019d3dd921f39a237a9fab6d2ce716bfac0f983 · Patch
- https://git.kernel.org/stable/c/f678c3c336559cf3255a32153e9a17c1be4e7c15 · Patch
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 19 Jun 2024)