# CVE-2025-39904: linux: In the Linux kernel, the following vulnerability has been resolved:  arm64: kexec: initialize kexec_buf struct in loa...

CVE-2025-39904 is fixed in linux on 1 platform by DEBIAN-CVE-2025-39904 (version 6.16.8-1), released October 1, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-39904
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0013
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 1, 2025

## Description

In the Linux kernel, the following vulnerability has been resolved:  arm64: kexec: initialize kexec_buf struct in load_other_segments()  Patch series "kexec: Fix invalid field access".  The kexec_buf structure was previously declared without initialization.  commit bf454ec31add ("kexec_file: allow to place kexec_buf randomly") added a field that is always read but not consistently populated by all architectures.  This un-initialized field will contain garbage.  This is also triggering a UBSAN warning when the uninitialized data was accessed:  	------------[ cut here ]------------ 	UBSAN: invalid-load in ./include/linux/kexec.h:210:10 	load of value 252 is not a valid value for type '_Bool'  Zero-initializing kexec_buf at declaration ensures all fields are cleanly set, preventing future instances of uninitialized memory being used.  An initial fix was already landed for arm64[0], and this patchset fixes the problem on the remaining arm64 code and on riscv, as raised by Mark.  Discussions about this problem could be found at[1][2].   This patch (of 3):  The kexec_buf structure was previously declared without initialization. commit bf454ec31add ("kexec_file: allow to place kexec_buf randomly") added a field that is always read but not consistently populated by all architectures. This un-initialized field will contain garbage.  This is also triggering a UBSAN warning when the uninitialized data was accessed:  	------------[ cut here ]------------ 	UBSAN: invalid-load in ./include/linux/kexec.h:210:10 	load of value 252 is not a valid value for type '_Bool'  Zero-initializing kexec_buf at declaration ensures all fields are cleanly set, preventing future instances of uninitialized memory being used.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 14 | 6.16.8-1 | [DEBIAN-CVE-2025-39904](https://patchblox.com/security/data/fix/linux/debian-cve-2025-39904.md) | Oct 1, 2025 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
