# CVE-2023-52576: x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-03-02T21:59:44.545Z
- Modified: 2026-06-17T06:43:03.870Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fee3ff99bc67604fba77f19da0106f3ec52b1956 before eef16bfdb212da60f5144689f2967fb25b051a2b; from fee3ff99bc67604fba77f19da0106f3ec52b1956 before d2dfbc0e3b7a04c2d941421a958dc31c897fb204; from fee3ff99bc67604fba77f19da0106f3ec52b1956 before 34cf99c250d5cd2530b93a57b0de31d3aaf8685b; 5.13 (not affected: before 5.13; from 6.1.56 up to 6.1.*; from 6.5.6 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 5.13 before 6.1.56; from 6.2 before 6.5.6; 6.6

## References

- <https://git.kernel.org/stable/c/eef16bfdb212da60f5144689f2967fb25b051a2b> (patch)
- <https://git.kernel.org/stable/c/d2dfbc0e3b7a04c2d941421a958dc31c897fb204> (patch)
- <https://git.kernel.org/stable/c/34cf99c250d5cd2530b93a57b0de31d3aaf8685b> (patch)

## Sources

- CVE List: [CVE-2023-52576](https://www.cve.org/CVERecord?id=CVE-2023-52576), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52576](https://nvd.nist.gov/vuln/detail/CVE-2023-52576), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52576 · Whole record: https://cve.day/CVE-2023-52576.json · Rebuilt by cve.day 2026-11-25T22:58:33.180Z
