CVE Catalog

CVE-2025-39978

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

4th percentile - higher than 4% of all known CVEs

Summary

In the Linux kernel, a use-after-free vulnerability was found in the octeontx2-pf driver's otx2_tc_add_flow() function. The issue arises from calling kfree_rcu() before dereferencing the new_node pointer, potentially leading to memory corruption.

Risk Assessment

The risk includes potential arbitrary code execution or system crash (kernel panic) due to accessing freed memory, which could be exploited by a local attacker for privilege escalation or system destabilization.

Recommendation

Immediately update the Linux kernel to a version containing the fix that moves the kfree_rcu() call after all dereferences of the new_node pointer.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS