net/sched: defer qdisc freeing after failed creation
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 51ab2994c387c80b45caf8b8067b3f3b97771d25 · < e6662f2100f8d33b0f4d0047c219efd6bba186ea| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s network scheduler can free a qdisc while a lockless reader may still hold it. This can happen when an RTM_NEWQDISC request binds a populated shared ingress block and then fails estimator setup because TCA_RATE is invalid, while tc_run() is active. The input does not specify access requirements or an exploitation outcome.
Engineers running the Linux kernel should check their versions against the vendor advisory; affected versions were not provided.