# CVE-2026-99594: arm64: kexec_file: Fix elf_headers memory leak in retry loop

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-11-20T05:49:21.669Z
- Modified: 2026-11-23T08:18:01.063Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

arm64: kexec_file: Fix elf_headers memory leak in retry loop

A retry allocates new elf headers and overwrites image->elf_headers,
leaking the previous buffer.

Free it before assigning.

[catalin.marinas@arm.com: drop the redundant NULL check before vfree()]

(As written by CVE List.)

## Affected

- Linux Linux: from 108aa503657ee2fe8aa071dc620d96372c252ecd before cda1faa5e63e721b76cab0125e6c6aec5dd4597d; from 108aa503657ee2fe8aa071dc620d96372c252ecd before 83f4a7a6d0ed07374b80d963abc6a4e06661cb16; from 108aa503657ee2fe8aa071dc620d96372c252ecd before 597f4f44256bdafee119e5535fbb18d0b8624bd6; from 108aa503657ee2fe8aa071dc620d96372c252ecd before 56dddd2c024dd7f627a95c77babe8f0188ac5948; from 108aa503657ee2fe8aa071dc620d96372c252ecd before 6bbf156e8ec4468d3b9a3caad891c9ca43a9cab7; from 108aa503657ee2fe8aa071dc620d96372c252ecd before b784e4391fe79e74f989e997b9a0c2a9c337dbe6; from 108aa503657ee2fe8aa071dc620d96372c252ecd before f118ee71df3a2d3c54d57cfbe3643a9a29b83128; from 108aa503657ee2fe8aa071dc620d96372c252ecd before ac302aea3d824ccc99f29b8e499c365cb9a684a9; 950fd0db5dbfc2f8e1c89c7c19c65daf2684ad9e; from 5.9.9 before 5.10; 5.10 (not affected: before 5.10; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <https://git.kernel.org/stable/c/cda1faa5e63e721b76cab0125e6c6aec5dd4597d>
- <https://git.kernel.org/stable/c/83f4a7a6d0ed07374b80d963abc6a4e06661cb16>
- <https://git.kernel.org/stable/c/597f4f44256bdafee119e5535fbb18d0b8624bd6>
- <https://git.kernel.org/stable/c/56dddd2c024dd7f627a95c77babe8f0188ac5948>
- <https://git.kernel.org/stable/c/6bbf156e8ec4468d3b9a3caad891c9ca43a9cab7>
- <https://git.kernel.org/stable/c/b784e4391fe79e74f989e997b9a0c2a9c337dbe6>
- <https://git.kernel.org/stable/c/f118ee71df3a2d3c54d57cfbe3643a9a29b83128>
- <https://git.kernel.org/stable/c/ac302aea3d824ccc99f29b8e499c365cb9a684a9>

## Sources

- CVE List: [CVE-2026-99594](https://www.cve.org/CVERecord?id=CVE-2026-99594), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99594](https://nvd.nist.gov/vuln/detail/CVE-2026-99594), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99594 · Whole record: https://cve.day/CVE-2026-99594.json · Rebuilt by cve.day 2026-11-25T22:59:52.273Z
