Kernel memory disclosure and corruption via tunnel recursion
Published Apr 4, 2024 · Updated Aug 12, 2026
Use-after-free in the Linux kernel allows local users to read and corrupt kernel memory through recursive GRE and IPIP tunnels. Recursive ip_tunnel_xmit calls continually increase needed_headroom until the 16-bit network_header wraps and a negative offset is passed to an unsigned pull operation, moving skb->data outside its allocation. Reaching the flaw requires creation of a GRE-to-IPIP routing cycle in a private network namespace; the resulting primitive can disclose kernel memory and corrupt adjacent kernel objects.
Summary
What happened
Use-after-free in the Linux kernel allows local users to read and corrupt kernel memory through recursive GRE and IPIP tunnels. Recursive ip_tunnel_xmit calls continually increase needed_headroom until the 16-bit network_header wraps and a negative offset is passed to an unsigned pull operation, moving skb->data outside its allocation. Reaching the flaw requires creation of a GRE-to-IPIP routing cycle in a private network namespace; the resulting primitive can disclose kernel memory and corrupt adjacent kernel objects.
The record
- CVE
- CVE-2024-26804
- Published
- Apr 4, 2024
- Updated
- Aug 12, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 4, 2024CVE publishedPublication date reported by the CVE source.
- Aug 12, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=03017375b0122453e6dda833ff7bd4191915def5
- Affected versionversion=243aad830e8a4cdda261626fbaeddde16b08d04a <049d7989c67e8dd50f07a2096dbafdb41331fb9b
- Affected versionversion=243aad830e8a4cdda261626fbaeddde16b08d04a <2e95350fe9db9d53c701075060ac8ac883b68aee
- Affected versionversion=243aad830e8a4cdda261626fbaeddde16b08d04a <5ae1e9922bbdbaeb9cfbe91085ab75927488ac0f
- Affected versionversion=243aad830e8a4cdda261626fbaeddde16b08d04a <a0a1db40b23e8ff86dea2786c5ea1470bb23ecb9
- Affected versionversion=243aad830e8a4cdda261626fbaeddde16b08d04a <ab63de24ebea36fe73ac7121738595d704b66d96
- Affected versionversion=243aad830e8a4cdda261626fbaeddde16b08d04a <afec0c5cd2ed71ca95a8b36a5e6d03333bf34282
- Affected versionversion=243aad830e8a4cdda261626fbaeddde16b08d04a <f81e94d2dcd2397137edcb8b85f4c5bed5d22383
- Affected versionversion=2.6.33.2 <2.6.34
- Affected versionversion=2.6.34
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo