CVE-2025-40173

published 12 Nov 2025 · updated 15 Oct 2026

net/ip6_tunnel: Prevent perpetual tunnel growth

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 10fe967efe73c610e526ff7460581610633dee9c, Kernel 11f6066af3bfb8149aa16c42c0b0c5ea5b199a94, Kernel 21f4d45eba0b2dcae5dbc9e5e0ad08735c993f16 and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.7, >=8eb30be0352d09165e94a41fef1c7b994dca0714 <10fe967efe73c610e526ff7460581610633dee9c, >=8eb30be0352d09165e94a41fef1c7b994dca0714 <11f6066af3bfb8149aa16c42c0b0c5ea5b199a94, >=8eb30be0352d09165e94a41fef1c7b994dca0714 <21f4d45eba0b2dcae5dbc9e5e0ad08735c993f16, >=8eb30be0352d09165e94a41fef1c7b994dca0714 <402b6985e872b4cf394bbbf33b503947a326a6cb, >=8eb30be0352d09165e94a41fef1c7b994dca0714 <48294a67863c9cfa367abb66bbf0ef6548ae124f, >=8eb30be0352d09165e94a41fef1c7b994dca0714 <566f8d5c8a443f2dd69c5460fdec43ed1c870c65, >=8eb30be0352d09165e94a41fef1c7b994dca0714 <b6eb25d870f1a8ae571fd3da2244b71df547824b, >=8eb30be0352d09165e94a41fef1c7b994dca0714 <eeb4345488672584db4f8c20a1ae13a212ce31c410fe967efe73c610e526ff7460581610633dee9c, 11f6066af3bfb8149aa16c42c0b0c5ea5b199a94, 21f4d45eba0b2dcae5dbc9e5e0ad08735c993f16, 402b6985e872b4cf394bbbf33b503947a326a6cb, 48294a67863c9cfa367abb66bbf0ef6548ae124f, 566f8d5c8a443f2dd69c5460fdec43ed1c870c65, b6eb25d870f1a8ae571fd3da2244b71df547824b, eeb4345488672584db4f8c20a1ae13a212ce31c4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40173 severity on Zeptric[![CVE-2025-40173](https://zeptric.io/badge/cve/CVE-2025-40173.svg)](https://zeptric.io/cve/CVE-2025-40173)