Linux kernel use-after-free in traffic control action release
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 16af6067392c40e454e49eec834843ab03643d96 · < 2465d27ef90de9105c2bffb6c35f8ce08918e642| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net/sched: fix use-after-free in __tcf_action_put()
__tcf_action_put() decrements the reference count before decrementing the binding count. Another thread can free the action between these operations, causing the binding-count update to access freed memory. KASAN reports it as:
BUG: KASAN: slab-use-after-free in __tcf_action_put+0x327/0x340 Write of size 4 at addr ff11000000d46420 by task tc-put-pause/64
Hold the action IDR mutex across both counter updates and IDR removal, keeping cleanup outside the lock.
From the CVE record · Linux
The Linux kernel’s __tcf_action_put() can update a binding count after another thread has freed the action, causing a use-after-free. The input does not specify what an attacker could achieve or whether exploitation requires local access, authentication, or user interaction.
Engineers running the Linux kernel should check their versions against the vendor advisory; affected versions are not specified.