PT-2026-163309
CVE-2026-139268
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
net/sched: act api: reject duplicate actions in a batch
tca action gd() builds actions[] with one tcf action get 1() per nested
TCA ACT TAB entry. Each successful lookup takes its own reference to the
resolved action, so repeated TCA ACT INDEX entries in one request yield
the same pointer in multiple slots.
For RTM DELACTION, tcf action delete() then consumes two references per
slot: one in tcf action put() and one in tcf idr delete index(). A
duplicate therefore drives the refcount to zero mid-walk -- the delete
frees the action and removes its IDR slot -- and the next slot calls
tcf action put() on the freed action:
refcount t: underflow; use-after-free.
WARNING: lib/refcount.c:87 at refcount dec not one
refcount dec and mutex lock
tcf action put
tca action gd
Three duplicate entries are enough. Reject a repeated action while a
delete batch is built, dropping the reference the extra lookup took, and
return -EINVAL. RTM GETACTION balances its own references and keeps
accepting duplicate entries.
Conditions to recreate the bug:
tc actions add action gact index 100
tc actions delete action gact index 100 action gact index 100
action gact index 100
Found an issue in the description? Have something to add? Feel free to write us 👾