CVE-2025-39978
Published Oct 15, 2025
Modified Apr 15, 2026
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.
Is your site exposed to CVE-2025-39978?
Run a free security scan — no signup, results in seconds.
References
Other References
https://git.kernel.org/stable/c/5723120423a753a220b8b2954b273838b9d7e74a
https://git.kernel.org/stable/c/a8a63f27c3a8a3714210d32b12fd0f16d0337414
https://git.kernel.org/stable/c/c41b2941a024d4ec7c768e16ffb10a74b188fced
https://git.kernel.org/stable/c/d9c70e93ec5988ab07ad2a92d9f9d12867f02c56
https://git.kernel.org/stable/c/df2c071061ed52d2225d97b212d27ecedf456b8a
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 do I check if I'm vulnerable to CVE-2025-39978? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.