CVE-2026-98011 PUBLISHED

net/sched: hhf: clamp quantum in change and init paths

Assigner: Linux
Reserved: 25.09.2026 Published: 25.09.2026 Updated: 25.09.2026

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

net/sched: hhf: clamp quantum in change and init paths

hhf_change() accepts any quantum from userspace, including 1. With a crafted size table qdisc_pkt_len reaches ~2 GiB, so quantum=1 makes the deficit-refill loop spin ~2^31 times under the qdisc lock (a soft lockup / denial of service).

Add max(256U, ...) in hhf_change() matching fq_codel_change(). Clamp hhf_init() to [256, 1<<20] matching the siblings, and remove the old fallback that only set quantum=256 on overflow.

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

tc qdisc add dev dummy0 root hhf tc qdisc change dev dummy0 root hhf quantum 1 stab data 32768 size_log 15 cell_log 0

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 10239edf86f137ce4c39b62ea9575e8053c549a0 to 1113b674307ffddd402524bd1fd9d7d5629b705b (excl.)
  • affected from 10239edf86f137ce4c39b62ea9575e8053c549a0 to 2e77947bbf6c166e76c038663832d0914418f761 (excl.)
  • affected from 10239edf86f137ce4c39b62ea9575e8053c549a0 to 0898c6f9fa9ce2632ae88bd0f34a878ccc6335af (excl.)
  • affected from 10239edf86f137ce4c39b62ea9575e8053c549a0 to eb56a495f59baf6cad5ed80e3ffb9078098b1346 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.14 is affected
  • unaffected from 0 to 3.14 (excl.)
  • unaffected from 6.12.111 to 6.12.* (incl.)
  • unaffected from 6.18.53 to 6.18.* (incl.)
  • unaffected from 7.2.7 to 7.2.* (incl.)
  • unaffected from 7.3-rc3 to * (incl.)

References