net: sched: prevent scheduling deactivated qdiscs

State
Published
Severity
7.8 High
Published
Nov 19, 2026
Updated
Nov 22, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux47e8dbb6e763e5ccfed2ab4aa55cbb163382aec1 to before 34500fda2384be9301d1bdda1cd9c8b49f51f7e0 Affected47e8dbb6e763e5ccfed2ab4aa55cbb163382aec1 to before d6f81fd6abe209f9803d8f74ce9ec69b8126bad3 Affected
Linux Linux7.1 Affectedbefore 7.1 Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.