CVE-2025-39813: ftrace: Fix potential warning in trace_printk_seq during ftrace_dump
Noroxi assessment
Priority: Monitor (action score 18/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.12% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: Linux Linux 28c8fb7ae2ad27d81c8de3c4fe608c509f6a18aa, 4013aef2ced9b756a410f50d12df9ebe6a883e4a, 5ab0ec206deb99eb3baf8f1d7602aeaa91dbcc85; azl3 kernel 6.6.96.2-2 on Azure Linux 3.0 6.6.104.2-1; cbl2 kernel 5.15.186.1-1 on CBL Mariner 2.0 5.15.200.1-1.
Low priority for now. Upgrade to Linux Linux 28c8fb7ae2ad27d81c8de3c4fe608c509f6a18aa, 4013aef2ced9b756a410f50d12df9ebe6a883e4a, 5ab0ec206deb99eb3baf8f1d7602aeaa91dbcc85; azl3 kernel 6.6.96.2-2 on Azure Linux 3.0 6.6.104.2-1; cbl2 kernel 5.15.186.1-1 on CBL Mariner 2.0 5.15.200.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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_iterator_reset, both `iter.seq.len` and `iter.seq.size` were set to 0. Since they are equal, the WARN_ON_ONCE condition is triggered. Move the trace_printk_seq() into the if block that checks to make sure the return value of trace_find_next_entry_inc() is non-NULL in ftrace_dump_one(), ensuring the 'iter.seq' is properly populated before subsequent operations.
- Published
- Sep 16, 2025
- Updated
- Oct 19, 2026
- EPSS
- 0.1% · 1th percentile
- CWE
- CWE-362
Report tools
Action score
18
Monitor
Low priority for now.
- CVSS
- 18 / 40 · 4.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux11.0
- linux linux kernel5.5 and later · before 5.10.242
- linux linux kernel5.11 and later · before 5.15.191
- linux linux kernel5.16 and later · before 6.1.150
- linux linux kernel2.6.28 and later · before 5.4.298
- linux linux kernel6.7 and later · before 6.12.45
- linux linux kernel6.13 and later · before 6.16.5
- linux linux kernel6.2 and later · before 6.6.104
- linux linux kernel6.17
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.28affected
- d769041f865330034131525ee6a7f72eb4af2a24 and later · before f299353e7ccbcc5c2ed8993c48fbe7609cbe729aaffected · git
- d769041f865330034131525ee6a7f72eb4af2a24 and later · before 5ab0ec206deb99eb3baf8f1d7602aeaa91dbcc85affected · git
- d769041f865330034131525ee6a7f72eb4af2a24 and later · before a6f0f8873cc30fd4543b09adf03f7f51d293f0e6affected · git
- d769041f865330034131525ee6a7f72eb4af2a24 and later · before e80ff23ba8bdb0f41a1afe2657078e4097d13a9aaffected · git
- d769041f865330034131525ee6a7f72eb4af2a24 and later · before 28c8fb7ae2ad27d81c8de3c4fe608c509f6a18aaaffected · git
- d769041f865330034131525ee6a7f72eb4af2a24 and later · before ced94e137e6cd5e79c65564841d3b7695d0f5fa3affected · git
- d769041f865330034131525ee6a7f72eb4af2a24 and later · before fbd4cf7ee4db65ef36796769fe978e9eba6f0de4affected · git
- d769041f865330034131525ee6a7f72eb4af2a24 and later · before 4013aef2ced9b756a410f50d12df9ebe6a883e4aaffected · git
- before 2.6.28not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.153-1 | 6.1.153-1 |
| Debian:13 | linux | before 6.12.48-1 | 6.12.48-1 |
| Debian:14 | linux | before 6.16.5-1 | 6.16.5-1 |
| openSUSE:Leap 15.6 | dtb-aarch64 | before 6.4.0-150600.23.87.1 | 6.4.0-150600.23.87.1 |
| openSUSE:Leap 15.6 | kernel-64kb | before 6.4.0-150600.23.87.1 | 6.4.0-150600.23.87.1 |
| openSUSE:Leap 15.6 | kernel-debug | before 6.4.0-150600.23.87.1 | 6.4.0-150600.23.87.1 |
| openSUSE:Leap 15.6 | kernel-default | before 6.4.0-150600.23.87.1 | 6.4.0-150600.23.87.1 |
| openSUSE:Leap 15.6 | kernel-default-base | before 6.4.0-150600.23.87.1.150600.12.40.1 | 6.4.0-150600.23.87.1.150600.12.40.1 |
| openSUSE:Leap 15.6 | kernel-docs | before 6.4.0-150600.23.87.1 | 6.4.0-150600.23.87.1 |
| openSUSE:Leap 15.6 | kernel-kvmsmall | before 6.4.0-150600.23.87.1 | 6.4.0-150600.23.87.1 |
| openSUSE:Leap 15.6 | kernel-obs-build | before 6.4.0-150600.23.87.1 | 6.4.0-150600.23.87.1 |
| openSUSE:Leap 15.6 | kernel-obs-qa | before 6.4.0-150600.23.87.1 | 6.4.0-150600.23.87.1 |
| openSUSE:Leap 15.6 | kernel-source | before 6.4.0-150600.23.87.1 | 6.4.0-150600.23.87.1 |
| openSUSE:Leap 15.6 | kernel-syms | before 6.4.0-150600.23.87.1 | 6.4.0-150600.23.87.1 |
| openSUSE:Leap 15.6 | kernel-zfcpdump | before 6.4.0-150600.23.87.1 | 6.4.0-150600.23.87.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-default | before 6.4.0-150600.23.87.1 | 6.4.0-150600.23.87.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_20 | before 1-150600.13.3.1 | 1-150600.13.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7_Update_9 | before 1-150700.15.3.1 | 1-150700.15.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7-RT_Update_9 | before 1-150700.1.3.2 | 1-150700.1.3.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-64kb | before 6.4.0-150700.53.31.1 | 6.4.0-150700.53.31.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-default | before 6.4.0-150700.53.31.1 | 6.4.0-150700.53.31.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-default-base | before 6.4.0-150700.53.31.1.150700.17.21.1 | 6.4.0-150700.53.31.1.150700.17.21.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-source | before 6.4.0-150700.53.31.1 | 6.4.0-150700.53.31.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-zfcpdump | before 6.4.0-150700.53.31.1 | 6.4.0-150700.53.31.1 |
+16
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2025-39811Sep 16, 2025 · drm/xe/vm: Clear the scratch_pt pointer on error22Monitor
- ← EarlierCVE-2025-39812Sep 16, 2025 · sctp: initialize more fields in sctp_v6_from_sk()22Monitor
- Later →CVE-2025-39814Sep 16, 2025 · ice: fix NULL pointer dereference in ice_unplug_aux_dev() on reset22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 28c8fb7ae2ad27d81c8de3c4fe608c509f6a18aa | Vendor (CNA) |
| Linux Linux | 4013aef2ced9b756a410f50d12df9ebe6a883e4a | Vendor (CNA) |
| Linux Linux | 5ab0ec206deb99eb3baf8f1d7602aeaa91dbcc85 | Vendor (CNA) |
| Linux Linux | a6f0f8873cc30fd4543b09adf03f7f51d293f0e6 | Vendor (CNA) |
| Linux Linux | ced94e137e6cd5e79c65564841d3b7695d0f5fa3 | Vendor (CNA) |
| Linux Linux | e80ff23ba8bdb0f41a1afe2657078e4097d13a9a | Vendor (CNA) |
| Linux Linux | f299353e7ccbcc5c2ed8993c48fbe7609cbe729a | Vendor (CNA) |
| Linux Linux | fbd4cf7ee4db65ef36796769fe978e9eba6f0de4 | Vendor (CNA) |
| azl3 kernel 6.6.96.2-2 on Azure Linux 3.0 | 6.6.104.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.186.1-1 on CBL Mariner 2.0 | 5.15.200.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.153-1 · Debian:12 | Package registry (OSV) |
| opensuse:dtb-aarch64 | 6.4.0-150600.23.87.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-64kb | 6.4.0-150600.23.87.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-debug | 6.4.0-150600.23.87.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-default | 6.4.0-150600.23.87.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-default-base | 6.4.0-150600.23.87.1.150600.12.40.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-docs | 6.4.0-150600.23.87.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-kvmsmall | 6.4.0-150600.23.87.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-obs-build | 6.4.0-150600.23.87.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-obs-qa | 6.4.0-150600.23.87.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-source | 6.4.0-150600.23.87.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-syms | 6.4.0-150600.23.87.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-zfcpdump | 6.4.0-150600.23.87.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| suse:kernel-64kb | 6.4.0-150600.23.87.1 · SUSE:Linux Enterprise Server 15 SP6-LTSS | Package registry (OSV) |
| suse:kernel-64kb | 6.4.0-150700.53.31.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Package registry (OSV) |
| suse:kernel-azure | 6.4.0-150700.20.27.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP7 | Package registry (OSV) |
| suse:kernel-default | 6.4.0-150600.23.87.1 · SUSE:Linux Enterprise Live Patching 15 SP6 | Package registry (OSV) |
| suse:kernel-default | 6.4.0-150700.53.31.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Package registry (OSV) |
| suse:kernel-default-base | 6.4.0-150600.23.87.1.150600.12.40.1 · SUSE:Linux Enterprise Server 15 SP6-LTSS | Package registry (OSV) |
| suse:kernel-default-base | 6.4.0-150700.53.31.1.150700.17.21.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Package registry (OSV) |
+13
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- git.kernel.org/stable/c/4013aef2ced9b756a410f50d12df9ebe6a883e4a
- git.kernel.org/stable/c/5ab0ec206deb99eb3baf8f1d7602aeaa91dbcc85
- git.kernel.org/stable/c/a6f0f8873cc30fd4543b09adf03f7f51d293f0e6
- git.kernel.org/stable/c/ced94e137e6cd5e79c65564841d3b7695d0f5fa3
- git.kernel.org/stable/c/e80ff23ba8bdb0f41a1afe2657078e4097d13a9a
- git.kernel.org/stable/c/f299353e7ccbcc5c2ed8993c48fbe7609cbe729a
- git.kernel.org/stable/c/fbd4cf7ee4db65ef36796769fe978e9eba6f0de4
- lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- cert-portal.siemens.com/productcert/html/ssa-032379.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.