Skip to main content

Linux Kernel CVE-2025-39978

HIGH
2025-10-15 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local network-admin access on OcteonTX2 host
  2. Delivery
    Invoke TC flow-offload add via otx2_tc_add_flow()
  3. Exploit
    Trigger kfree_rcu then stale dereference
  4. Execution
    Corrupt freed kernel heap object
  5. Impact
    Crash kernel or attempt privilege escalation

Vulnerability Assessment

Exploitation Conditions

Exploitation requires the target system to be running the octeontx2-pf driver on Marvell OcteonTX2/CN10K networking hardware, and the attacker must be able to invoke the TC (traffic-control) flow-add offload path - otx2_tc_add_flow() - which is reached through tc flower/offload configuration and typically demands CAP_NET_ADMIN capability (consistent with the CVSS PR:L). Limiting factors: the bug is unreachable on systems without the OcteonTX2 hardware/driver, no user interaction is needed (UI:N), the vector is local only (AV:L, no remote reachability), and privileged network-admin access is required rather than an ordinary unprivileged shell. This is a non-default-hardware-dependent condition, materially narrowing exposure.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N, C:H/I:H/A:H, base 7.8) indicates a local attacker with low privileges and low complexity can achieve high impact - consistent with a kernel memory-corruption bug. However, real-world risk is meaningfully constrained: exploitation requires the target system to actually use OcteonTX2/CN10K hardware AND for the attacker to reach the TC flow-offload path, which typically requires CAP_NET_ADMIN-level capability rather than an unprivileged shell. This narrows the practical PR beyond a generic local user. The EPSS probability is low (0.19%, 8th percentile), the vulnerability is NOT in CISA KEV, and no POC is known - signals that align with a low-likelihood, hardware-gated issue rather than a broadly exploited one. The vendor Tags label this 'Denial Of Service', which is the most realistic outcome; the C:H/I:H rating reflects theoretical UAF-to-escalation potential but no such exploit is demonstrated. Net: legitimate to patch on affected hardware, but not an urgent fleet-wide emergency for systems lacking OcteonTX2 NICs.

Exploit ScenarioDerived

A local user with network-administration privileges on a host equipped with a Marvell OcteonTX2/CN10K NIC issues crafted TC flow-offload commands that drive otx2_tc_add_flow() to free a node and then operate on the stale pointer, corrupting kernel heap memory. The most likely result is a kernel panic (denial of service); with careful heap grooming a use-after-free could theoretically be steered toward privilege escalation. No public exploit code exists for this specific issue at time of analysis.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Use-after-free in the Linux kernel's octeontx2-pf network driver allows a local low-privileged user to trigger memory corruption via the otx2_tc_add_flow() traffic-control offload path, where new_node is dereferenced after being queued for freeing with kfree_rcu() outside a valid RCU read-side region. Successful exploitation can cause a denial of service (kernel crash) and, depending on heap state, potential local privilege escalation. There is no public exploit identified at time of analysis, and the low EPSS score (0.19%) reflects the narrow, hardware-specific attack surface.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the kernel update containing the fix commits (git.kernel.org/stable/c/5723120423a753a220b8b2954b273838b9d7e74a and the four related backports a8a63f2, c41b294, d9c70e9, df2c071) by updating to the patched stable kernel provided by your distribution. Siemens-managed products should follow advisory SSA-019113 (https://cert-portal.siemens.com/productcert/html/ssa-019113.html) for vendor-specific fixed firmware/images. As a compensating control on systems that cannot be patched immediately, restrict CAP_NET_ADMIN and TC-offload configuration to trusted administrators, and if the hardware is not present or the offload feature is unused, this code path is not reachable so no action is required beyond confirming the driver is not loaded (blacklisting the otx2 modules where the NIC is absent). These controls have minimal side effects on hosts without OcteonTX2 hardware but will disable TC flow offload where it is in use.

Affected ProductsAI

The vulnerability affects the Linux kernel's octeontx2-pf driver (Marvell OcteonTX2/CN10K PF networking). Exact affected version ranges are not enumerated in the provided data (CPE strings were not supplied), but the presence of five separate stable-tree fix commits (git.kernel.org commits 5723120, a8a63f2, c41b294, d9c70e9, df2c071) indicates the fix was backported across multiple maintained stable branches, implying several kernel series were affected prior to those backports. Siemens has issued advisory SSA-019113 (https://cert-portal.siemens.com/productcert/html/ssa-019113.html) indicating certain Siemens products embedding the affected kernel are also impacted. Authoritative fix references are the kernel.org stable commits listed above.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected code lives in the octeontx2-pf driver, which supports Marvell OcteonTX2/CN10K network interface controllers and their TC (traffic control) flow-offload feature. The root cause is a classic use-after-free (CWE-416): otx2_tc_add_flow() calls kfree_rcu(new_node, rcu) to schedule the node for deferred freeing, but then dereferences new_node on subsequent lines and later acquires a mutex - meaning the code is not in an RCU read-side critical section that would guarantee the object's validity. Because kfree_rcu only defers the free past a grace period (not indefinitely, and not protected here by rcu_read_lock), the object can be reclaimed and reused while still referenced. The upstream fix reorders operations so all dereferences complete before the free is queued.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local vector (AV:L) with low complexity; PR:L reflects the CAP_NET_ADMIN-level access needed to reach the TC offload path; kernel UAF yields high C/I/A within an unchanged scope.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 6.4 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
CVE Published
Oct 15, 2025 - 08:15 cve.org
UNKNOWN (no severity yet)
CVE Published
Oct 15, 2025 - 08:15 cve.org
HIGH 7.8

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

octeontx2-pf: Fix potential use after free in otx2_tc_add_flow()

This code calls kfree_rcu(new_node, rcu) and then dereferences "new_node" and then dereferences it on the next line. Two lines later, we take a mutex so I don't think this is an RCU safe region. Re-order it to do the dereferences before queuing up the free.

Executive ViewAI

Why It Matters

A use-after-free vulnerability in the Linux kernel's Octeon TX2 network driver (CVE-2025-39978, CVSS 7.8) enables local privilege escalation and denial-of-service on systems running Cavium/Marvell hardware. While no public exploit has been identified and the attack surface is limited to low-privileged local access, the absence of vendor patches and potential for system compromise necessitate immediate inventory and security hardening of affected infrastructure.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict unprivileged local user accounts and command execution through OS-level access controls and privileged execution restrictions; (2) Disable octeontx2-pf driver on systems where Octeon TX2 hardware is not required; (3) Enable kernel audit subsystem and configure alerting on use-after-free and RCU error messages; (4) Implement network segmentation isolating systems with Octeon TX2 processors from sensitive infrastructure; (5) Monitor Linux kernel advisories and Marvell security bulletins weekly for patches.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
hardware-specific driver for Marvell OcteonTX2/CN10K NICs, niche footprint
Threat Intel
2
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS CISA Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
Container suse/hpc/warewulf4-x86_64/sle-hpc-node:15.6.17.8.134 Image SLES15-SP6 Image SLES15-SP6-BYOS Image SLES15-SP6-BYOS-Azure Image SLES15-SP6-BYOS-EC2 Image SLES15-SP6-BYOS-GCE Image SLES15-SP6-CHOST-BYOS Image SLES15-SP6-CHOST-BYOS-Aliyun Image SLES15-SP6-CHOST-BYOS-Azure Image SLES15-SP6-CHOST-BYOS-EC2 Image SLES15-SP6-CHOST-BYOS-GCE Image SLES15-SP6-CHOST-BYOS-GDC Image SLES15-SP6-CHOST-BYOS-SAP-CCloud Image SLES15-SP6-EC2 Image SLES15-SP6-EC2-ECS-HVM Image SLES15-SP6-GCE Image SLES15-SP6-HPC-BYOS Image SLES15-SP6-HPC-BYOS-Azure Image SLES15-SP6-HPC-BYOS-EC2 Image SLES15-SP6-HPC-BYOS-GCE Image SLES15-SP6-HPC-EC2 Image SLES15-SP6-HPC-GCE Image SLES15-SP6-Hardened-BYOS Image SLES15-SP6-Hardened-BYOS-Azure Image SLES15-SP6-Hardened-BYOS-EC2 Image SLES15-SP6-Hardened-BYOS-GCE Image SLES15-SP6-SAP Image SLES15-SP6-SAP-Azure Image SLES15-SP6-SAP-EC2 Image SLES15-SP6-SAP-GCE Image SLES15-SP6-SAPCAL Image SLES15-SP6-SAPCAL-Azure Image SLES15-SP6-SAPCAL-EC2 Image SLES15-SP6-SAPCAL-GCE Affected
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/toolbox:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.65 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.88 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.105 Affected

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

References

Advisories & patches
ADVISORY https://vuldb.com/vuln/328651 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21040/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21052/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21056/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21064/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21080/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21147/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21180/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4057/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4111/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4128/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4132/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4139/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4140/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4141/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4149/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4301/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4320/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20317/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20333/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20561/ REF https://cert-portal.siemens.com/productcert/html/ssa-019113.html REF https://cert-portal.siemens.com/productcert/html/ssa-457936.html REF https://git.kernel.org/stable/c/5723120423a753a220b8b2954b273838b9d7e74a REF https://git.kernel.org/stable/c/a8a63f27c3a8a3714210d32b12fd0f16d0337414 REF https://git.kernel.org/stable/c/c41b2941a024d4ec7c768e16ffb10a74b188fced REF https://git.kernel.org/stable/c/d9c70e93ec5988ab07ad2a92d9f9d12867f02c56 REF https://git.kernel.org/stable/c/df2c071061ed52d2225d97b212d27ecedf456b8a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy