CVE-2025-40158

Source
https://cve.org/CVERecord?id=CVE-2025-40158
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40158.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40158
Downstream
Related
Published
2025-11-12T10:23:29.516Z
Modified
2026-05-15T04:13:46.558208471Z
Summary
ipv6: use RCU in ip6_output()
Details

In the Linux kernel, the following vulnerability has been resolved:

ipv6: use RCU in ip6_output()

Use RCU in ip6output() in order to use dstdev_rcu() to prevent possible UAF.

We can remove rcureadlock()/rcureadunlock() pairs from ip6finishoutput2().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40158.json"
}
References

Affected packages

Linux / Kernel

Package

Name
Kernel

Affected 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"