KernelScan.io

HIGH Introduced in 2.6.34

llc VlanHeadroom Underflow

CVE-2026-98526

CVSS 7.8 / 10.0 KernelScan AI

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

01

In the Linux kernel, the following vulnerability has been resolved: llc: reserve device headroom for allocated frames llc_alloc_frame() reserves link-layer headroom using the device type. This is insufficient for stacked Ethernet devices such as VLAN devices, where vlan_dev_hard_header() pushes a VLAN header before the lower device's Ethernet header. An LLC response on such a device can therefore underflow skb headroom in eth_header(). Use LL_RESERVED_SPACE() to account for the device's actual required headroom while preserving the existing LLC device-type check.

02

Engine v0.9.0

Risk summary

A local attacker with the ability to create VLAN interfaces and send LLC frames can trigger a kernel buffer underflow, leading to memory corruption, privilege escalation, or denial of service. The vulnerability affects any system with LLC and VLAN (802.1Q) support enabled.

Affectednet/llc/llc_sap.c (llc subsystem)

Vulnerability analysis

The LLC subsystem allocates socket buffers for outgoing frames but calculates the required link-layer headroom based only on the device type (Ethernet or loopback), ignoring additional encapsulation layers. On stacked devices such as VLAN interfaces, the VLAN driver pushes a 4-byte tag before the Ethernet header, so the reserved headroom is too small. When the Ethernet header is written, it underflows the buffer's headroom, corrupting adjacent memory. The fix changes the headroom calculation to use LL_RESERVED_SPACE(), which queries the device's actual needed_headroom value and correctly accounts for VLAN and other stacked encapsulations. A local user who can create a VLAN interface (requiring CAP_NET_ADMIN, obtainable in a user namespace) and transmit LLC frames can trigger the bug; no network proximity or user interaction is needed.

03

BranchIntroducedFixed inPatch commit
5.102.6.345.10.271018020f5a48c
5.152.6.345.15.2223a3f57c4061d
6.12.6.346.1.1897c38524b2b24
6.122.6.346.12.11216ceac2daa89
6.182.6.346.18.55e06f8b6e27cc
6.62.6.346.6.1581937222c2511
7.22.6.347.2.93361c93e4173
mainline2.6.347.372b5b9a28b99
cip/5.102.6.345.10.271-cip78018020f5a48c
cip/5.10-rt2.6.345.10.272-cip79-rt35018020f5a48c
cip/6.12.6.346.1.189-cip617c38524b2b24
cip/6.1-rt2.6.346.1.189-cip61-rt327c38524b2b24
cip/6.122.6.346.12.112-cip3316ceac2daa89

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.271-cip78
cip/5.10-rtFixed in 5.10.272-cip79-rt35
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip136)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)
cip/4.4Affected — no CIP fix yet (latest 4.4.302-cip115)
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)