5.5medium
x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 5.13 before 6.1.56, from 6.2 before 6.5.6, 6.6 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: x86/mm, kexec, ima: utilice memblock_free_late() desde ima_free_kexec_buffer(). El código que llama a ima_free_kexec_buffer() se ejecuta mucho después de que el asignador de memblock ya se haya eliminado, lo que podría provocar un Úselo después de forma gratuita en memblock_isolate_range(). Con KASAN o KFENCE, este Use After Free resultará en un ERROR de la tarea inactiva y un posterior pánico en el kernel. Cambie ima_free_kexec_buffer() a memblock_free_late() para evitar ese error.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52576 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-52576 changed 2026-06-17 | Public domain |