CVE-2023-52576
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
02/03/2024
Last modified:
08/04/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()<br />
<br />
The code calling ima_free_kexec_buffer() runs long after the memblock<br />
allocator has already been torn down, potentially resulting in a use<br />
after free in memblock_isolate_range().<br />
<br />
With KASAN or KFENCE, this use after free will result in a BUG<br />
from the idle task, and a subsequent kernel panic.<br />
<br />
Switch ima_free_kexec_buffer() over to memblock_free_late() to avoid<br />
that bug.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.13 (including) | 6.1.56 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.5.6 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- 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



