Kernel panic via post-teardown memblock free
Published Mar 2, 2024 · Updated May 11, 2026
Use-after-free in the Linux kernel allows local users to trigger a kernel panic during kexec cleanup of an IMA buffer. The ima_free_kexec_buffer() path calls memblock_free() long after allocator teardown, so memblock_isolate_range() accesses freed state. Low-privileged local access and a kexec path with an IMA buffer are required; KASAN or KFENCE converts the fault into an idle-task BUG and kernel panic.
Summary
What happened
Use-after-free in the Linux kernel allows local users to trigger a kernel panic during kexec cleanup of an IMA buffer. The ima_free_kexec_buffer() path calls memblock_free() long after allocator teardown, so memblock_isolate_range() accesses freed state. Low-privileged local access and a kexec path with an IMA buffer are required; KASAN or KFENCE converts the fault into an idle-task BUG and kernel panic.
The record
- CVE
- CVE-2023-52576
- Published
- Mar 2, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 2, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.13
- Affected versionversion=fee3ff99bc67604fba77f19da0106f3ec52b1956 <34cf99c250d5cd2530b93a57b0de31d3aaf8685b
- Affected versionversion=fee3ff99bc67604fba77f19da0106f3ec52b1956 <d2dfbc0e3b7a04c2d941421a958dc31c897fb204
- Affected versionversion=fee3ff99bc67604fba77f19da0106f3ec52b1956 <eef16bfdb212da60f5144689f2967fb25b051a2b
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo