{"id":"CVE-2025-40158","summary":"ipv6: use RCU in ip6_output()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: use RCU in ip6_output()\n\nUse RCU in ip6_output() in order to use dst_dev_rcu() to prevent\npossible UAF.\n\nWe can remove rcu_read_lock()/rcu_read_unlock() pairs\nfrom ip6_finish_output2().","modified":"2026-03-31T17:29:36.311418Z","published":"2025-11-12T10:23:29.516Z","related":["ALSA-2026:1690","ALSA-2026:2212","ALSA-2026:2264","ALSA-2026:2378","SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:0316-1","SUSE-SU-2026:20012-1","SUSE-SU-2026:20015-1","SUSE-SU-2026:20021-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2025:20172-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40158.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0393f85c3241c19ba8550f04a812e7d19f6b3082"},{"type":"WEB","url":"https://git.kernel.org/stable/c/11709573cc4e48dc34c80fc7ab9ce5b159e29695"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40158.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40158"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36"},{"fixed":"0393f85c3241c19ba8550f04a812e7d19f6b3082"},{"fixed":"11709573cc4e48dc34c80fc7ab9ce5b159e29695"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40158.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.13.0"},{"fixed":"6.17.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40158.json"}}],"schema_version":"1.7.5"}