Skip to main content
Vulnerability Database/CVE-2026-98526

CVE-2026-98526: Linux Kernel LLC Buffer Overflow Vulnerability

CVE-2026-98526 is a buffer overflow vulnerability in the Linux kernel LLC component that affects headroom allocation for stacked Ethernet devices. This article covers technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98526 Overview

CVE-2026-98526 is a Linux kernel vulnerability in the Logical Link Control (LLC) subsystem. The llc_alloc_frame() function reserves link-layer headroom based on the device type rather than the actual required headroom. On stacked Ethernet devices such as VLAN interfaces, vlan_dev_hard_header() pushes an additional VLAN header before the lower device's Ethernet header. An LLC response transmitted on such a device can underflow the socket buffer (skb) headroom inside eth_header(), corrupting adjacent kernel memory.

Critical Impact

Headroom underflow in the LLC path on stacked Ethernet devices can lead to kernel memory corruption and potential denial of service for systems forwarding LLC traffic over VLAN interfaces.

Affected Products

  • Linux kernel LLC networking subsystem
  • Systems using LLC over stacked Ethernet devices (e.g., VLAN)
  • Multiple stable kernel branches referenced by backport commits

Discovery Timeline

  • 2026-10-18 - CVE-2026-98526 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-98526

Vulnerability Analysis

The LLC subsystem allocates frames via llc_alloc_frame(), which sizes the headroom reservation using the net device's declared type. This assumption breaks when the output path traverses a stacked device. For a VLAN interface, the transmit path pushes a 4-byte 802.1Q tag ahead of the Ethernet header created by the underlying device. When the LLC response reaches eth_header() on the lower device, the pre-reserved headroom is insufficient to accommodate both headers.

The result is an skb headroom underflow. Writes intended for the link-layer header overrun the beginning of the buffer, corrupting kernel-managed memory adjacent to the socket buffer data area. The patch replaces the device-type-based reservation with LL_RESERVED_SPACE(), which queries each device's actual needed_headroom while retaining the existing LLC device-type validation.

Root Cause

The root cause is an incorrect headroom calculation. llc_alloc_frame() reserves space for only the base Ethernet header rather than consulting the device's needed_headroom field. Stacked devices advertise additional headroom requirements that this allocation path ignored.

Attack Vector

Exploitation requires the ability to trigger LLC traffic over a VLAN or similarly stacked Ethernet device. On affected systems, a crafted or routine LLC exchange on such an interface can produce the underflow. The vulnerability is reachable from the local network segment that the LLC-capable interface is attached to. No code examples are published beyond the upstream patches; refer to the kernel commits linked below for the exact changes.

Detection Methods for CVE-2026-98526

Indicators of Compromise

  • Unexpected kernel warnings or skb_under_panic traces referencing eth_header or llc_alloc_frame in dmesg output.
  • Kernel oops or memory corruption reports originating from the LLC transmit path on VLAN interfaces.
  • Unexplained network stack instability on hosts configured with LLC services over 802.1Q VLAN devices.

Detection Strategies

  • Inventory kernel versions across the fleet and compare against the fixed stable branches referenced in the upstream commits.
  • Correlate kernel crash telemetry with hosts running LLC-dependent services (for example, legacy IPX, STP, or SNA emulators) over VLAN interfaces.
  • Review network configuration data to flag any host exposing LLC on stacked devices as higher priority for patching.

Monitoring Recommendations

  • Centralize kernel log collection and alert on skb_under_panic, BUG, or WARN entries involving eth_header or LLC call sites.
  • Monitor for kernel panics and unplanned reboots on hosts with VLAN interfaces carrying LLC traffic.
  • Track package versions through configuration management to ensure patched kernels are deployed and persistent across reboots.

How to Mitigate CVE-2026-98526

Immediate Actions Required

  • Apply the stable kernel update that includes the LLC headroom fix on all affected hosts.
  • Prioritize patching for systems that bind LLC services to VLAN or other stacked Ethernet interfaces.
  • Reboot patched systems to ensure the updated kernel is active in memory.

Patch Information

The fix replaces the device-type-based reservation in llc_alloc_frame() with LL_RESERVED_SPACE() to honor each device's actual needed_headroom. The change is distributed across multiple stable branches via the following commits: Kernel Patch Commit 018020f, Kernel Patch Commit 16ceac2, Kernel Patch Commit 1937222, Kernel Patch Commit 3361c9, Kernel Patch Commit 3a3f57, Kernel Patch Commit 72b5b9, Kernel Patch Commit 7c3852, and Kernel Patch Commit e06f8b6.

Workarounds

  • Disable or unload the llc and llc2 kernel modules on hosts that do not require LLC services.
  • Avoid binding LLC-dependent services to VLAN or other stacked Ethernet interfaces until patches are applied.
  • Restrict access to network segments carrying LLC traffic to trusted systems only.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.