Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2026-99457

net: sched: prevent scheduling deactivated qdiscs

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 47e8dbb6e763e5ccfed2ab4aa55cbb163382aec1 to < 34500fda2384be9301d1bdda1cd9c8b49f51f7e0affected
  • 47e8dbb6e763e5ccfed2ab4aa55cbb163382aec1 to < d6f81fd6abe209f9803d8f74ce9ec69b8126bad3affected

Linux Linux

Default version status: affected

  • 7.1affected
  • 0 to < 7.1unaffected
  • 7.3.2 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References