CVE-2023-54146
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().
Affected versions
Linux kernel versions
5.15.46,
5.17.14,
5.18.3,
5.19
and later are affected. Fixed in
5.15.87,
6.0.19,
6.1.5,
6.2
and their respective stable series.
References
The following references provide additional information about CVE-2023-54146 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4c71a552b97fb4f46eb300224434fe56fcf4f254
-
PatchKernel patch commithttps://git.kernel.org/stable/c/554a880a1fff46dd5a355dec21cd77d542a0ddf2
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5bd3c7abeb69fb4133418b846a1c6dc11313d6f0
Frequently asked questions
-
What is CVE-2023-54146?
CVE-2023-54146 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.15.46 onward and has been patched in 5.15.87, 6.0.19, 6.1.5 and others. CVE-2023-54146 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2023-54146?
Yes — CVE-2023-54146 has been patched. Fixed versions include 5.15.87, 6.0.19, 6.1.5 and others. If you are running Linux kernel 5.15.46 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-54146 actively exploited?
No — CVE-2023-54146 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.