Skip to contentSkip to conversation

CVE-2026-98009: net/sched: ets: clamp quantum in parse and fallback paths

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

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

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

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

net/sched: ets: clamp quantum in parse and fallback paths

ets_qdisc_change() falls back to psched_mtu() with no floor for bands without an explicit quantum. With a crafted size table qdisc_pkt_len reaches ~2 GiB, so a zero psched_mtu on a headerless device makes the deficit-refill loop spin under the qdisc lock.

Move the floor into ets_quantum_parse() so explicitly configured quanta are also clamped to [256, 1<<20], not just the fallback path.

Conditions to recreate the bug:
CONFIG_NET_SCH_ETS=y. Requires CAP_NET_ADMIN (namespace-local via unshare -Urn suffices).

tc qdisc add dev dummy0 root ets bands 3 strict 2 quanta 1 1

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

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

	Issue introduced in 5.6 with commit dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 and fixed in 6.12.111 with commit 99ae477b892e203a37985ebc56f0063e072f7f4b
	Issue introduced in 5.6 with commit dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 and fixed in 6.18.53 with commit 8f80b113dea0bed3c1a31a4224b72775cd9ec52d
	Issue introduced in 5.6 with commit dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 and fixed in 7.2.7 with commit de22c30ec5598aca8797f02082d2ee1358dfa3ff
	Issue introduced in 5.6 with commit dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 and fixed in 7.3-rc3 with commit 1c38487f46b243bfeefec0c0c86023a3904f2214

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-98009

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/sched/sch_ets.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/99ae477b892e203a37985ebc56f0063e072f7f4b
	https://git.kernel.org/stable/c/8f80b113dea0bed3c1a31a4224b72775cd9ec52d
	https://git.kernel.org/stable/c/de22c30ec5598aca8797f02082d2ee1358dfa3ff
	https://git.kernel.org/stable/c/1c38487f46b243bfeefec0c0c86023a3904f2214