CVE-2025-40158

published 12 Nov 2025 · updated 7 Nov 2026

ipv6: use RCU in ip6_output()

8.1HighCVSS 8.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 0393f85c3241c19ba8550f04a812e7d19f6b3082, Kernel 11709573cc4e48dc34c80fc7ab9ce5b159e29695, Kernel 423895685f367b5a0a956bd14b02df0192bded4c and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.13, >=4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36 <0393f85c3241c19ba8550f04a812e7d19f6b3082, >=4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36 <11709573cc4e48dc34c80fc7ab9ce5b159e29695, >=4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36 <423895685f367b5a0a956bd14b02df0192bded4c, >=4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36 <4549ce1057363c8dc072f40c6aa591c279eafed2, >=4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36 <92803b826e40e49a5e8a6e208f4b4574e9d194260393f85c3241c19ba8550f04a812e7d19f6b3082, 11709573cc4e48dc34c80fc7ab9ce5b159e29695, 423895685f367b5a0a956bd14b02df0192bded4c, 4549ce1057363c8dc072f40c6aa591c279eafed2, 92803b826e40e49a5e8a6e208f4b4574e9d19426

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40158 severity on Zeptric[![CVE-2025-40158](https://zeptric.io/badge/cve/CVE-2025-40158.svg)](https://zeptric.io/cve/CVE-2025-40158)