CVE-2023-52576 Details
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.
A use-after-free vulnerability has been identified in the Linux kernel's handling of the kexec buffer for the Integrity Measurement Architecture (IMA). This issue arises because the function 'ima_free_kexec_buffer()' is called after the memory block allocator has been dismantled, leading to a potential use-after-free scenario in 'memblock_isolate_range()'. When the kernel is compiled with AddressSanitizer (KASAN) or Kernel Electric Fence (KFENCE), this use-after-free condition triggers a bug from the idle task, causing a kernel panic. The vulnerability affects the x86 architecture and has been addressed by modifying 'ima_free_kexec_buffer()' to use 'memblock_free_late()', preventing the use-after-free error.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The specific commit addressing this issue is '34cf99c250d5cd2530b93a57b0de31d3aaf8685b', which is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 24, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.13, < 6.1.56 >= 6.2, < 6.5.6 6.6 rc1 6.6 rc2 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 8, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Nov 1, 2024 | CVE Modified | CISA-ADP |
| May 28, 2024 | CVE Modified | kernel.org |
| May 14, 2024 | CVE Modified | kernel.org |
| Mar 2, 2024 | New CVE Received | kernel.org |