Shellfeed logo Shellfeed

CVE-2026-98010 · UNKNOWN

Summary: net/sched: drr: clamp quantum in change class

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 7.3).

Details

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

net/sched: drr: clamp quantum in change class

drr_change_class() rejects explicit quantum==0 but falls back to
psched_mtu() with no floor. With a crafted size table qdisc_pkt_len
reaches ~2 GiB, so quantum=1 (or a zero psched_mtu on a headerless
device) makes the deficit-refill loop spin under the qdisc lock.

Add clamp_t(u32, quantum, 256, 1<<20) after the zero reject and on the
fallback path. The explicit-zero reject is preserved.

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

tc qdisc add dev dummy0 root drr
tc class add dev dummy0 parent 1: classid 1:1 drr quantum 1

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [13d2a1d2b032de08d7dcab6a1edcd47802681f96 – e2297bbf9cf6ece86f1d1f8c683517a994990f9e]
  • Linux Kernel [2.6.29 – 5.10.271] [5.11.0 – 5.15.222] [5.16.0 – 6.1.189] [6.2.0 – 6.6.158] [6.7.0 – 6.12.111] [6.13.0 – 6.18.53] [6.19.0 – 7.2.7]

References