CVE Catalog

CVE-2025-40158

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.43%

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

Summary

In the Linux kernel, the IPv6 stack's ip6_output() function did not use RCU, allowing a use-after-free (UAF) when accessing the device via dst_dev_rcu(). The fix adds RCU and removes unnecessary rcu_read_lock/unlock pairs from ip6_finish_output2().

Risk Assessment

The organization is at risk of system crashes or potential code execution due to UAF during IPv6 packet transmission.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix that uses RCU in ip6_output().

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ipv6: use RCU in ip6_output() Use RCU in ip6_output() in order to use dst_dev_rcu() to prevent possible UAF. We can remove rcu_read_lock()/rcu_read_unlock() pairs from ip6_finish_output2().

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