KernelScan.io

HIGH Introduced in 4.16

net/sched Qdisc UAF

CVE-2026-98017

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI7.8HIGH

01

In the Linux kernel, the following vulnerability has been resolved: net/sched: defer qdisc freeing after failed creation An RTM_NEWQDISC request can make clsact bind a populated shared ingress block during ->init(), publishing an embedded mini_Qdisc to lockless readers. If the same request has an invalid TCA_RATE, estimator setup fails after ->init(); the unwind removes the pointer but synchronously frees its containing qdisc while tc_run() may still hold it. Retire failed qdiscs through the same RCU helper as normal destruction. Inline the synchronous free into the callback now that no direct callers remain.

02

Engine v0.6.0

Risk summary

A local unprivileged user can trigger a use-after-free in the kernel traffic-control subsystem by crafting a qdisc creation request that binds a shared block then fails on rate validation. The synchronous free in the error path races with lockless packet-processing readers, enabling kernel memory corruption. Since the triggering capability is obtainable inside a user namespace, this is reachable by unprivileged container workloads and represents a container-escape primitive.

Affectednet/sched/sch_api.c, net/sched/sch_generic.c (net/sched)

Vulnerability analysis

When creating certain traffic-control qdiscs, the initialization step can publish the new qdisc to lockless packet-processing readers before the full creation request has been validated. If a subsequent validation step in the same request fails (for example an invalid rate parameter), the error cleanup path frees the qdisc object immediately while other threads may still be accessing it, resulting in a use-after-free. The fix changes the error cleanup to defer the free through the same RCU mechanism used for normal qdisc destruction, ensuring all concurrent readers have finished before the memory is released. The bug is triggered by sending a qdisc creation request via rtnetlink, which requires CAP_NET_ADMIN; however, this capability can be obtained inside a user namespace by an unprivileged user, making the issue reachable from a local unprivileged context such as a container workload.

03

BranchIntroducedFixed inPatch commit
6.14.166.1.18996a27a3e64e7
6.124.166.12.11120bf6fa34b34
6.184.166.18.53156a3bab6974
6.64.166.6.1586a1b49bb9fdf
7.24.167.2.75bfe927c5b4b
mainline4.167.3e6662f2100f8
cip/6.14.166.1.189-cip6196a27a3e64e7
cip/6.1-rt4.166.1.189-cip61-rt3296a27a3e64e7
cip/6.124.166.12.111-cip3220bf6fa34b34

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.111-cip32
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip136)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)