What’s Vulnerable › Vulnerabilities
CVE-2023-52576: x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-02 · updated 2026-06-17
- Weakness: 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 products
- Linux kernel: from 5.13 before 6.1.56; from 6.2 before 6.5.6; 6.6-rc1, 6.6-rc2 — fixed in 6.1.56, 6.5.6
How to fix
Upgrade to a fixed version: Linux kernel 6.1.56, 6.5.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/34cf99c250d5cd2530b93a57b0de31d3aaf8685b
- https://git.kernel.org/stable/c/d2dfbc0e3b7a04c2d941421a958dc31c897fb204
- https://git.kernel.org/stable/c/eef16bfdb212da60f5144689f2967fb25b051a2b
- https://git.kernel.org/stable/c/34cf99c250d5cd2530b93a57b0de31d3aaf8685b
- https://git.kernel.org/stable/c/d2dfbc0e3b7a04c2d941421a958dc31c897fb204
- https://git.kernel.org/stable/c/eef16bfdb212da60f5144689f2967fb25b051a2b
Get alerted when CVE-2023-52576 or the next vulnerability affects your stack