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-39813

4.7 · MEDIUM
Published Sep 16, 2025 linux CWE-362 EPSS 0.12% (2th pctl)

Overview

CVE-2025-39813 is a medium-severity vulnerability affecting linux linux_kernel. It was published on September 16, 2025 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, 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:

ftrace: Fix potential warning in trace_printk_seq during ftrace_dump

When calling ftrace_dump_one() concurrently with reading trace_pipe,

a WARN_ON_ONCE() in trace_printk_seq() can be triggered due to a race

condition.

The issue occurs because:

CPU0 (ftrace_dump) CPU1 (reader)

echo z > /proc/sysrq-trigger

!trace_empty(&iter)

trace_iterator_reset(&iter) <- len = size = 0

cat /sys/kernel/tracing/trace_pipe

trace_find_next_entry_inc(&iter)

__find_next_entry

ring_buffer_empty_cpu <- all empty

return NULL

trace_printk_seq(&iter.seq)

WARN_ON_ONCE(s->seq.len >= s->seq.size)

In the context between trace_empty() and trace_find_next_entry_inc()

during ftrace_dump, the ring buffer data was consumed by other readers.

This caused trace_find_next_entry_inc to return NULL, failing to populate

`iter.seq`. At this point, due to the prior trace

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 >= 2.6.28, < 5.4.298 Affected

Frequently Asked Questions

What is CVE-2025-39813?

CVE-2025-39813 is a medium-severity vulnerability affecting linux linux_kernel. It was published on September 16, 2025 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2025-39813?

This vulnerability has a CVSS 3.1 base score of 4.7, 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-39813?

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-39813?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-39813 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.