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
Share

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
qualitative

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

7
Analysis Updated
Jul 30, 2026 - 08:41 vuln.today
v3 (cvss_changed)
Analysis Updated
Jul 30, 2026 - 08:39 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jul 30, 2026 - 06:37 vuln.today
cvss_changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Patch released
Mar 28, 2026 - 19:31 nvd
Patch available
Analysis Generated
Mar 28, 2026 - 19:21 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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).

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.

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

Share

CVE-2025-40173 vulnerability details – vuln.today

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