PT-2026-163309

CVE-2026-139268

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

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
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾