High severity · published Oct 15, 2025
CVE-2025-39978
octeontx2-pf: Fix potential use after free in otx2_tc_add_flow()
7.8
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 4% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
Linux · Linux
68fbff68dbea35f9e6f7649dd22fce492a5aedac before 5723120423a753a220b8b2954b273838b9d7e74a; 68fbff68dbea35f9e6f7649dd22fce492a5aedac before df2c071061ed52d2225d97b212d27ecedf456b8a; 68fbff68dbea35f9e6f7649dd22fce492a5aedac before c41b2941a024d4ec7c768e16ffb10a74b188fced; 68fbff68dbea35f9e6f7649dd22fce492a5aedac before a8a63f27c3a8a3714210d32b12fd0f16d0337414; 68fbff68dbea35f9e6f7649dd22fce492a5aedac before d9c70e93ec5988ab07ad2a92d9f9d12867f02c56; 5.14 · source: vendor
SS
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.6; V3.1.7; V3.1.6; V3.1.7 · source: CISA
SS
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP · Siemens
V3.1.6; V3.1.7; V3.1.6; V3.1.7 · source: CISA
SS
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.6; V3.1.7 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-39978
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-39978
git.kernel.org
https://git.kernel.org/stable/c/5723120423a753a220b8b2954b273838b9d7e74a
git.kernel.org
https://git.kernel.org/stable/c/a8a63f27c3a8a3714210d32b12fd0f16d0337414
git.kernel.org
https://git.kernel.org/stable/c/c41b2941a024d4ec7c768e16ffb10a74b188fced
git.kernel.org
https://git.kernel.org/stable/c/d9c70e93ec5988ab07ad2a92d9f9d12867f02c56
git.kernel.org
https://git.kernel.org/stable/c/df2c071061ed52d2225d97b212d27ecedf456b8a
cert-portal.siemens.com
https://cert-portal.siemens.com/productcert/html/ssa-019113.html
More from Linux
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
7.8
CVE-2026-53362
ipv6: account for fraggap on the paged allocation path
7.8
CVE-2026-31431
crypto: algif_aead - Revert to operating out-of-place
7.8
CVE-2025-38352
posix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del()
