CVE-2025-39978

HIGHCVSS 7.8/10EPSS 0.19%

Last modified

CVE-2025-39978 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.8/10

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

EPSS Probability
0.19%

9.2th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < 5723120423a753a220b8b2954b273838b9d7e74a; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < df2c071061ed52d2225d97b212d27ecedf456b8a; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < c41b2941a024d4ec7c768e16ffb10a74b188fced; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < a8a63f27c3a8a3714210d32b12fd0f16d0337414; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < d9c70e93ec5988ab07ad2a92d9f9d12867f02c56
LinuxLinux5.14

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2025-39978?
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.
How severe is CVE-2025-39978?
CVE-2025-39978 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.19% probability of exploitation in the next 30 days.
How do I fix CVE-2025-39978?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2025

Are you affected by CVE-2025-39978?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST