VDB

CVE-2025-40173

CVE-2025-40173 PUBLISHED CVSS 7.8 HIGH

net/ip6_tunnel: Prevent perpetual tunnel growth

Reported by linux · Published November 12, 2025

In the Linux kernel, the following vulnerability has been resolved: net/ip6_tunnel: Prevent perpetual tunnel growth Similarly to ipv4 tunnel, ipv6 version updates dev->needed_headroom, too. While ipv4 tunnel headroom adjustment growth was limited in commit 5ae1e9922bbd ("net: ip_tunnel: prevent perpetual headroom growth"), ipv6 tunnel yet increases the headroom without any ceiling. Reflect ipv4 tunnel headroom adjustment limit on ipv6 version. Credits to Francesco Ruggeri, who was originally debugging this issue and wrote local Arista-specific patch and a reproducer.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftool6.12Amazon Linux1:6.12.55-74.119.amzn2023

Risk scores

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

Affected products

VendorProductVersions
LinuxLinux8eb30be0352d09165e94a41fef1c7b994dca0714, 8eb30be0352d09165e94a41fef1c7b994dca0714, 8eb30be0352d09165e94a41fef1c7b994dca0714
LinuxLinux4.7, 0, 5.4.301
amazon:2023bpftool6.120
LinuxLinux5.10.246, 4.7, 6.18
amazon:2023kernel6.12-libbpf-devel0
amazon:2023bpftool0
amazon:2kernel-tools-devel0
amazon:2023perf0
amazon:2kernel0
amazon:2kernel-livepatch-4.14.355-280.7130
amazon:2023kernel6.12-devel0
amazon:2023kernel-libbpf-static0
amazon:2023python3-perf0
linuxlinux_kernel4.7, 4.7, 4.7
amazon:2kernel-tools0
amazon:2023kernel-tools-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-modules-extra0
amazon:2kernel-headers0
amazon:2023kernel-modules-extra0

…and 20 more

Timeline

  • Nov 10, 2025 CVE Published
  • Nov 12, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (195 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (202 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-40173
vulnetix vdb fixes CVE-2025-40173

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-40173/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 ›