{"id":"CVE-2026-98012","aliases":["CVE-2026-98012"],"related":[],"kind":"vulnerability","state":"published","title":"net/sched: sfq: clamp quantum in change path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: sfq: clamp quantum in change path\n\nsfq_change() accepts any non-negative quantum (only rejects\n(int)ctl->quantum < 0). With a crafted size table qdisc_pkt_len reaches\n~2 GiB, so quantum=1 makes the deficit-refill loop spin ~2^31 times\nunder the qdisc lock (a soft lockup / denial of service).\n\nAdd max(256U, ...) matching fq_codel_change(). Reject quantum > 1<<20\nwith -EINVAL, matching fq_codel_change() and the init clamp.\n\nConditions to recreate the bug:\n  CONFIG_NET_SCH_SFQ=y. Requires CAP_NET_ADMIN (namespace-local via\n  unshare -Urn suffices).\n\n  tc qdisc add dev dummy0 root sfq\n  tc qdisc change dev dummy0 root sfq quantum 1 stab data 32768 size_log 15 cell_log 0","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: sfq: clamp quantum in change path\n\nsfq_change() accepts any non-negative quantum (only rejects\n(int)ctl->quantum < 0). With a crafted size table qdisc_pkt_len reaches\n~2 GiB, so quantum=1 makes the deficit-refill loop spin ~2^31 times\nunder the qdisc lock (a soft lockup / denial of service).\n\nAdd max(256U, ...) matching fq_codel_change(). Reject quantum > 1<<20\nwith -EINVAL, matching fq_codel_change() and the init clamp.\n\nConditions to recreate the bug:\n  CONFIG_NET_SCH_SFQ=y. Requires CAP_NET_ADMIN (namespace-local via\n  unshare -Urn suffices).\n\n  tc qdisc add dev dummy0 root sfq\n  tc qdisc change dev dummy0 root sfq quantum 1 stab data 32768 size_log 15 cell_log 0","source":"cvelist"}],"published":"2026-09-25T10:23:35.934Z","modified":"2026-10-19T10:17:54.200Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4919649699c5f4dbae08b8e2ed536fc9d6c3c2aa","fixed":"4117c528b2de5fdc3e4a7e3626815b616a635cdc","status":"affected"},{"type":"git","introduced":"548cf048b426729a7a1fa6acd1271c010c9a7380","fixed":"f82fa6f10d4a69322cad0f7a4aa523ce6292a5a0","status":"affected"},{"type":"git","introduced":"c49ac48fac51a6a54efd5963954d02bacf075085","fixed":"0692ce5a528df450d64e9f819054177e9d91076f","status":"affected"},{"type":"git","introduced":"58ae7465f0e7113d45aa88a66bf2d203c71c195e","fixed":"e4192bcf83aaab02129644ddf4656fd86e93751f","status":"affected"},{"type":"git","introduced":"82bd38bd5467ece1ee274b493f51326cf5220a5a","fixed":"f3820dce042a673fcb28cc31c87ee14257e21a17","status":"affected"},{"type":"git","introduced":"e4650d7ae4252f67e997a632adfae0dd74d3a99a","fixed":"534cd7ecbbc6e8a974f4003a5c1557439c6e0a72","status":"affected"},{"type":"git","introduced":"e4650d7ae4252f67e997a632adfae0dd74d3a99a","fixed":"e6c1cb728e389354203a72bc77464c222a247aeb","status":"affected"},{"type":"git","introduced":"e4650d7ae4252f67e997a632adfae0dd74d3a99a","fixed":"fb9f88a33c516ea5c0bcd9a22ca288b246b34567","status":"affected"},{"type":"git","version":"843cacb88f42f426973f1ed11c6fb562558efb27","status":"affected"},{"type":"semver","introduced":"5.10.239","fixed":"5.10.271","status":"affected"},{"type":"semver","introduced":"5.15.186","fixed":"5.15.222","status":"affected"},{"type":"semver","introduced":"6.1.129","fixed":"6.1.189","status":"affected"},{"type":"semver","introduced":"6.6.76","fixed":"6.6.158","status":"affected"},{"type":"semver","introduced":"6.12.13","fixed":"6.12.111","status":"affected"},{"type":"semver","introduced":"5.4.297","fixed":"5.5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4117c528b2de5fdc3e4a7e3626815b616a635cdc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f82fa6f10d4a69322cad0f7a4aa523ce6292a5a0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0692ce5a528df450d64e9f819054177e9d91076f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e4192bcf83aaab02129644ddf4656fd86e93751f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f3820dce042a673fcb28cc31c87ee14257e21a17","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/534cd7ecbbc6e8a974f4003a5c1557439c6e0a72","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e6c1cb728e389354203a72bc77464c222a247aeb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb9f88a33c516ea5c0bcd9a22ca288b246b34567","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98012","url":"https://www.cve.org/CVERecord?id=CVE-2026-98012","licence":"CVE Terms of Use","modified":"2026-10-19T09:12:17.681Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98012","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98012","licence":"Public domain","modified":"2026-10-19T10:17:54.200Z"}],"updatedAt":"2026-11-25T22:59:41.021Z","epss":{"score":0.00177,"percentile":0.07546,"date":"2026-12-01T12:00:22.000Z"}}