CVE-2023-54146
Description
In the Linux kernel, the following vulnerability has been resolved: x86/kexec: Fix double-free of elf header buffer After b3e34a47f989 ("x86/kexec: fix memory leak of elf header buffer"), freeing image->elf_headers in the error path of crash_load_segments() is not needed because kimage_file_post_load_cleanup() will take care of that later. And not clearing it could result in a double-free. Drop the superfluous vfree() call at the error path of crash_load_segments().
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2023-54146
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2023-54146.html
Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2024:9315
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rhel | 9 | fixed | |
| sles | affected | | |
| debian | bookworm | fixed | 6.1.7-1 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 6.1.7-1 |
| debian | sid | fixed | 6.1.7-1 |
| debian | trixie | fixed | 6.1.7-1 |
References
Verify integrity in audit chain (admin only). AS-IS.