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.
Security readout for executives and security teams
Plain-English summary
A Linux kernel IPv6 tunneling flaw lets a network-device headroom value grow without a defined ceiling. The supplied CVSS score is 7.8 (high) and models local, low-privileged access, making this primarily a post-access host risk rather than an unauthenticated internet threat. Affected systems should receive vendor-backed kernel updates.
Executive priority
Treat this as high priority, but not an internet-wide emergency based on current evidence. Expedite patching on shared, multi-user, or otherwise locally exposed Linux hosts. Handle isolated systems through the normal high-severity kernel cycle, escalating if vendor guidance or new exploitation evidence changes the local-access assumptions.
Technical view
The IPv6 tunnel path updates dev->needed_headroom without the ceiling already implemented for IPv4 tunneling. The fix applies the IPv4-style adjustment limit to IPv6. The CVSS vector is AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The bundle does not explain how unbounded growth produces the scored confidentiality, integrity, and availability impacts.
Likely exposure
Likely exposure is Linux systems running affected kernel builds where IPv6 tunnel behavior can be exercised. The record names versions from 4.7 and several stable-series builds through 6.18, but lacks sufficient distribution-package mapping and configuration prerequisites to determine vulnerability solely from a version string.
Exploitation context
The supplied bundle marks KEV as false and cites no active exploitation or public weaponization. The CVSS vector describes local, low-complexity exploitation requiring low privileges and no user interaction. KEV absence is not proof exploitation has never occurred; current evidence supports treating this as a local or post-access risk.
Researcher notes
The patch mirrors the IPv4 ceiling from commit 5ae1e9922bbd in net/ip6_tunnel. Multiple stable references indicate branch-specific fixes. A reproducer is credited, but none is included in the supplied evidence. Exact trigger conditions, affected distribution packages, observable indicators, and real-world exploitation remain unconfirmed here.
Mitigation direction
Apply the Linux distribution or appliance vendor's kernel update containing the appropriate referenced stable fix.
Reboot into the updated kernel and retire the vulnerable running build.
Where updates are unavailable, request vendor guidance; the supplied sources name no verified workaround.
Reduce unnecessary local account access on affected shared systems until remediation is complete.
Validation and detection
Inventory running kernel builds and identify systems using IPv6 tunnel functionality.
Map each vendor build to its advisory or backport of a referenced stable commit.
After reboot, confirm the running kernel is the remediated build, not merely an installed package.
Document and reassess deferred systems, especially those accessible to untrusted local users or workloads.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-40173 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
9Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.