Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-39904

5.5 · MEDIUM
Published Oct 1, 2025 linux CWE-908 EPSS 0.12% (2th pctl)

Overview

CVE-2025-39904 is a medium-severity vulnerability affecting linux linux_kernel. It was published on October 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Discussion

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.16, < 6.16.8 Affected

Frequently Asked Questions

What is CVE-2025-39904?

CVE-2025-39904 is a medium-severity vulnerability affecting linux linux_kernel. It was published on October 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-39904?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-39904?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-39904?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-39904 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.