# CVE-2026-98012: net/sched: sfq: clamp quantum in change path

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-09-25T10:23:35.934Z
- Modified: 2026-10-19T10:17:54.200Z
- Assigned by: Linux

## Description

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

net/sched: sfq: clamp quantum in change path

sfq_change() accepts any non-negative quantum (only rejects
(int)ctl->quantum < 0). 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, ...) matching fq_codel_change(). Reject quantum > 1<<20
with -EINVAL, matching fq_codel_change() and the init clamp.

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

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

(As written by CVE List.)

## Affected

- Linux Linux: from 4919649699c5f4dbae08b8e2ed536fc9d6c3c2aa before 4117c528b2de5fdc3e4a7e3626815b616a635cdc; from 548cf048b426729a7a1fa6acd1271c010c9a7380 before f82fa6f10d4a69322cad0f7a4aa523ce6292a5a0; from c49ac48fac51a6a54efd5963954d02bacf075085 before 0692ce5a528df450d64e9f819054177e9d91076f; from 58ae7465f0e7113d45aa88a66bf2d203c71c195e before e4192bcf83aaab02129644ddf4656fd86e93751f; from 82bd38bd5467ece1ee274b493f51326cf5220a5a before f3820dce042a673fcb28cc31c87ee14257e21a17; from e4650d7ae4252f67e997a632adfae0dd74d3a99a before 534cd7ecbbc6e8a974f4003a5c1557439c6e0a72; from e4650d7ae4252f67e997a632adfae0dd74d3a99a before e6c1cb728e389354203a72bc77464c222a247aeb; from e4650d7ae4252f67e997a632adfae0dd74d3a99a before fb9f88a33c516ea5c0bcd9a22ca288b246b34567; 843cacb88f42f426973f1ed11c6fb562558efb27; from 5.10.239 before 5.10.271; from 5.15.186 before 5.15.222; from 6.1.129 before 6.1.189; and 4 more (not affected: before 6.13; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/4117c528b2de5fdc3e4a7e3626815b616a635cdc>
- <https://git.kernel.org/stable/c/f82fa6f10d4a69322cad0f7a4aa523ce6292a5a0>
- <https://git.kernel.org/stable/c/0692ce5a528df450d64e9f819054177e9d91076f>
- <https://git.kernel.org/stable/c/e4192bcf83aaab02129644ddf4656fd86e93751f>
- <https://git.kernel.org/stable/c/f3820dce042a673fcb28cc31c87ee14257e21a17>
- <https://git.kernel.org/stable/c/534cd7ecbbc6e8a974f4003a5c1557439c6e0a72>
- <https://git.kernel.org/stable/c/e6c1cb728e389354203a72bc77464c222a247aeb>
- <https://git.kernel.org/stable/c/fb9f88a33c516ea5c0bcd9a22ca288b246b34567>

## Sources

- CVE List: [CVE-2026-98012](https://www.cve.org/CVERecord?id=CVE-2026-98012), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98012](https://nvd.nist.gov/vuln/detail/CVE-2026-98012), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98012 · Whole record: https://cve.day/CVE-2026-98012.json · Rebuilt by cve.day 2026-11-25T22:59:41.021Z
