Skip to main content
← All vulnerabilities
CVE-2023-54146

x86/kexec: Fix double-free of elf header buffer

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.15.87, 5.18, 5.19
None on Exploit-DB, Metasploit or GitHub

Summary

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().

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 5.15.46 · fixed in 5.15.87; From 5.17.14 · fixed in 5.18; From 5.18.3 · fixed in 5.19

  • Linux Linux

    5.19

References 5

git.kernel.org