CVE-2026-74284: net/sched: sch_hfsc: Don't make class passive twice

Published Aug 15, 2026
·
Updated

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

net/sched: schhfsc: Don't make class passive twice

updatevf() is called from two places for the same class during a single dequeue when the class's child qdisc (e.g. codel/fqcodel) drops its last packets while dequeuing:

1. The child calls qdisctreereducebacklog(), which, now that the child is empty, invokes hfscqlennotify() -> updatevf(cl, 0, 0) and turns the class passive (clnactive is decremented up the hierarchy).

2. hfscdequeue() then calls updatevf(cl, qdiscpktlen(skb), curtime) to charge the dequeued bytes.

On the second call the class is already passive, but its child qdisc is still empty, so updatevf() arms gopassive again:

if (cl->qdisc->q.qlen == 0 && cl->clflags & HFSCFSC) gopassive = 1;

The leaf is then skipped by the clnactive == 0 check inside the loop, which does not clear gopassive, so the stale gopassive propagates to the parent and decrements its clnactive a second time. A parent that still has other active children is driven to clnactive == 0 and removed from the vttree, even though those siblings are still backlogged. They are never dequeued again and the qdisc stalls.

Fix this by only arming gopassive when the class is actually active, so an already-passive class no longer triggers a second passive transition. The byte accounting (cl->cltotal += len) still runs for every ancestor, so dequeued bytes continue to be counted exactly once.

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 15, 2026
CVE Published
via MITRE·05:57 AM
Data Sourced
via MITRE·05:57 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203