Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2024-26804: net: ip_tunnel: prevent perpetual headroom growth

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.24% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: Linux Linux 049d7989c67e8dd50f07a2096dbafdb41331fb9b, 2.6.34, 2e95350fe9db9d53c701075060ac8ac883b68aee.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to Linux Linux 049d7989c67e8dd50f07a2096dbafdb41331fb9b, 2.6.34, 2e95350fe9db9d53c701075060ac8ac883b68aee or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

In the Linux kernel, the following vulnerability has been resolved: net: ip_tunnel: prevent perpetual headroom growth syzkaller triggered following kasan splat: BUG: KASAN: use-after-free in __skb_flow_dissect+0x19d1/0x7a50 net/core/flow_dissector.c:1170 Read of size 1 at addr ffff88812fb4000e by task syz-executor183/5191 [..] kasan_report+0xda/0x110 mm/kasan/report.c:588 __skb_flow_dissect+0x19d1/0x7a50 net/core/flow_dissector.c:1170 skb_flow_dissect_flow_keys include/linux/skbuff.h:1514 [inline] ___skb_get_hash net/core/flow_dissector.c:1791 [inline] __skb_get_hash+0xc7/0x540 net/core/flow_dissector.c:1856 skb_get_hash include/linux/skbuff.h:1556 [inline] ip_tunnel_xmit+0x1855/0x33c0 net/ipv4/ip_tunnel.c:748 ipip_tunnel_xmit+0x3cc/0x4e0 net/ipv4/ipip.c:308 __netdev_start_xmit include/linux/netdevice.h:4940 [inline] netdev_start_xmit include/linux/netdevice.h:4954 [inline] xmit_one net/core/dev.c:3548 [inline] dev_hard_start_xmit+0x13d/0x6d0 net/core/dev.c:3564 __dev_queue_xmit+0x7c1/0x3d60 net/core/dev.c:4349 dev_queue_xmit include/linux/netdevice.h:3134 [inline] neigh_connected_output+0x42c/0x5d0 net/core/neighbour.c:1592 ... ip_finish_output2+0x833/0x2550 net/ipv4/ip_output.c:235 ip_finish_output+0x31/0x310 net/ipv4/ip_output.c:323 .. iptunnel_xmit+0x5b4/0x9b0 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x1dbc/0x33c0 net/ipv4/ip_tunnel.c:831 ipgre_xmit+0x4a1/0x980 net/ipv4/ip_gre.c:665 __netdev_start_xmit include/linux/netdevice.h:4940 [inline] netdev_start_xmit include/linux/netdevice.h:4954 [inline] xmit_one net/core/dev.c:3548 [inline] dev_hard_start_xmit+0x13d/0x6d0 net/core/dev.c:3564 ... The splat occurs because skb->data points past skb->head allocated area. This is because neigh layer does: __skb_pull(skb, skb_network_offset(skb)); ... but skb_network_offset() returns a negative offset and __skb_pull() arg is unsigned. IOW, we skb->data gets "adjusted" by a huge value. The negative value is returned because skb->head and skb->data distance is more than 64k and skb->network_header (u16) has wrapped around. The bug is in the ip_tunnel infrastructure, which can cause dev->needed_headroom to increment ad infinitum. The syzkaller reproducer consists of packets getting routed via a gre tunnel, and route of gre encapsulated packets pointing at another (ipip) tunnel. The ipip encapsulation finds gre0 as next output device. This results in the following pattern: 1). First packet is to be sent out via gre0. Route lookup found an output device, ipip0. 2). ip_tunnel_xmit for gre0 bumps gre0->needed_headroom based on the future output device, rt.dev->needed_headroom (ipip0). 3). ip output / start_xmit moves skb on to ipip0. which runs the same code path again (xmit recursion). 4). Routing step for the post-gre0-encap packet finds gre0 as output device to use for ipip0 encapsulated packet. tunl0->needed_headroom is then incremented based on the (already bumped) gre0 device headroom. This repeats for every future packet: gre0->needed_headroom gets inflated because previous packets' ipip0 step incremented rt->dev (gre0) headroom, and ipip0 incremented because gre0 needed_headroom was increased. For each subsequent packet, gre/ipip0->needed_headroom grows until post-expand-head reallocations result in a skb->head/data distance of more than 64k. Once that happens, skb->network_header (u16) wraps around when pskb_expand_head tries to make sure that skb_network_offset() is unchanged after the headroom expansion/reallocation. After this skb_network_offset(skb) returns a different (and negative) result post headroom expansion. The next trip to neigh layer (or anything else that would __skb_pull the network header) makes skb->data point to a memory location outside skb->head area. v2: Cap the needed_headroom update to an arbitarily chosen upperlimit to prevent perpetual increase instead of dropping the headroom increment completely.

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Apr 4, 2024
Updated
Aug 12, 2026
EPSS
0.2% · 16th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · Linux
7.8
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-26804

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • linux linux kernel5.5 and later · before 5.10.212
  • linux linux kernel5.11 and later · before 5.15.151
  • linux linux kernel5.16 and later · before 6.1.81
  • linux linux kernel2.6.34 and later · before 5.4.271
  • linux linux kernel6.7 and later · before 6.7.9
  • linux linux kernel6.2 and later · before 6.6.21
  • linux linux kernel6.8

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 03017375b0122453e6dda833ff7bd4191915def5, 2.6.34affected
    • 243aad830e8a4cdda261626fbaeddde16b08d04a and later · before f81e94d2dcd2397137edcb8b85f4c5bed5d22383affected · git
    • 243aad830e8a4cdda261626fbaeddde16b08d04a and later · before 2e95350fe9db9d53c701075060ac8ac883b68aeeaffected · git
    • 243aad830e8a4cdda261626fbaeddde16b08d04a and later · before afec0c5cd2ed71ca95a8b36a5e6d03333bf34282affected · git
    • 243aad830e8a4cdda261626fbaeddde16b08d04a and later · before ab63de24ebea36fe73ac7121738595d704b66d96affected · git
    • 243aad830e8a4cdda261626fbaeddde16b08d04a and later · before a0a1db40b23e8ff86dea2786c5ea1470bb23ecb9affected · git
    • 243aad830e8a4cdda261626fbaeddde16b08d04a and later · before 049d7989c67e8dd50f07a2096dbafdb41331fb9baffected · git
    • 243aad830e8a4cdda261626fbaeddde16b08d04a and later · before 5ae1e9922bbdbaeb9cfbe91085ab75927488ac0faffected · git
    • 2.6.33.2 and later · before 2.6.34affected · semver
    • before 2.6.34not affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:9bpftoolbefore 7.3.0-427.18.1.el9_47.3.0-427.18.1.el9_4
AlmaLinux:9kernelbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64kbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64k-corebefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64k-debugbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64k-debug-corebefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64k-debug-develbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64k-debug-devel-matchedbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64k-debug-modulesbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64k-debug-modules-corebefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64k-debug-modules-extrabefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64k-develbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64k-devel-matchedbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64k-modulesbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64k-modules-corebefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-64k-modules-extrabefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-abi-stablelistsbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-corebefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-cross-headersbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-debugbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-debug-corebefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-debug-develbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-debug-devel-matchedbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4
AlmaLinux:9kernel-debug-modulesbefore 5.14.0-427.18.1.el9_45.14.0-427.18.1.el9_4

+96

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2024-26802Apr 4, 2024 · stmmac: Clear variable when destroying workqueue
    22Monitor
  • ← EarlierCVE-2024-26803Apr 4, 2024 · net: veth: clear GRO when clearing XDP even when down
    22Monitor
  • Later →CVE-2024-26806Apr 4, 2024 · spi: cadence-qspi: remove system-wide suspend helper calls from runtime PM hooks
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux049d7989c67e8dd50f07a2096dbafdb41331fb9bVendor (CNA)
Linux Linux2.6.34Vendor (CNA)
Linux Linux2e95350fe9db9d53c701075060ac8ac883b68aeeVendor (CNA)
Linux Linux5ae1e9922bbdbaeb9cfbe91085ab75927488ac0fVendor (CNA)
Linux Linuxa0a1db40b23e8ff86dea2786c5ea1470bb23ecb9Vendor (CNA)
Linux Linuxab63de24ebea36fe73ac7121738595d704b66d96Vendor (CNA)
Linux Linuxafec0c5cd2ed71ca95a8b36a5e6d03333bf34282Vendor (CNA)
Linux Linuxf81e94d2dcd2397137edcb8b85f4c5bed5d22383Vendor (CNA)
almalinux:bpftool7.3.0-427.18.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel5.14.0-427.18.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k5.14.0-427.18.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-core5.14.0-427.18.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug5.14.0-427.18.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-core5.14.0-427.18.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-devel5.14.0-427.18.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-devel-matched5.14.0-427.18.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules5.14.0-427.18.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules-core5.14.0-427.18.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules-extra5.14.0-427.18.1.el9_4 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-devel5.14.0-427.18.1.el9_4 · AlmaLinux:9Package registry (OSV)
debian:linux6.1.82-1 · Debian:12Package registry (OSV)
opensuse:dtb-aarch646.4.0-150600.23.25.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-64kb6.4.0-150600.23.25.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-azure6.4.0-150600.8.14.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-debug6.4.0-150600.23.25.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-default6.4.0-150600.23.25.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-default-base6.4.0-150600.23.25.1.150600.12.10.2 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-docs6.4.0-150600.23.25.2 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-kvmsmall6.4.0-150600.23.25.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:kernel-obs-build6.4.0-150600.23.25.2 · openSUSE:Leap 15.6Package registry (OSV)

+28

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

CWE-416 · Use After Free

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-secondary

Root cause

After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records