Skip to contentSkip to conversation

CVE-2026-98526: llc: reserve device headroom for allocated frames

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-98526 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 2.6.34 with commit bf9ae5386bca8836c16e69ab8fdbe46767d7452a and fixed in 5.10.271 with commit 018020f5a48cc86fdd6dc2d380f6c70443ae7639
	Issue introduced in 2.6.34 with commit bf9ae5386bca8836c16e69ab8fdbe46767d7452a and fixed in 5.15.222 with commit 3a3f57c4061d9e9cc3bc04205d36ce41ae3406c1
	Issue introduced in 2.6.34 with commit bf9ae5386bca8836c16e69ab8fdbe46767d7452a and fixed in 6.1.189 with commit 7c38524b2b2456bd33cb360420da6cbf9cad1b33
	Issue introduced in 2.6.34 with commit bf9ae5386bca8836c16e69ab8fdbe46767d7452a and fixed in 6.6.158 with commit 1937222c2511ac91377d39f28106c34734f5f8c6
	Issue introduced in 2.6.34 with commit bf9ae5386bca8836c16e69ab8fdbe46767d7452a and fixed in 6.12.112 with commit 16ceac2daa89dd16917bc488ab05b9dd6961a603
	Issue introduced in 2.6.34 with commit bf9ae5386bca8836c16e69ab8fdbe46767d7452a and fixed in 6.18.55 with commit e06f8b6e27cc616d3c587e9784c4a033eb310a16
	Issue introduced in 2.6.34 with commit bf9ae5386bca8836c16e69ab8fdbe46767d7452a and fixed in 7.2.9 with commit 3361c93e417384ebf28003e0fb6d5304653d3b05
	Issue introduced in 2.6.34 with commit bf9ae5386bca8836c16e69ab8fdbe46767d7452a and fixed in 7.3-rc5 with commit 72b5b9a28b996e09b8b5b944370c79851bb68f52

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98526

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/llc/llc_sap.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/018020f5a48cc86fdd6dc2d380f6c70443ae7639
	https://git.kernel.org/stable/c/3a3f57c4061d9e9cc3bc04205d36ce41ae3406c1
	https://git.kernel.org/stable/c/7c38524b2b2456bd33cb360420da6cbf9cad1b33
	https://git.kernel.org/stable/c/1937222c2511ac91377d39f28106c34734f5f8c6
	https://git.kernel.org/stable/c/16ceac2daa89dd16917bc488ab05b9dd6961a603
	https://git.kernel.org/stable/c/e06f8b6e27cc616d3c587e9784c4a033eb310a16
	https://git.kernel.org/stable/c/3361c93e417384ebf28003e0fb6d5304653d3b05
	https://git.kernel.org/stable/c/72b5b9a28b996e09b8b5b944370c79851bb68f52