CVEvulnerability
CVE-2023-52576
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-03-02
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-416
Description
In the Linux kernel, the following vulnerability has been resolved:
x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()
The code calling ima_free_kexec_buffer() runs long after the memblock
allocator has already been torn down, potentially resulting in a use
after free in memblock_isolate_range().
With KASAN or KFENCE, this use after free will result in a BUG
from the idle task, and a subsequent kernel panic.
Switch ima_free_kexec_buffer() over to memblock_free_late() to avoid
that bug.
Affected configurations
• linux linux kernel (>= 5.13 < 6.1.56)
• linux linux kernel (>= 6.2 < 6.5.6)
• linux linux kernel 6.6
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://git.kernel.org/stable/c/34cf99c250d5cd2530b93a57b0de31d3aaf8685b Patch
- https://git.kernel.org/stable/c/d2dfbc0e3b7a04c2d941421a958dc31c897fb204 Patch
- https://git.kernel.org/stable/c/eef16bfdb212da60f5144689f2967fb25b051a2b Patch
- https://git.kernel.org/stable/c/34cf99c250d5cd2530b93a57b0de31d3aaf8685b Patch
- https://git.kernel.org/stable/c/d2dfbc0e3b7a04c2d941421a958dc31c897fb204 Patch
- https://git.kernel.org/stable/c/eef16bfdb212da60f5144689f2967fb25b051a2b Patch