CVE-2025-40158
ipv6: use RCU in ip6_output()
Reported by linux · Published November 12, 2025
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().
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-headers | Amazon Linux | 1:6.1.177-224.371.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.177-224.371.amzn2023 |
| kernel-livepatch-6.1.177-224.371 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.177-224.371.amzn2023 |
| perf | Amazon Linux | 1:6.1.177-224.371.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.177-224.371.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36, 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36, 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36 |
| Linux | Linux | 4.13, 0, 6.1.191 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-livepatch-6.1.177-224.371 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-devel | 0 |
| linux | linux_kernel | 4.13, 4.13, 4.13 |
| amazon:2023 | kernel-livepatch-6.12.95-124.187 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
…and 6 more
Timeline
- Nov 11, 2025 CVE Published
- Nov 12, 2025 EPSS Score (30 in total, the first dated here)
- Nov 17, 2025 CVE Updated
- Mar 29, 2026 Distribution Patch (167 in total, the first dated here)
- Mar 29, 2026 Security Advisory (173 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40158
vulnetix vdb fixes CVE-2025-40158
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40158/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart