LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A use-after-free flaw in the Linux kernel's Marvell OcteonTX2 physical-function network driver can access an object after scheduling it for deletion. Successful exploitation could compromise confidentiality, integrity, and availability. The supplied CVSS assessment requires local access and low privileges, so exposure is concentrated on systems using the affected driver and flow-management path.

Executive priority

Treat as a high-priority, targeted kernel update rather than an internet-wide emergency. Promptly assess network appliances, servers, and virtualized hosts using OcteonTX2 hardware, especially where untrusted users or workloads have local access. Track remediation through verified running-kernel versions; current sources do not establish active exploitation.

Technical view

In otx2_tc_add_flow(), new_node was dereferenced after kfree_rcu(new_node, rcu) queued it for reclamation. The correction moves those dereferences before the deferred free. The supplied CVSS 3.1 vector is AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, scoring 7.8. No CWE is assigned in the bundle.

Likely exposure

Likely exposure is limited to affected Linux kernels with the octeontx2-pf driver present and the vulnerable traffic-control flow path reachable. The bundle lists affected releases across 5.14 through 6.17, but does not map each referenced fix commit to a specific distribution kernel. Confirm using vendor kernel metadata.

Exploitation context

The supplied record does not report active exploitation, and the CVE is not identified as being in KEV. The CVSS vector describes a local, low-complexity attack requiring low privileges and no user interaction. No public exploit evidence is included, so exploitation status should be treated as unconfirmed.

Researcher notes

The defect is a use-after-free ordering error involving RCU reclamation in otx2_tc_add_flow(). The stated fix reorders field access ahead of kfree_rcu(). Source data provides several stable-kernel commits but no branch-to-commit mapping here. Researchers should avoid assuming every listed version is vulnerable when vendors may have backported a fix.

Mitigation direction

  • Upgrade to a vendor-supported kernel containing the applicable stable fix.
  • Check distribution and appliance advisories for corrected package versions.
  • Prioritize systems using OcteonTX2 networking and untrusted local workloads.
  • Restrict local access and unnecessary traffic-control privileges until patched.

Validation and detection

  • Inventory kernel versions and identify systems loading the octeontx2-pf driver.
  • Determine whether affected systems use the driver's traffic-control flow functionality.
  • Verify the installed kernel includes the applicable referenced stable commit.
  • Confirm the replacement kernel is running after upgrade or reboot.
  • Review vendor advisories because distribution version numbers may include backported fixes.
Prepared
Confidence
medium
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2025-39978 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
7Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2025-39978Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

siemens-SADPADP container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux68fbff68dbea35f9e6f7649dd22fce492a5aedac, 68fbff68dbea35f9e6f7649dd22fce492a5aedac, 68fbff68dbea35f9e6f7649dd22fce492a5aedac, 68fbff68dbea35f9e6f7649dd22fce492a5aedac, 68fbff68dbea35f9e6f7649dd22fce492a5aedacunaffected
LinuxLinux5.14, 0, 6.1.155, 6.6.109, 6.12.50, 6.16.10, 6.17affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.