CVE-2025-40173

net/ip6_tunnel: Prevent perpetual tunnel growth

At a glance

Severity
HIGH 7.8
EPSS
EPSS 0.15 % · percentile 4 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

Description

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.

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 8eb30be0352d09165e94a41fef1c7b994dca0714 < 566f8d5c8a443f2dd69c5460fdec43ed1c870c65 ; affected 8eb30be0352d09165e94a41fef1c7b994dca0714 < 11f6066af3bfb8149aa16c42c0b0c5ea5b199a94 ; affected 8eb30be0352d09165e94a41fef1c7b994dca0714 < 402b6985e872b4cf394bbbf33b503947a326a6cb ; affected 8eb30be0352d09165e94a41fef1c7b994dca0714 < 10fe967efe73c610e526ff7460581610633dee9c ; affected 8eb30be0352d09165e94a41fef1c7b994dca0714 < 48294a67863c9cfa367abb66bbf0ef6548ae124f ; affected 8eb30be0352d09165e94a41fef1c7b994dca0714 < eeb4345488672584db4f8c20a1ae13a212ce31c4
Linux · Linuxaffected 4.7 ; unaffected 0 < 4.7 ; unaffected 5.4.301 ≤ 5.4.* ; unaffected 5.10.246 ≤ 5.10.* ; unaffected 5.15.196 ≤ 5.15.* ; unaffected 6.1.158 ≤ 6.1.*

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD