Skip to main content

Linux Kernel CVE-2024-35888

HIGH
Use of Uninitialized Resource (CWE-908)
2024-05-19 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.3
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Route GRE packet to ERSPAN-configured Linux host
  2. Delivery
    Craft non-linear skb with erspan_base_hdr in page fragment
  3. Exploit
    ip6erspan_rcv() reads ver field without pskb_may_pull()
  4. Execution
    Access uninitialized kernel memory
  5. Impact
    Leak heap contents or trigger kernel panic

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
Exploitation Conditions

Exploitation requires the target system to have an ERSPAN tunnel interface configured and active - this is a non-default, administrator-provisioned setup used for network traffic mirroring and monitoring. The ip6erspan_rcv() code path is only entered when the kernel is processing GRE-encapsulated IPv6 packets destined for an ERSPAN endpoint; systems without ERSPAN tunnel configuration are unreachable via this path regardless of network exposure. The CVSS PR:N indicates no attacker-side authentication is required - any host capable of routing GRE (IP protocol 47) packets to the target can trigger the flaw. Exploitation is bounded by: (1) ERSPAN tunnel interface presence on the target, (2) network reachability to the ERSPAN listener on IP protocol 47, and (3) kernel version preceding the fix commits. Systems using only IPv4 ERSPAN (erspan_rcv) are also affected via a parallel missing check in ip_gre.c.

Impact

The NVD-assigned CVSS of 7.3 with AV:N/AC:L/PR:N overstates practical risk. The attack is only reachable on systems explicitly configured to receive ERSPAN tunnel traffic - a non-default, administrator-provisioned deployment not present in typical Linux installs. This mandatory configuration prerequisite elevates effective attack complexity beyond what AC:L implies. The EPSS score of 0.01% (1st percentile) is consistent with low exploitation probability, and the absence from CISA KEV and lack of any identified public POC reinforce this. The primary real-world impact is information disclosure (uninitialized kernel heap bytes readable by a remote attacker) and a secondary potential kernel panic. The NVD CVSS vector AV:N/AC:L conflicts with the description's implied ERSPAN configuration requirement - this inconsistency should be verified against the vendor advisory. For organizations running ERSPAN-based network monitoring infrastructure this warrants patching; for the broad Linux population it is low urgency.

Exploit ScenarioDerived

An attacker with network access to a Linux host configured as an ERSPAN receiver sends a crafted GRE-encapsulated IPv6 ERSPAN packet with a non-linear socket buffer layout, such that erspan_base_hdr falls outside the skb->head linear region. The kernel's ip6erspan_rcv() reads the ver field from uninitialized memory without the pskb_may_pull() guard, potentially disclosing kernel heap bytes to the attacker or triggering a kernel panic. No public POC exists, but syzbot's reproduction via the tun device demonstrates the trigger path is reachable from userspace-injected packets.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Aug 04, 2026

Uninitialized memory read in the Linux kernel's ERSPAN IPv6 receive path exposes kernel heap contents and may trigger a denial of service on systems acting as ERSPAN monitoring endpoints. Affected kernels fail to call pskb_may_pull() before accessing erspan_base_hdr in ip6erspan_rcv() and erspan_rcv(), allowing a network-adjacent attacker to cause reads from uninitialized socket buffer memory. No public exploit code exists and the EPSS score of 0.01% (1st percentile) reflects negligible observed exploitation interest; this is not listed in the CISA KEV catalog.

Earlier versions of this analysis (2)
v2 Aug 04, 2026 - 12:33 cvss changed CVSS 7.3

Missing pskb_may_pull() validation in the Linux kernel's ERSPAN tunnel receive path allows a network attacker to trigger use of uninitialized kernel memory in both the IPv4 erspan_rcv() and IPv6 ip6erspan_rcv() functions. Systems running Linux kernel versions up to 6.9-rc2 with ERSPAN tunnel interfaces configured are affected. A crafted ERSPAN packet can cause the kernel to read the erspan_base_hdr version field before the header is guaranteed present in the socket buffer's linear memory, potentially leaking kernel memory contents or causing a kernel panic. No active exploitation is confirmed (not in CISA KEV) and EPSS sits at the 1st percentile, indicating very low real-world exploitation pressure despite the High CVSS score.

v1 Aug 04, 2026 - 12:32 cvss changed CVSS 7.3

Uninitialized memory read in the Linux kernel's ERSPAN tunnel receive path exposes systems running ERSPAN-configured interfaces to remote information disclosure and potential denial of service. The flaw, discovered by syzbot fuzzing, resides in ip6erspan_rcv() and erspan_rcv() (net/ipv6/ip6_gre.c), where missing pskb_may_pull() calls allow access to the erspan_base_hdr @ver field before confirming the header is within the socket buffer's linear memory region. No public exploit code has been identified and EPSS is 0.01%, indicating very low observed exploitation interest; however, eight upstream stable kernel patch commits are available across multiple stable branches.

RemediationAI

Apply the upstream fix via the Linux kernel stable tree; eight patch commits are available at https://git.kernel.org/stable/c/06a939f72a24a7d8251f84cf4c042df86c6666ac and seven additional stable-branch commits (0ac328a5, 17af4205, 1db7fcb2, 4e3fdeec, b14b9f95, e54a0c79, ee008810). Debian users should apply updates through official security channels once the distribution packages the fix. An exact patched release version number was not independently confirmable from the provided reference data - verify with your distribution's security tracker. If patching is not immediately feasible and ERSPAN is not operationally required, remove ERSPAN tunnel interfaces (ip link del erspan0) or prevent module loading (echo 'install ip6_gre /bin/false' >> /etc/modprobe.d/blacklist.conf) as a compensating control; this disables all GRE-based tunneling, which will disrupt legitimate ERSPAN monitoring. Alternatively, firewall rules blocking IP protocol 47 (GRE) on external interfaces reduce exposure with the trade-off of breaking all GRE traffic.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ERSPAN (Encapsulated Remote SPAN) is a Cisco-originated protocol that tunnels mirrored network traffic inside GRE, commonly used in network monitoring architectures. The Linux kernel implements IPv6 ERSPAN receive handling in net/ipv6/ip6_gre.c (ip6erspan_rcv) and IPv4 in net/ipv4/ip_gre.c (erspan_rcv). Linux socket buffers (skbs) may be non-linear: headers can reside outside the contiguous skb->head region in paged fragments. The pskb_may_pull() function is the mandatory gate that linearizes a specified number of bytes into skb->head before header pointer arithmetic is safe; omitting it on the erspan_base_hdr structure allows the ver field to be read from uninitialized or arbitrary memory. The syzbot fuzzer caught this via KMSAN (Kernel Memory Sanitizer) producing an uninit-value report at net/ipv6/ip6_gre.c:541 during GRE packet ingestion. CWE-908 (Use of Uninitialized Resource) precisely describes the root cause: a resource is allocated and accessed before its relevant region is initialized or confirmed present in the linear buffer.

Know when Debian Linux gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.3 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 4.8 MEDIUM

ERSPAN tunnel configuration mandatory on target raises AC to High; AV:N and PR:N as attacker sends network packets; C:L for uninitialized heap read, A:L for potential crash, no integrity impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

6
Analysis Updated
Aug 04, 2026 - 12:35 vuln.today
v3 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:33 vuln.today
v2 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:32 vuln.today
v1 - CVSS changed
Severity Changed
Aug 04, 2026 - 11:23 NVD
MEDIUM HIGH
CVSS changed
Aug 04, 2026 - 11:23 NVD
5.5 (MEDIUM) 7.3 (HIGH)
CVE Published
May 19, 2024 - 09:15 cve.org
MEDIUM 5.5

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

erspan: make sure erspan_base_hdr is present in skb->head

syzbot reported a problem in ip6erspan_rcv() [1]

Issue is that ip6erspan_rcv() (and erspan_rcv()) no longer make sure erspan_base_hdr is present in skb linear part (skb->head) before getting @ver field from it.

Add the missing pskb_may_pull() calls.

v2: Reload iph pointer in erspan_rcv() after pskb_may_pull() because skb->head might have changed.

[1]

BUG: KMSAN: uninit-value in pskb_may_pull_reason include/linux/skbuff.h:2742 [inline] BUG: KMSAN: uninit-value in pskb_may_pull include/linux/skbuff.h:2756 [inline] BUG: KMSAN: uninit-value in ip6erspan_rcv net/ipv6/ip6_gre.c:541 [inline] BUG: KMSAN: uninit-value in gre_rcv+0x11f8/0x1930 net/ipv6/ip6_gre.c:610 pskb_may_pull_reason include/linux/skbuff.h:2742 [inline] pskb_may_pull include/linux/skbuff.h:2756 [inline] ip6erspan_rcv net/ipv6/ip6_gre.c:541 [inline] gre_rcv+0x11f8/0x1930 net/ipv6/ip6_gre.c:610 ip6_protocol_deliver_rcu+0x1d4c/0x2ca0 net/ipv6/ip6_input.c:438 ip6_input_finish net/ipv6/ip6_input.c:483 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] ip6_input+0x15d/0x430 net/ipv6/ip6_input.c:492 ip6_mc_input+0xa7e/0xc80 net/ipv6/ip6_input.c:586 dst_input include/net/dst.h:460 [inline] ip6_rcv_finish+0x955/0x970 net/ipv6/ip6_input.c:79 NF_HOOK include/linux/netfilter.h:314 [inline] ipv6_rcv+0xde/0x390 net/ipv6/ip6_input.c:310 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x1da/0xa00 net/core/dev.c:5652 netif_receive_skb_internal net/core/dev.c:5738 [inline] netif_receive_skb+0x58/0x660 net/core/dev.c:5798 tun_rx_batched+0x3ee/0x980 drivers/net/tun.c:1549 tun_get_user+0x5566/0x69e0 drivers/net/tun.c:2002 tun_chr_write_iter+0x3af/0x5d0 drivers/net/tun.c:2048 call_write_iter include/linux/fs.h:2108 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xb63/0x1520 fs/read_write.c:590 ksys_write+0x20f/0x4c0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x93/0xe0 fs/read_write.c:652 do_syscall_64+0xd5/0x1f0 entry_SYSCALL_64_after_hwframe+0x6d/0x75

Uninit was created at: slab_post_alloc_hook mm/slub.c:3804 [inline] slab_alloc_node mm/slub.c:3845 [inline] kmem_cache_alloc_node+0x613/0xc50 mm/slub.c:3888 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:577 __alloc_skb+0x35b/0x7a0 net/core/skbuff.c:668 alloc_skb include/linux/skbuff.h:1318 [inline] alloc_skb_with_frags+0xc8/0xbf0 net/core/skbuff.c:6504 sock_alloc_send_pskb+0xa81/0xbf0 net/core/sock.c:2795 tun_alloc_skb drivers/net/tun.c:1525 [inline] tun_get_user+0x209a/0x69e0 drivers/net/tun.c:1846 tun_chr_write_iter+0x3af/0x5d0 drivers/net/tun.c:2048 call_write_iter include/linux/fs.h:2108 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xb63/0x1520 fs/read_write.c:590 ksys_write+0x20f/0x4c0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x93/0xe0 fs/read_write.c:652 do_syscall_64+0xd5/0x1f0 entry_SYSCALL_64_after_hwframe+0x6d/0x75

CPU: 1 PID: 5045 Comm: syz-executor114 Not tainted 6.9.0-rc1-syzkaller-00021-g962490525cff #0

Executive ViewAI

Why It Matters

CVE-2024-35888 affects Linux kernel systems configured as ERSPAN (Encapsulated Remote SPAN) monitoring endpoints, creating a risk of kernel heap data exposure and potential service interruption through uninitialized memory reads. While the vulnerability carries a CVSS score of 7.3, the 0.01% EPSS score and absence of any documented exploitation indicate negligible real-world risk; patching is available and should be applied to affected systems on standard maintenance schedules.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Prevalence
Ubiquitous
Linux kernel present in virtually all Linux server and embedded deployments
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
CVE-2021-44228 CRITICAL POC
10.0 Dec 10

Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c

CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2017-7494 CRITICAL POC
9.8 May 30

Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2022-30333 HIGH POC
7.5 May 09

RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2017-12617 HIGH POC
8.1 Oct 04

When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT

CVE-2020-1938 CRITICAL POC
9.8 Feb 24

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate

CVE-2018-7602 CRITICAL POC
9.8 Jul 19

A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (

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