CVE-2024-26804
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-26804 is a vulnerability in the Linux kernel's ip_tunnel infrastructure that can cause dev->needed_headroom to increment indefinitely. The vulnerability was discovered in early 2024 and affects the Linux kernel's networking stack (Kernel Git).

Technical details

The vulnerability occurs in the ip_tunnel infrastructure where the needed_headroom value can grow without bounds. When packets are routed through nested tunnels (like GRE and IPIP), each tunnel's headroom requirements compound, leading to continuous growth of the needed_headroom value. This can eventually cause the skb->head/data distance to exceed 64KB, resulting in a wrap-around of the skb->network_header (u16) value during headroom expansion (Kernel Git).

Impact

When exploited, this vulnerability can cause skb->data to point to a memory location outside the skb->head allocated area, leading to a use-after-free condition. This occurs because when skb_network_offset() returns a negative offset, the unsigned __skb_pull() argument causes skb->data to be adjusted by a large value (NVD).

Exploitability

The vulnerability can be triggered when packets are routed through a specific configuration of nested tunnels. A proof-of-concept exists using syzkaller that demonstrates the issue by routing packets via a GRE tunnel with routes pointing to an IPIP tunnel (Kernel Git).

Mitigation and workarounds

The issue has been fixed by implementing a cap on the needed_headroom value to prevent perpetual growth. A maximum allowed value of 512 was introduced to prevent overflow of header offsets in skb_headers_offset_update() (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64597CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 06, 2026
CVE-2026-68480HIGH8.8
  • Linux Kernel logoLinux Kernel
  • rv
NoYesAug 06, 2026
CVE-2026-64598HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesAug 06, 2026
CVE-2026-64604HIGH7.7
  • Linux Kernel logoLinux Kernel
  • linux-hwe-5.15
NoYesAug 06, 2026
CVE-2026-64603NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.8
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management