net/sched: sfq: clamp quantum to avoid signed overflow soft lockup (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 13 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: net/sched: sfq: clamp quantum to avoid signed overflow soft lockup sfq_init() sets q->quantum = psched_mtu(qdisc_dev(sch)) (unsigned). A device with a huge MTU (e.g. dummy with max_mtu == 0 accepting MTU 2147483634) makes psched_mtu() return 0x80000000, so slot->allot = INT_MIN and INT_MIN + INT_MIN toggles between INT_MIN and 0 forever, spinning sfq_dequeue() under the qdisc lock. Clamp the quantum to [256, 1 << 20] so the refill loop terminates. The lower bound also covers q->quantum == 0 (psched_mtu() returning 0), which spins sfq_dequeue() identically. sfq_change() already rejects a negative quantum, so only the init path was exposed. Conditions to recreate the bug: a device whose MTU (plus hard_header_len) wraps psched_mtu() into the sign bit (e.g. a dummy device with max_mtu == 0 accepting MTU 2147483634). Requires CAP_NET_ADMIN in a user namespace.
References
- https://git.kernel.org/stable/c/86799499585af06a9431c9e7782658667bd62650
- https://git.kernel.org/stable/c/2017c355a5a1af77736cd1739fe922f69b5652dc
- https://git.kernel.org/stable/c/6581a82bf08ba5d4e2a6d4e3080df43315b296c4
- https://git.kernel.org/stable/c/9d782c662879c3adaaca30e05c36910ad11b9e54
- https://git.kernel.org/stable/c/d72dbdfaeb5b9b8d884e0e036c3442754379ef74
- https://git.kernel.org/stable/c/aeb8196ecb95146e3410f635628e6cd47352b3e5
- https://git.kernel.org/stable/c/da16c31517cd2c06bb2c78c73e91ae192c01c426
- https://git.kernel.org/stable/c/816e90057ab1879562a5b7cc688e35bb9027ae97
European references
- ENISA EUVD · EUVD-2026-81933
- GCVE · GCVE-0-2026-90072
CERT-FR advisories
- CERTFR-2026-AVI-1676 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 86799499585af06a9431c9e7782658667bd62650 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2017c355a5a1af77736cd1739fe922f69b5652dc affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6581a82bf08ba5d4e2a6d4e3080df43315b296c4 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 9d782c662879c3adaaca30e05c36910ad11b9e54 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < d72dbdfaeb5b9b8d884e0e036c3442754379ef74 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < aeb8196ecb95146e3410f635628e6cd47352b3e5 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < da16c31517cd2c06bb2c78c73e91ae192c01c426 affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 816e90057ab1879562a5b7cc688e35bb9027ae97 Other versions : unaffected |
| Linux · Linux | affected : 2.6.12 unaffected : ≥ 0 < 2.6.12 unaffected : ≥ 5.10.270 ≤ 5.10.* unaffected : ≥ 5.15.221 ≤ 5.15.* unaffected : ≥ 6.1.188 ≤ 6.1.* unaffected : ≥ 6.6.157 ≤ 6.6.* unaffected : ≥ 6.12.110 ≤ 6.12.* unaffected : ≥ 6.18.52 ≤ 6.18.* unaffected : ≥ 7.2.6 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |