What’s Vulnerable › Vulnerabilities

CVE-2025-40158: ipv6: use RCU in ip6_output()

Description

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().

Affected products

How to fix

Upgrade to a fixed version: Linux 6.18. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-40158 or the next vulnerability affects your stack