Linux
net/sched: sch_taprio: Replace direct dequeue call with peek and qdisc_dequeue_peeked
In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_taprio: Replace direct dequeue call with peek and qdisc_dequeue_peeked When taprio's software path peeks a non-work-conserving child qdisc, the child stashes the peeked skb in its gso_skb; taprio_dequeue_from_txq() then takes the packet with a direct child ->dequeue() call, which ignores that stash, orphans the peeked skb and desyncs the child's qlen/backlog. With a qfq child this re-enters the child on an emptied list and dereferences NULL, panicking the kernel from softirq on ordinary egress. Take the packet through qdisc_dequeue_peeked(), as sch_red and sch_sfb now do. The helper returns the child's stashed skb first and is a no-op when there is none, so a work-conserving child is unaffected and the gated path now consumes the skb whose length was charged to the budget.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5a781ccbd19e4664babcbe4b4ead7aa2b9283d22, < 51f8af240aed903e988755af33d7491030b50ae9
- >= 5a781ccbd19e4664babcbe4b4ead7aa2b9283d22, < 17ab5f76f3899f67e5569722f334591f4b88b17b
- >= 5a781ccbd19e4664babcbe4b4ead7aa2b9283d22, < f60d5c12e0551012cee5c272b0bcbcc78f7bb506
- >= 5a781ccbd19e4664babcbe4b4ead7aa2b9283d22, < 6ee5a7665a9080bcb05d703bf981a579436fd05e
- >= 5a781ccbd19e4664babcbe4b4ead7aa2b9283d22, < 18d580cb00c55805633bae45e90cf22ed6b8e424
- >= 5a781ccbd19e4664babcbe4b4ead7aa2b9283d22, < e2b7ee61989f2d39df6c2cc06f9db1aea69bdb09
- >= 5a781ccbd19e4664babcbe4b4ead7aa2b9283d22, < 2dcebbd1ad2e180fe7b98bf346ced69a872e11e6
- >= 5a781ccbd19e4664babcbe4b4ead7aa2b9283d22, < e056e1dfcddca877dd46d704e8ec9860cfc9ec44
Fixed in 51f8af240aed903e988755af33d7491030b50ae9, 17ab5f76f3899f67e5569722f334591f4b88b17b, f60d5c12e0551012cee5c272b0bcbcc78f7bb506, 6ee5a7665a9080bcb05d703bf981a579436fd05e, 18d580cb00c55805633bae45e90cf22ed6b8e424, e2b7ee61989f2d39df6c2cc06f9db1aea69bdb09, 2dcebbd1ad2e180fe7b98bf346ced69a872e11e6, e056e1dfcddca877dd46d704e8ec9860cfc9ec44
- 4.20
Fixed in 0, 5.10.266, 5.15.217, 6.1.184, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 51f8af240aed903e988755af33d7491030b50ae9 or 17ab5f76f3899f67e5569722f334591f4b88b17b or f60d5c12e0551012cee5c272b0bcbcc78f7bb506 or 6ee5a7665a9080bcb05d703bf981a579436fd05e or 18d580cb00c55805633bae45e90cf22ed6b8e424 or e2b7ee61989f2d39df6c2cc06f9db1aea69bdb09 or 2dcebbd1ad2e180fe7b98bf346ced69a872e11e6 or e056e1dfcddca877dd46d704e8ec9860cfc9ec44 or later.
Upgrade Linux to 0 or 5.10.266 or 5.15.217 or 6.1.184 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.