Linux
net/sched: sch_multiq: Replace direct dequeue call with peek and qdisc_dequeue_peeked
In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_multiq: Replace direct dequeue call with peek and qdisc_dequeue_peeked multiq_dequeue() takes a packet from a band's child with a direct ->dequeue() call after multiq_peek() peeked it. When the child is non-work-conserving the peek stashes the skb in the child's gso_skb, so the direct dequeue returns a different skb and orphans the stash, desyncing the child's qlen/backlog. With a qfq child reached through a peeking parent (e.g. tbf) 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_prio already does and as sch_red and sch_sfb were just fixed to do. The helper is a no-op when the child has no stash, so a work-conserving child is unaffected.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 77be155cba4e163e8bba9fd27222a8b6189ec4f7, < 3e5fd9d14f2d228e7260251f2e4a1d41ba8f705a
- >= 77be155cba4e163e8bba9fd27222a8b6189ec4f7, < eb1a9637f0bd84b5db8803af65dfb1f44785406f
- >= 77be155cba4e163e8bba9fd27222a8b6189ec4f7, < 7a5a1582710981ef6637de9f074a60a5b1d63222
- >= 77be155cba4e163e8bba9fd27222a8b6189ec4f7, < 86a61e46a1919e8abf4d227c204773dabb24068a
- >= 77be155cba4e163e8bba9fd27222a8b6189ec4f7, < 1b9cc255e8089606b92b2adf504e334573682821
- >= 77be155cba4e163e8bba9fd27222a8b6189ec4f7, < 5889064919a1e5c0a9469c54895000414fc46944
- >= 77be155cba4e163e8bba9fd27222a8b6189ec4f7, < fffeb2ab5eeb823d4c2330571a098f63237c9049
- >= 77be155cba4e163e8bba9fd27222a8b6189ec4f7, < 54f6b0c843e228d499eb4b6bbb89df68cad9ad5d
Fixed in 3e5fd9d14f2d228e7260251f2e4a1d41ba8f705a, eb1a9637f0bd84b5db8803af65dfb1f44785406f, 7a5a1582710981ef6637de9f074a60a5b1d63222, 86a61e46a1919e8abf4d227c204773dabb24068a, 1b9cc255e8089606b92b2adf504e334573682821, 5889064919a1e5c0a9469c54895000414fc46944, fffeb2ab5eeb823d4c2330571a098f63237c9049, 54f6b0c843e228d499eb4b6bbb89df68cad9ad5d
- 2.6.29
Fixed in 0, 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 3e5fd9d14f2d228e7260251f2e4a1d41ba8f705a or eb1a9637f0bd84b5db8803af65dfb1f44785406f or 7a5a1582710981ef6637de9f074a60a5b1d63222 or 86a61e46a1919e8abf4d227c204773dabb24068a or 1b9cc255e8089606b92b2adf504e334573682821 or 5889064919a1e5c0a9469c54895000414fc46944 or fffeb2ab5eeb823d4c2330571a098f63237c9049 or 54f6b0c843e228d499eb4b6bbb89df68cad9ad5d or later.
Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 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.