Skip to main content

Linux Kernel CVE-2025-40173

HIGH
2025-11-12 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local CAP_NET_ADMIN in a namespace
  2. Delivery
    Configure/stack IPv6 tunnel interfaces
  3. Exploit
    Repeatedly transmit to grow needed_headroom
  4. Execution
    Drive unbounded headroom increase
  5. Impact
    Degrade kernel networking memory/stability

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local access with the ability to create or reconfigure IPv6 tunnel interfaces (net/ip6_tunnel / ip6tnl), which needs CAP_NET_ADMIN in the relevant network namespace - consistent with the CVSS PR:L. The triggering condition is repeated tunnel transmit/configuration operations, especially in stacked or looping tunnel setups, that cause dev->needed_headroom to grow without the ceiling present in the IPv4 path. Limiting factors: no remote or unauthenticated vector (AV:L, no network exposure), no user interaction, the affected code path only matters where IPv6 tunneling is actually configured and used, and the attacker must already be able to administer network devices - an unprivileged user with no CAP_NET_ADMIN and no tunnel access cannot reach the vulnerable growth.

Impact

Signals are mixed and lean toward low real-world priority despite the 7.8 'High' rating. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects the Linux kernel CNA's tendency to score memory-safety-adjacent bugs with full C:H/I:H/A:H impact, but the described behavior - perpetual headroom growth in an IPv6 tunnel - most plausibly manifests as memory pressure or an skb headroom problem, making the full confidentiality/integrity impact look generous and unverified against the description. EPSS is 0.07% (21st percentile), the CVE is NOT in CISA KEV, and no POC is public, so there is no evidence of exploitation. SSVC-style reading: exploitation status 'none', not automatable, and technical impact uncertain (the description does not substantiate high C/I impact). This is a routine kernel stability hardening fix that should be patched through normal update cycles, not an emergency. Note the conflict explicitly: CVSS claims C:H/I:H/A:H but the description supports primarily an availability/robustness concern - verify actual impact against the kernel commit if precise risk ranking matters.

Exploit ScenarioDerived

A local user or workload holding CAP_NET_ADMIN in a network namespace repeatedly configures or cycles IPv6 tunnel interfaces (potentially stacked) so that dev->needed_headroom keeps climbing, degrading networking memory behavior on the host. No public POC is identified, though the original reporter (Arista) is noted to have written an internal reproducer. Because the CVSS vector is AV:L/AC:L, exploitation is local and low-complexity but confined to principals able to manipulate tunnel devices.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 30, 2026

Unbounded network device headroom growth in the Linux kernel's IPv6 tunnel driver (net/ip6_tunnel) lets the dev->needed_headroom value increase perpetually because, unlike its IPv4 counterpart, it lacked a ceiling. The fix ports the IPv4 headroom-growth limit (commit 5ae1e9922bbd) to the IPv6 path, capping repeated headroom adjustments. There is no public exploit identified at time of analysis and EPSS exploitation probability is negligible (0.07%), so this is a stability/robustness hardening fix rather than an actively weaponized flaw.

Earlier versions of this analysis (2)
v2 Jul 30, 2026 - 08:39 cvss changed CVSS 7.8

Uncontrolled resource growth in the Linux kernel's IPv6 tunnel driver (net/ip6_tunnel) allows the per-device needed_headroom value to increase without any upper bound as traffic traverses stacked or recursive tunnels, leading to progressively larger skb allocations and eventual resource exhaustion. The flaw mirrors a previously-fixed IPv4 tunnel issue (commit 5ae1e9922bbd) that was never applied to the IPv6 path. EPSS is low (0.07%, 21st percentile) and there is no public exploit identified at time of analysis; the fix has shipped upstream and via Ubuntu security notices.

v1 Mar 28, 2026 - 19:21

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.

RemediationAI

Patch available per vendor advisory: update to a Linux kernel that includes the IPv6 tunnel headroom-limit fix. On Ubuntu, apply the kernel updates in USN-8125-1 (https://ubuntu.com/security/notices/USN-8125-1) and USN-8126-1 (https://ubuntu.com/security/notices/USN-8126-1) and reboot into the new kernel; on other distributions, pull the stable backport corresponding to your tree from git.kernel.org (e.g. https://git.kernel.org/stable/c/11f6066af3bfb8149aa16c42c0b0c5ea5b199a94). As a compensating control where kernels cannot be updated immediately, restrict who can create or configure IPv6 tunnel (ip6tnl/sit) interfaces - creation requires CAP_NET_ADMIN, so limit that capability and avoid stacked/nested IPv6 tunnel topologies that drive repeated headroom growth; the trade-off is loss of legitimate dynamic tunnel provisioning for affected namespaces. Do not invent a specific mainline release number beyond what the linked stable commits and USNs confirm.

Affected ProductsAI

The Linux kernel is affected in versions where the IPv6 tunnel (net/ip6_tunnel) headroom logic lacks the ceiling that IPv4 received in commit 5ae1e9922bbd; the exact affected version ranges are enumerated per stable branch by the eight git.kernel.org stable commits (10fe967e, 11f6066a, 21f4d45e, 402b6985, 48294a67, 566f8d5c, b6eb25d8, eeb43454), each backporting the fix to a different maintained tree. No CPE strings were provided in the input, so precise version boundaries must be read from the individual stable commits and distribution advisories. Canonical/Ubuntu has published fixed kernels in USN-8125-1 (https://ubuntu.com/security/notices/USN-8125-1) and USN-8126-1 (https://ubuntu.com/security/notices/USN-8126-1).

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected code is the Linux kernel IPv6 tunnel encapsulation driver (ip6_tunnel / ip6_tnl). When a tunnel transmits packets, it updates dev->needed_headroom - the amount of leading space the kernel reserves in each socket buffer (skb) for encapsulation headers. In stacked or looping tunnel configurations, each layer adds to the required headroom; the IPv4 tunnel code was previously fixed to prevent this value from growing without bound (commit 5ae1e9922bbd, 'net: ip_tunnel: prevent perpetual headroom growth'), but the equivalent IPv6 logic was never given the same ceiling, so needed_headroom could keep increasing. The upstream CVE record lists CWE as N/A; the root-cause class is best described as unbounded/uncontrolled resource consumption tied to a missing bounds check on a growing value. The issue was debugged by Francesco Ruggeri (Arista), who wrote an internal patch and reproducer.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 4.7 MEDIUM

Local CAP_NET_ADMIN principal (PR:L) triggering repeated tunnel operations (AC:H) causes unbounded headroom growth - an availability/resource issue (A:H) with no substantiated confidentiality or integrity impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 4.7 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 4.1 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Jul 30, 2026 - 08:41 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 30, 2026 - 08:39 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Patch released
Mar 28, 2026 - 19:31 nvd
Patch available
CVE Published
Nov 12, 2025 - 11:15 nvd
N/A

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2025-40173 affects the Linux kernel's IPv6 tunnel driver, creating a memory exhaustion vulnerability that could degrade network stability in organizations operating IPv6 tunnel infrastructure. While no public exploit has been identified and exploitation probability is negligible, the available patch should be prioritized to prevent potential service degradation and ensure operational resilience.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 79% exploitable
Prevalence
Ubiquitous
Linux kernel runs on a huge fraction of servers and devices
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/hpc/warewulf4-x86_64/sle-hpc-node:latest Image SLES15-SP6 Image SLES15-SP6-BYOS Image SLES15-SP6-BYOS-Azure Image SLES15-SP6-BYOS-EC2 Image SLES15-SP6-BYOS-GCE Image SLES15-SP6-CHOST-BYOS Image SLES15-SP6-CHOST-BYOS-Aliyun Image SLES15-SP6-CHOST-BYOS-Azure Image SLES15-SP6-CHOST-BYOS-EC2 Image SLES15-SP6-CHOST-BYOS-GCE Image SLES15-SP6-CHOST-BYOS-GDC Image SLES15-SP6-CHOST-BYOS-SAP-CCloud Image SLES15-SP6-EC2 Image SLES15-SP6-EC2-ECS-HVM Image SLES15-SP6-GCE Image SLES15-SP6-HPC-BYOS Image SLES15-SP6-HPC-BYOS-Azure Image SLES15-SP6-HPC-BYOS-EC2 Image SLES15-SP6-HPC-BYOS-GCE Image SLES15-SP6-HPC-EC2 Image SLES15-SP6-HPC-GCE Image SLES15-SP6-Hardened-BYOS Image SLES15-SP6-Hardened-BYOS-Azure Image SLES15-SP6-Hardened-BYOS-EC2 Image SLES15-SP6-Hardened-BYOS-GCE Image SLES15-SP6-SAP Image SLES15-SP6-SAP-Azure Image SLES15-SP6-SAP-EC2 Image SLES15-SP6-SAP-GCE Image SLES15-SP6-SAPCAL Image SLES15-SP6-SAPCAL-Azure Image SLES15-SP6-SAPCAL-EC2 Image SLES15-SP6-SAPCAL-GCE Affected
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.1/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.80 Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.114 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.82 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.116 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.55 Affected

References

Advisories & patches
ADVISORY https://ubuntu.com/security/notices/USN-8125-1 ADVISORY https://ubuntu.com/security/notices/USN-8126-1 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4393/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4422/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4505/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4515/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4516/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4517/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4521/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20012/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20015/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20021/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20039/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20059/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20334/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20473/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20478/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20496/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20519/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20562/ REF https://git.kernel.org/stable/c/10fe967efe73c610e526ff7460581610633dee9c REF https://git.kernel.org/stable/c/11f6066af3bfb8149aa16c42c0b0c5ea5b199a94 REF https://git.kernel.org/stable/c/21f4d45eba0b2dcae5dbc9e5e0ad08735c993f16 REF https://git.kernel.org/stable/c/402b6985e872b4cf394bbbf33b503947a326a6cb REF https://git.kernel.org/stable/c/48294a67863c9cfa367abb66bbf0ef6548ae124f REF https://git.kernel.org/stable/c/566f8d5c8a443f2dd69c5460fdec43ed1c870c65 REF https://git.kernel.org/stable/c/b6eb25d870f1a8ae571fd3da2244b71df547824b REF https://git.kernel.org/stable/c/eeb4345488672584db4f8c20a1ae13a212ce31c4

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy