CVE-2023-54146

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

published December 24, 2025

CVSS
—
EPSS
0%
Percentile
9.2
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00199 · 9.2th percentile
Published
2025-12-24T13:06Z
EPSS history
Timeline
  • 24 DEC 13:06Z
    x86/kexec: Fix double-free of elf header buffer
    cvelistv5