net/sched: sch_taprio: Replace direct dequeue call with peek and qdisc_dequeue_peeked
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel f60d5c12e0551012cee5c272b0bcbcc78f7bb506, Kernel 17ab5f76f3899f67e5569722f334591f4b88b17b, Kernel 18d580cb00c55805633bae45e90cf22ed6b8e424 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5a781ccbd19e4664babcbe4b4ead7aa2b9283d22 <f60d5c12e0551012cee5c272b0bcbcc78f7bb506, >=5a781ccbd19e4664babcbe4b4ead7aa2b9283d22 <17ab5f76f3899f67e5569722f334591f4b88b17b, >=5a781ccbd19e4664babcbe4b4ead7aa2b9283d22 <18d580cb00c55805633bae45e90cf22ed6b8e424, >=5a781ccbd19e4664babcbe4b4ead7aa2b9283d22 <2dcebbd1ad2e180fe7b98bf346ced69a872e11e6, >=5a781ccbd19e4664babcbe4b4ead7aa2b9283d22 <51f8af240aed903e988755af33d7491030b50ae9, >=5a781ccbd19e4664babcbe4b4ead7aa2b9283d22 <6ee5a7665a9080bcb05d703bf981a579436fd05e, >=5a781ccbd19e4664babcbe4b4ead7aa2b9283d22 <e056e1dfcddca877dd46d704e8ec9860cfc9ec44, >=5a781ccbd19e4664babcbe4b4ead7aa2b9283d22 <e2b7ee61989f2d39df6c2cc06f9db1aea69bdb09, =4.20 | f60d5c12e0551012cee5c272b0bcbcc78f7bb506, 17ab5f76f3899f67e5569722f334591f4b88b17b, 18d580cb00c55805633bae45e90cf22ed6b8e424, 2dcebbd1ad2e180fe7b98bf346ced69a872e11e6, 51f8af240aed903e988755af33d7491030b50ae9, 6ee5a7665a9080bcb05d703bf981a579436fd05e, e056e1dfcddca877dd46d704e8ec9860cfc9ec44, e2b7ee61989f2d39df6c2cc06f9db1aea69bdb09 |
| linux-kernel: Kernel | >=5.11.0 <5.15.217, >=5.16.0 <6.1.184, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=4.20.0 <5.10.266 | 5.15.217, 6.1.184, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.266 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket