CVE-2025-39978

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

HIGH
7.8
CVSS Score
Published: October 15, 2025 at 07:55 AM UTC
Updated: October 19, 2026 at 09:10 PM UTC
4 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP FirmwareSiplus S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.1468fbff68dbea35f9e6f7649dd22fce492a5aedac
Vendor states this is fixed in 5723120423a753a220b8b2954b273838b9d7e74a (fixed)
Vendor states this is fixed in a8a63f27c3a8a3714210d32b12fd0f16d0337414 (fixed)
Vendor states this is fixed in c41b2941a024d4ec7c768e16ffb10a74b188fced (fixed)
Vendor states this is fixed in d9c70e93ec5988ab07ad2a92d9f9d12867f02c56 (fixed)
Vendor states this is fixed in df2c071061ed52d2225d97b212d27ecedf456b8a (fixed)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 6.1.155 (unaffected)
Vendor states this is fixed in 6.12.50 (unaffected)
Vendor states this is fixed in 6.16.10 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.109 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card