Linux
net/sched: fix use-after-free in __tcf_action_put()
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 16af6067392c40e454e49eec834843ab03643d96, < 4d83a3fc03bc595dd39b79ad61288738fbb1f2ba
- >= 16af6067392c40e454e49eec834843ab03643d96, < fd01abed2568209f7daaf60e5ee68ae4a4744f48
- >= 16af6067392c40e454e49eec834843ab03643d96, < fcc7d734ceccfab8ec3398c5b34f8e775d459507
- >= 16af6067392c40e454e49eec834843ab03643d96, < fde33eb9955d819af282d5f5e84684eaec248291
- >= 16af6067392c40e454e49eec834843ab03643d96, < 969ad6f2b266f383b44194d50d15631969b26222
- >= 16af6067392c40e454e49eec834843ab03643d96, < 2465d27ef90de9105c2bffb6c35f8ce08918e642
- >= 16af6067392c40e454e49eec834843ab03643d96, < 2e012e431aa271ef3c84206f48854f539c03bff0
- >= 16af6067392c40e454e49eec834843ab03643d96, < 7b16eb911091aae237a8673da94e4dfb9cd21d54
Fixed in 4d83a3fc03bc595dd39b79ad61288738fbb1f2ba, fd01abed2568209f7daaf60e5ee68ae4a4744f48, fcc7d734ceccfab8ec3398c5b34f8e775d459507, fde33eb9955d819af282d5f5e84684eaec248291, 969ad6f2b266f383b44194d50d15631969b26222, 2465d27ef90de9105c2bffb6c35f8ce08918e642, 2e012e431aa271ef3c84206f48854f539c03bff0, 7b16eb911091aae237a8673da94e4dfb9cd21d54
- 4.19
Fixed in 0, 5.10.273, 5.15.224, 6.1.191, 6.6.161, 6.12.115, 6.18.59, 7.2.13, 7.3
Mitigation
Upgrade Linux to 4d83a3fc03bc595dd39b79ad61288738fbb1f2ba or fd01abed2568209f7daaf60e5ee68ae4a4744f48 or fcc7d734ceccfab8ec3398c5b34f8e775d459507 or fde33eb9955d819af282d5f5e84684eaec248291 or 969ad6f2b266f383b44194d50d15631969b26222 or 2465d27ef90de9105c2bffb6c35f8ce08918e642 or 2e012e431aa271ef3c84206f48854f539c03bff0 or 7b16eb911091aae237a8673da94e4dfb9cd21d54 or later.
Upgrade Linux to 0 or 5.10.273 or 5.15.224 or 6.1.191 or 6.6.161 or 6.12.115 or 6.18.59 or 7.2.13 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.