CVEvulnerability
CVE-2024-38585
7.1 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2024-06-19
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Weaknesses
- CWE-125
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 configurations
• linux linux kernel (>= 5.19 < 6.1.93)
• linux linux kernel (>= 6.2 < 6.6.33)
• linux linux kernel (>= 6.7 < 6.8.12)
• linux linux kernel (>= 6.9 < 6.9.3)
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
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
- 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