7.8high
net: sched: prevent scheduling deactivated qdiscs
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.17% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net: sched: prevent scheduling deactivated qdiscs TAPRIO can schedule a deactivated qdisc after some_qdisc_is_busy() 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 NET_TX softirq work, whose dequeue path can race the unlocked child-queue reset in taprio_reset(). The same skb can be queued for deferred freeing by RTNL and dequeued for transmission. In the reproducer, the TAP reader frees it before __rtnl_unlock() reads its next pointer. KASAN reports a slab-use-after-free in __rtnl_unlock+0xa3/0xd0, with a read of size 8 from the freed skb. Reject deactivated qdiscs in __netif_schedule(). 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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 47e8dbb6e763e5ccfed2ab4aa55cbb163382aec1 before 34500fda2384be9301d1bdda1cd9c8b49f51f7e0, from 47e8dbb6e763e5ccfed2ab4aa55cbb163382aec1 before d6f81fd6abe209f9803d8f74ce9ec69b8126bad3, 7.1 Not affected: before 7.1, from 7.3.2 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99457 changed 2026-11-22 | CVE Terms of Use |
| NVD | CVE-2026-99457 changed 2026-11-22 | Public domain |