{"id":"CVE-2026-74284","aliases":["CVE-2026-74284"],"related":[],"kind":"vulnerability","state":"published","title":"net/sched: sch_hfsc: Don't make class passive twice","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: sch_hfsc: Don't make class passive twice\n\nupdate_vf() is called from two places for the same class during a single\ndequeue when the class's child qdisc (e.g. codel/fq_codel) drops its last\npackets while dequeuing:\n\n1. The child calls qdisc_tree_reduce_backlog(), which, now that the child\n   is empty, invokes hfsc_qlen_notify() -> update_vf(cl, 0, 0) and turns\n   the class passive (cl_nactive is decremented up the hierarchy).\n\n2. hfsc_dequeue() then calls update_vf(cl, qdisc_pkt_len(skb), cur_time)\n   to charge the dequeued bytes.\n\nOn the second call the class is already passive, but its child qdisc is\nstill empty, so update_vf() arms go_passive again:\n\n      if (cl->qdisc->q.qlen == 0 && cl->cl_flags & HFSC_FSC)\n              go_passive = 1;\n\nThe leaf is then skipped by the cl_nactive == 0 check inside the loop,\nwhich does not clear go_passive, so the stale go_passive propagates to the\nparent and decrements its cl_nactive a second time. A parent that still\nhas other active children is driven to cl_nactive == 0 and removed from\nthe vttree, even though those siblings are still backlogged. They are\nnever dequeued again and the qdisc stalls.\n\nFix this by only arming go_passive when the class is actually active, so an\nalready-passive class no longer triggers a second passive transition. The\nbyte accounting (cl->cl_total += len) still runs for every ancestor, so\ndequeued bytes continue to be counted exactly once.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: sch_hfsc: Don't make class passive twice\n\nupdate_vf() is called from two places for the same class during a single\ndequeue when the class's child qdisc (e.g. codel/fq_codel) drops its last\npackets while dequeuing:\n\n1. The child calls qdisc_tree_reduce_backlog(), which, now that the child\n   is empty, invokes hfsc_qlen_notify() -> update_vf(cl, 0, 0) and turns\n   the class passive (cl_nactive is decremented up the hierarchy).\n\n2. hfsc_dequeue() then calls update_vf(cl, qdisc_pkt_len(skb), cur_time)\n   to charge the dequeued bytes.\n\nOn the second call the class is already passive, but its child qdisc is\nstill empty, so update_vf() arms go_passive again:\n\n      if (cl->qdisc->q.qlen == 0 && cl->cl_flags & HFSC_FSC)\n              go_passive = 1;\n\nThe leaf is then skipped by the cl_nactive == 0 check inside the loop,\nwhich does not clear go_passive, so the stale go_passive propagates to the\nparent and decrements its cl_nactive a second time. A parent that still\nhas other active children is driven to cl_nactive == 0 and removed from\nthe vttree, even though those siblings are still backlogged. They are\nnever dequeued again and the qdisc stalls.\n\nFix this by only arming go_passive when the class is actually active, so an\nalready-passive class no longer triggers a second passive transition. The\nbyte accounting (cl->cl_total += len) still runs for every ancestor, so\ndequeued bytes continue to be counted exactly once.","source":"cvelist"}],"published":"2026-08-15T05:57:53.290Z","modified":"2026-11-06T17:19:45.513Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7","fixed":"a425c82ff06cda5165e0de3de8c2a445ec1f863e","status":"affected"},{"type":"git","introduced":"a5efc95a33bd4fcb879250852828cc58c7862970","fixed":"fc973ecd1a079b9a87c360478542f3a56dea085b","status":"affected"},{"type":"git","introduced":"0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87","fixed":"15720cd8fa3fc625146128f89a8e11b0449a20a7","status":"affected"},{"type":"git","introduced":"9030a91235ae4845ec71902c3e0cecfc9ed1f2df","fixed":"b2a017bfcf565721918ec7355a373911d2f2a227","status":"affected"},{"type":"git","introduced":"d06476714d2819b550e0cc39222347e2c8941c9d","fixed":"9221a594c72a1446137926d4c2aa04e345f798dc","status":"affected"},{"type":"git","introduced":"51eb3b65544c9efd6a1026889ee5fb5aa62da3bb","fixed":"66dbb13eeb2fc339f8f548a9076be4c1a94857b0","status":"affected"},{"type":"git","introduced":"51eb3b65544c9efd6a1026889ee5fb5aa62da3bb","fixed":"3a49bbae676fef1ffe548971e6229ae2adeb9d10","status":"affected"},{"type":"git","introduced":"51eb3b65544c9efd6a1026889ee5fb5aa62da3bb","fixed":"90b662ea25f5e83bb3b8ccec5b93ced810b92fb8","status":"affected"},{"type":"git","version":"9a5fd5c2f4d4afdd5e405083ee53e0789ce76956","status":"affected"},{"type":"git","version":"c1175c4ad01dbc9c979d099861fa90a754f72059","status":"affected"},{"type":"semver","introduced":"5.10.241","fixed":"5.10.261","status":"affected"},{"type":"semver","introduced":"5.15.190","fixed":"5.15.212","status":"affected"},{"type":"semver","introduced":"6.1.138","fixed":"6.1.178","status":"affected"},{"type":"semver","introduced":"6.6.90","fixed":"6.6.145","status":"affected"},{"type":"semver","introduced":"6.12.28","fixed":"6.12.97","status":"affected"},{"type":"semver","introduced":"5.4.297","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"6.14.6","fixed":"6.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","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/a425c82ff06cda5165e0de3de8c2a445ec1f863e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc973ecd1a079b9a87c360478542f3a56dea085b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/15720cd8fa3fc625146128f89a8e11b0449a20a7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b2a017bfcf565721918ec7355a373911d2f2a227","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9221a594c72a1446137926d4c2aa04e345f798dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/66dbb13eeb2fc339f8f548a9076be4c1a94857b0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a49bbae676fef1ffe548971e6229ae2adeb9d10","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90b662ea25f5e83bb3b8ccec5b93ced810b92fb8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:55:52.211Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74284","url":"https://www.cve.org/CVERecord?id=CVE-2026-74284","licence":"CVE Terms of Use","modified":"2026-11-06T17:05:43.463Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74284","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74284","licence":"Public domain","modified":"2026-11-06T17:19:45.513Z"}],"updatedAt":"2026-11-25T22:59:33.157Z","epss":{"score":0.00217,"percentile":0.12941,"date":"2026-12-01T12:00:22.000Z"}}