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.
Affected versions
Linux kernel versions
5.14
and later are affected. Fixed in
6.1.155,
6.6.109,
6.12.50,
6.16.10,
6.17
and their respective stable series.
References
The following references provide additional information about CVE-2025-39978 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5723120423a753a220b8b2954b273838b9d7e74a
-
PatchKernel patch commithttps://git.kernel.org/stable/c/a8a63f27c3a8a3714210d32b12fd0f16d0337414
-
PatchKernel patch commithttps://git.kernel.org/stable/c/c41b2941a024d4ec7c768e16ffb10a74b188fced
Frequently asked questions
-
What is CVE-2025-39978?
CVE-2025-39978 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.14 onward and has been patched in 6.1.155, 6.6.109, 6.12.50 and others. CVE-2025-39978 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-39978?
Yes — CVE-2025-39978 has been patched. Fixed versions include 6.1.155, 6.6.109, 6.12.50 and others. If you are running Linux kernel 5.14 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-39978 actively exploited?
No — CVE-2025-39978 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.