Skip to main content
← All vulnerabilities
CVE-2025-40173

net/ip6_tunnel: Prevent perpetual tunnel growth

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.301, 5.10.246, 5.15.196, 6.1.158, 6.6.114, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From 8eb30be0352d09165e94a41fef1c7b994dca0714 · fixed in 566f8d5c8a443f2dd69c5460fdec43ed1c870c65; From 8eb30be0352d09165e94a41fef1c7b994dca0714 · fixed in 11f6066af3bfb8149aa16c42c0b0c5ea5b199a94; From 8eb30be0352d09165e94a41fef1c7b994dca0714 · fixed in 402b6985e872b4cf394bbbf33b503947a326a6cb; From 8eb30be0352d09165e94a41fef1c7b994dca0714 · fixed in 10fe967efe73c610e526ff7460581610633dee9c; From 8eb30be0352d09165e94a41fef1c7b994dca0714 · fixed in 48294a67863c9cfa367abb66bbf0ef6548ae124f; From 8eb30be0352d09165e94a41fef1c7b994dca0714 · fixed in eeb4345488672584db4f8c20a1ae13a212ce31c4; From 8eb30be0352d09165e94a41fef1c7b994dca0714 · fixed in b6eb25d870f1a8ae571fd3da2244b71df547824b; From 8eb30be0352d09165e94a41fef1c7b994dca0714 · fixed in 21f4d45eba0b2dcae5dbc9e5e0ad08735c993f16

  • Linux Linux

    4.7

  • KernelLinux

    From 4.7.0 · fixed in 5.4.301; From 5.5.0 · fixed in 5.10.246; From 5.11.0 · fixed in 5.15.196; From 5.16.0 · fixed in 6.1.158; From 6.2.0 · fixed in 6.6.114; From 6.7.0 · fixed in 6.12.55; From 6.13.0 · fixed in 6.17.5

References 8

git.kernel.org