{"id":"CVE-2023-52576","aliases":["CVE-2023-52576"],"related":[],"kind":"vulnerability","state":"published","title":"x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-03-02T21:59:44.545Z","modified":"2026-06-17T06:43:03.870Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"fee3ff99bc67604fba77f19da0106f3ec52b1956","fixed":"eef16bfdb212da60f5144689f2967fb25b051a2b","status":"affected"},{"type":"git","introduced":"fee3ff99bc67604fba77f19da0106f3ec52b1956","fixed":"d2dfbc0e3b7a04c2d941421a958dc31c897fb204","status":"affected"},{"type":"git","introduced":"fee3ff99bc67604fba77f19da0106f3ec52b1956","fixed":"34cf99c250d5cd2530b93a57b0de31d3aaf8685b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"6.1.56","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.5.6","lastAffected":"6.5.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.6","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.13","fixed":"6.1.56"},{"status":"affected","introduced":"6.2","fixed":"6.5.6"},{"status":"affected","version":"6.6"},{"status":"affected","version":"6.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/eef16bfdb212da60f5144689f2967fb25b051a2b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2dfbc0e3b7a04c2d941421a958dc31c897fb204","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34cf99c250d5cd2530b93a57b0de31d3aaf8685b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-24T14:52:41.445Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52576","url":"https://www.cve.org/CVERecord?id=CVE-2023-52576","licence":"CVE Terms of Use","modified":"2026-05-11T19:29:35.497Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52576","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52576","licence":"Public domain","modified":"2026-06-17T06:43:03.870Z"}],"updatedAt":"2026-11-25T22:58:33.180Z","epss":{"score":0.00219,"percentile":0.13148,"date":"2026-12-01T12:00:22.000Z"}}