# ftrace: Fix potential warning in trace_printk_seq during ftrace_dump

CVE record · `CVE-2025-39813`

- **Identifiers:** `CVE-2025-39813`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 16 Sept 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 16 Sept 2025, 13:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `d769041f865330034131525ee6a7f72eb4af2a24 to before f299353e7ccbcc5c2ed8993c48fbe7609cbe729a` (git)
  - affected: `d769041f865330034131525ee6a7f72eb4af2a24 to before 5ab0ec206deb99eb3baf8f1d7602aeaa91dbcc85` (git)
  - affected: `d769041f865330034131525ee6a7f72eb4af2a24 to before a6f0f8873cc30fd4543b09adf03f7f51d293f0e6` (git)
  - affected: `d769041f865330034131525ee6a7f72eb4af2a24 to before e80ff23ba8bdb0f41a1afe2657078e4097d13a9a` (git)
  - affected: `d769041f865330034131525ee6a7f72eb4af2a24 to before 28c8fb7ae2ad27d81c8de3c4fe608c509f6a18aa` (git)
  - affected: `d769041f865330034131525ee6a7f72eb4af2a24 to before ced94e137e6cd5e79c65564841d3b7695d0f5fa3` (git)
  - affected: `d769041f865330034131525ee6a7f72eb4af2a24 to before fbd4cf7ee4db65ef36796769fe978e9eba6f0de4` (git)
  - affected: `d769041f865330034131525ee6a7f72eb4af2a24 to before 4013aef2ced9b756a410f50d12df9ebe6a883e4a` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.28`
  - unaffected: `before 2.6.28` (semver)
  - unaffected: `5.4.298 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.242 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.191 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.150 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.104 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.45 to 6.12.*, inclusive` (semver)
  - unaffected: `6.16.5 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel ftrace subsystem has a race in which calling ftrace_dump_one() while another process reads trace_pipe can trigger a WARN_ON_ONCE() in trace_printk_seq(), producing a kernel warning. The source gives few details on wider impact. Upgrade to a fixed kernel: 5.4.298, 5.10.242, 5.15.191, 6.1.150, or a later release in those series.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0013, the 2nd percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 16 Sept 2025, 13:00 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-39813)
- 16 Sept 2025, 13:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-39813)

## Sources

- [CVE List: CVE-2025-39813](https://www.cve.org/CVERecord?id=CVE-2025-39813)
- [NVD: CVE-2025-39813](https://nvd.nist.gov/vuln/detail/CVE-2025-39813)

### References from the CNA

- <https://git.kernel.org/stable/c/f299353e7ccbcc5c2ed8993c48fbe7609cbe729a>
- <https://git.kernel.org/stable/c/5ab0ec206deb99eb3baf8f1d7602aeaa91dbcc85>
- <https://git.kernel.org/stable/c/a6f0f8873cc30fd4543b09adf03f7f51d293f0e6>
- <https://git.kernel.org/stable/c/e80ff23ba8bdb0f41a1afe2657078e4097d13a9a>
- <https://git.kernel.org/stable/c/28c8fb7ae2ad27d81c8de3c4fe608c509f6a18aa>
- <https://git.kernel.org/stable/c/ced94e137e6cd5e79c65564841d3b7695d0f5fa3>
- <https://git.kernel.org/stable/c/fbd4cf7ee4db65ef36796769fe978e9eba6f0de4>
- <https://git.kernel.org/stable/c/4013aef2ced9b756a410f50d12df9ebe6a883e4a>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-39813>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-39813/>. Everything for agents: <https://agentprime.io/llms.txt>.
