CVE-2025-39978

published 15 Oct 2025 · updated 12 Nov 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel df2c071061ed52d2225d97b212d27ecedf456b8a, Kernel 5723120423a753a220b8b2954b273838b9d7e74a, Kernel a8a63f27c3a8a3714210d32b12fd0f16d0337414 and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=68fbff68dbea35f9e6f7649dd22fce492a5aedac <df2c071061ed52d2225d97b212d27ecedf456b8a, >=68fbff68dbea35f9e6f7649dd22fce492a5aedac <5723120423a753a220b8b2954b273838b9d7e74a, >=68fbff68dbea35f9e6f7649dd22fce492a5aedac <a8a63f27c3a8a3714210d32b12fd0f16d0337414, >=68fbff68dbea35f9e6f7649dd22fce492a5aedac <c41b2941a024d4ec7c768e16ffb10a74b188fced, >=68fbff68dbea35f9e6f7649dd22fce492a5aedac <d9c70e93ec5988ab07ad2a92d9f9d12867f02c56, =5.14df2c071061ed52d2225d97b212d27ecedf456b8a, 5723120423a753a220b8b2954b273838b9d7e74a, a8a63f27c3a8a3714210d32b12fd0f16d0337414, c41b2941a024d4ec7c768e16ffb10a74b188fced, d9c70e93ec5988ab07ad2a92d9f9d12867f02c56
linux-kernel: Kernel>=6.13.0 <6.16.10, >=6.2.0 <6.6.109, >=6.7.0 <6.12.50, >=5.14.0 <6.1.1556.16.10, 6.6.109, 6.12.50, 6.1.155

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-39978 severity on Zeptric[![CVE-2025-39978](https://zeptric.io/badge/cve/CVE-2025-39978.svg)](https://zeptric.io/cve/CVE-2025-39978)