{"id":"CVE-2026-99457","state":"PUBLISHED","title":"net: sched: prevent scheduling deactivated qdiscs","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sched: prevent scheduling deactivated qdiscs\n\nTAPRIO can schedule a deactivated qdisc after some_qdisc_is_busy() has\nreported it idle.\n\nCommit 47e8dbb6e763 (\"net/sched: do not reset queues in graft operations\")\nmade graft deactivation skip queue reset, leaving TAPRIO's timer armed.\n\nA late callback schedules NET_TX softirq work, whose dequeue path can\nrace the unlocked child-queue reset in taprio_reset(). The same skb can\nbe queued for deferred freeing by RTNL and dequeued for transmission.\nIn the reproducer, the TAP reader frees it before __rtnl_unlock() reads\nits next pointer. KASAN reports a slab-use-after-free in\n__rtnl_unlock+0xa3/0xd0, with a read of size 8 from the freed skb.\n\nReject deactivated qdiscs in __netif_schedule(). Callers' RCU protection\nlets the existing grace period join earlier scheduling calls before the\nbusy check. Restart nonempty transmit queues on reactivation so suppressed\nscheduling does not strand packets.","publishedAt":"2026-11-19T14:42:00.385Z","updatedAt":"2026-11-22T11:08:22.550Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"47e8dbb6e763e5ccfed2ab4aa55cbb163382aec1","status":"affected","lessThan":"34500fda2384be9301d1bdda1cd9c8b49f51f7e0","versionType":"git"},{"version":"47e8dbb6e763e5ccfed2ab4aa55cbb163382aec1","status":"affected","lessThan":"d6f81fd6abe209f9803d8f74ce9ec69b8126bad3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/dev.c","net/sched/sch_generic.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.1","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/dev.c","net/sched/sch_generic.c"]}],"references":["https://git.kernel.org/stable/c/34500fda2384be9301d1bdda1cd9c8b49f51f7e0","https://git.kernel.org/stable/c/d6f81fd6abe209f9803d8f74ce9ec69b8126bad3"],"weaknesses":[],"ingestedAt":"2026-11-22T11:18:06.032Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99457.json","commit":"247cc9beefd85903834df0592e88a44f4d599223","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99457","state":"PUBLISHED","datePublished":"2026-11-19T14:42:00.385Z","dateUpdated":"2026-11-22T11:08:22.550Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.416Z"},"containers":{"cna":{"title":"net: sched: prevent scheduling deactivated qdiscs","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sched: prevent scheduling deactivated qdiscs\n\nTAPRIO can schedule a deactivated qdisc after some_qdisc_is_busy() has\nreported it idle.\n\nCommit 47e8dbb6e763 (\"net/sched: do not reset queues in graft operations\")\nmade graft deactivation skip queue reset, leaving TAPRIO's timer armed.\n\nA late callback schedules NET_TX softirq work, whose dequeue path can\nrace the unlocked child-queue reset in taprio_reset(). The same skb can\nbe queued for deferred freeing by RTNL and dequeued for transmission.\nIn the reproducer, the TAP reader frees it before __rtnl_unlock() reads\nits next pointer. KASAN reports a slab-use-after-free in\n__rtnl_unlock+0xa3/0xd0, with a read of size 8 from the freed skb.\n\nReject deactivated qdiscs in __netif_schedule(). Callers' RCU protection\nlets the existing grace period join earlier scheduling calls before the\nbusy check. Restart nonempty transmit queues on reactivation so suppressed\nscheduling does not strand packets."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"47e8dbb6e763e5ccfed2ab4aa55cbb163382aec1","status":"affected","lessThan":"34500fda2384be9301d1bdda1cd9c8b49f51f7e0","versionType":"git"},{"version":"47e8dbb6e763e5ccfed2ab4aa55cbb163382aec1","status":"affected","lessThan":"d6f81fd6abe209f9803d8f74ce9ec69b8126bad3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/dev.c","net/sched/sch_generic.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.1","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/dev.c","net/sched/sch_generic.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/34500fda2384be9301d1bdda1cd9c8b49f51f7e0"},{"url":"https://git.kernel.org/stable/c/d6f81fd6abe209f9803d8f74ce9ec69b8126bad3"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - RTM_DELQDISC/RTM_NEWQDISC enters tc_get_qdisc()/tc_modify_qdisc() and qdisc_graft(), which calls dev_deactivate(dev, false) and then qdisc_put() into taprio_reset(). advance_sched() then calls __netif_schedule() on that deactivated qdisc; the triggering state is the local netlink message and the locally queued skb.\nAC:L - The attacker sets the schedule in taprio_change() so taprio_start_sched() arms advance_timer at an interval down to length_to_duration(ETH_ZLEN), queues skbs on the pfifo child, and repeats the graft until advance_sched() runs after some_qdisc_is_busy() returns and overlaps taprio_reset().\nPR:L - rtnetlink_rcv_msg() admits the qdisc message only after netlink_net_capable(CAP_NET_ADMIN) in the netns user namespace, and taprio_parse_clockid()/taprio_change() add no init-namespace check. tun_set_iff() likewise uses ns_capable(net->user_ns, CAP_NET_ADMIN), so unshare -Urn is sufficient.\nUI:N - One process opens the tap, installs software-mode taprio (flags default to 0, so the hrtimer is armed), writes the queued frames, and deletes the qdisc. The TAP reader that frees the skb is that same process.\nS:U - The corrupted object is a kernel sk_buff linked by rtnl_kfree_skbs() and freed from __rtnl_unlock() in the same kernel that runs the qdisc. Escalation stays inside that kernel security boundary.\nC:H - taprio_reset() resets the unlocked pfifo child, so __qdisc_reset_queue()/rtnl_kfree_skbs() and taprio_dequeue()/qdisc_dequeue_head() both own the skb tun_net_xmit() queues. The TAP reader and __rtnl_unlock() free that sk_buff twice; reallocating the slot makes the kernel consume the replacement's data pointer and disclose kernel memory.\nI:H - __rtnl_unlock() reads the freed skb->next and kfree_skb()s that pointer. Spraying skbuff_head_cache after the TAP reader frees the object lets the attacker supply that next link, so the second kfree_skb() releases a live skb and its head buffer.\nA:H - KASAN reports a slab-use-after-free read of size 8 from the freed skb in __rtnl_unlock(), after tun_net_xmit() queued it and the TAP reader freed it. That use-after-free oopses the kernel."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-22T11:08:22.550Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}