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.
- BDU:2024-09199
- ALSA-2024:3306
- ALSA-2024:4211
- RHSA-2024:3306
- RHSA-2024:3460
- RHSA-2024:3461
- RHSA-2024:4447
- RHSA-2024:4740
- SUSE-SU-2024:3551-1
- SUSE-SU-2024:3553-1
- SUSE-SU-2024:3561-1
- SUSE-SU-2024:3564-1
- SUSE-SU-2024:3569-1
- SUSE-SU-2024:3587-1
- SUSE-SU-2024:3592-1
- SUSE-SU-2025:20073-1
- SUSE-SU-2025:20077-1
- Published
- Apr 4, 2024
- Updated
- Aug 12, 2026
- EPSS
- 0.2% · 16th percentile
- CWE
- CWE-416
Report tools
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.
Running WordPress? Scan your site free with WP Lens
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 helpAffected 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.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| debian | debian linux | cpe:2.3:o:debian:debian_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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:9 | bpftool | before 7.3.0-427.18.1.el9_4 | 7.3.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k-core | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-core | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-devel | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-modules | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k-devel | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k-devel-matched | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k-modules | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k-modules-core | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-64k-modules-extra | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-abi-stablelists | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-core | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-cross-headers | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-debug | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-debug-core | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-debug-devel | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-debug-devel-matched | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
| AlmaLinux:9 | kernel-debug-modules | before 5.14.0-427.18.1.el9_4 | 5.14.0-427.18.1.el9_4 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- 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 KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-26802Apr 4, 2024 · stmmac: Clear variable when destroying workqueue22Monitor
- ← EarlierCVE-2024-26803Apr 4, 2024 · net: veth: clear GRO when clearing XDP even when down22Monitor
- Later →CVE-2024-26806Apr 4, 2024 · spi: cadence-qspi: remove system-wide suspend helper calls from runtime PM hooks22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 049d7989c67e8dd50f07a2096dbafdb41331fb9b | Vendor (CNA) |
| Linux Linux | 2.6.34 | Vendor (CNA) |
| Linux Linux | 2e95350fe9db9d53c701075060ac8ac883b68aee | Vendor (CNA) |
| Linux Linux | 5ae1e9922bbdbaeb9cfbe91085ab75927488ac0f | Vendor (CNA) |
| Linux Linux | a0a1db40b23e8ff86dea2786c5ea1470bb23ecb9 | Vendor (CNA) |
| Linux Linux | ab63de24ebea36fe73ac7121738595d704b66d96 | Vendor (CNA) |
| Linux Linux | afec0c5cd2ed71ca95a8b36a5e6d03333bf34282 | Vendor (CNA) |
| Linux Linux | f81e94d2dcd2397137edcb8b85f4c5bed5d22383 | Vendor (CNA) |
| almalinux:bpftool | 7.3.0-427.18.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel | 5.14.0-427.18.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k | 5.14.0-427.18.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-core | 5.14.0-427.18.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug | 5.14.0-427.18.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-core | 5.14.0-427.18.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel | 5.14.0-427.18.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel-matched | 5.14.0-427.18.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules | 5.14.0-427.18.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-core | 5.14.0-427.18.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-extra | 5.14.0-427.18.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-devel | 5.14.0-427.18.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| debian:linux | 6.1.82-1 · Debian:12 | Package registry (OSV) |
| opensuse:dtb-aarch64 | 6.4.0-150600.23.25.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-64kb | 6.4.0-150600.23.25.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-azure | 6.4.0-150600.8.14.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-debug | 6.4.0-150600.23.25.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-default | 6.4.0-150600.23.25.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-default-base | 6.4.0-150600.23.25.1.150600.12.10.2 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-docs | 6.4.0-150600.23.25.2 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-kvmsmall | 6.4.0-150600.23.25.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-obs-build | 6.4.0-150600.23.25.2 · openSUSE:Leap 15.6 | Package 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.
Credits
All researchersFinders, 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.
- TR-24-0273 · Apr 5, 2024(Linux Kernel Güncellemesi)
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 FreeCVSS 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.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
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
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/2e95350fe9db9d53c701075060ac8ac883b68aee
- git.kernel.org/stable/c/5ae1e9922bbdbaeb9cfbe91085ab75927488ac0f
- git.kernel.org/stable/c/a0a1db40b23e8ff86dea2786c5ea1470bb23ecb9
- git.kernel.org/stable/c/ab63de24ebea36fe73ac7121738595d704b66d96
- git.kernel.org/stable/c/afec0c5cd2ed71ca95a8b36a5e6d03333bf34282
- git.kernel.org/stable/c/f81e94d2dcd2397137edcb8b85f4c5bed5d22383
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.