CVE-2026-99457: net: sched: prevent scheduling deactivated qdiscs
In the Linux kernel, the following vulnerability has been resolved:
net: sched: prevent scheduling deactivated qdiscs
TAPRIO can schedule a deactivated qdisc after someqdiscisbusy() has reported it idle.
Commit 47e8dbb6e763 ("net/sched: do not reset queues in graft operations") made graft deactivation skip queue reset, leaving TAPRIO's timer armed.
A late callback schedules NETTX softirq work, whose dequeue path can race the unlocked child-queue reset in taprioreset(). The same skb can be queued for deferred freeing by RTNL and dequeued for transmission. In the reproducer, the TAP reader frees it before rtnlunlock() reads its next pointer. KASAN reports a slab-use-after-free in rtnlunlock+0xa3/0xd0, with a read of size 8 from the freed skb.
Reject deactivated qdiscs in netifschedule(). Callers' RCU protection lets the existing grace period join earlier scheduling calls before the busy check. Restart nonempty transmit queues on reactivation so suppressed scheduling does not strand packets.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2