VDB

CVE-2025-40158

CVE-2025-40158 PUBLISHED CVSS 8.1 HIGH

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.

PackageEcosystemFixed in
kernel-headersAmazon Linux1:6.1.177-224.371.amzn2023
python3-perfAmazon Linux1:6.1.177-224.371.amzn2023
kernel-livepatch-6.1.177-224.371Amazon Linux1:1.0-0.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.177-224.371.amzn2023
perfAmazon Linux1:6.1.177-224.371.amzn2023
kernel-develAmazon Linux1:6.1.177-224.371.amzn2023

Risk scores

CVSS 3.1
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36, 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36, 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36
LinuxLinux4.13, 0, 6.1.191
amazon:2023kernel-headers0
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.1.177-224.3710
amazon:2023kernel-modules-extra-common0
amazon:2023perf0
amazon:2023kernel-devel0
linuxlinux_kernel4.13, 4.13, 4.13
amazon:2023kernel-livepatch-6.12.95-124.1870
amazon:2023kernel6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-devel0
amazon:2023python3-perf6.120
amazon:2023kernel-tools0
amazon:2023bpftool0
amazon:2023perf6.120
amazon:2023kernel-modules-extra0

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›