CVE-2023-52576

Source
https://cve.org/CVERecord?id=CVE-2023-52576
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52576.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52576
Downstream
Related
Published
2024-03-02T21:59:44.545Z
Modified
2026-03-20T12:22:24.732970Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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:

x86/mm, kexec, ima: Use memblockfreelate() from imafreekexec_buffer()

The code calling imafreekexecbuffer() runs long after the memblock allocator has already been torn down, potentially resulting in a use after free in memblockisolate_range().

With KASAN or KFENCE, this use after free will result in a BUG from the idle task, and a subsequent kernel panic.

Switch imafreekexecbuffer() over to memblockfree_late() to avoid that bug.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52576.json"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2023-52576.json"