{"id":"CVE-2023-52576","summary":"x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()\n\nThe code calling ima_free_kexec_buffer() runs long after the memblock\nallocator has already been torn down, potentially resulting in a use\nafter free in memblock_isolate_range().\n\nWith KASAN or KFENCE, this use after free will result in a BUG\nfrom the idle task, and a subsequent kernel panic.\n\nSwitch ima_free_kexec_buffer() over to memblock_free_late() to avoid\nthat bug.","modified":"2026-04-02T09:43:02.081153Z","published":"2024-03-02T21:59:44.545Z","related":["SUSE-SU-2024:1320-1","SUSE-SU-2024:1321-1","SUSE-SU-2024:1466-1","SUSE-SU-2024:1480-1","SUSE-SU-2024:1490-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52576.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/34cf99c250d5cd2530b93a57b0de31d3aaf8685b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d2dfbc0e3b7a04c2d941421a958dc31c897fb204"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eef16bfdb212da60f5144689f2967fb25b051a2b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52576.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52576"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fee3ff99bc67604fba77f19da0106f3ec52b1956"},{"fixed":"eef16bfdb212da60f5144689f2967fb25b051a2b"},{"fixed":"d2dfbc0e3b7a04c2d941421a958dc31c897fb204"},{"fixed":"34cf99c250d5cd2530b93a57b0de31d3aaf8685b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52576.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}