PT-2026-106673 · Linux · Linux
CVE-2026-98344
·
Publicado
2026-10-06
·
Atualizado
2026-10-06
Nenhuma
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:
dmaengine: Fix device kref underflow in dma chan put()
dma chan get() takes chan->device->ref only on the slow path:
/* no kref on fast path */
if (chan->client count) {
module get(owner);
chan->client count++;
return 0;
}
if (!try module get(owner))
return -ENODEV;
if (!dma device get(chan->device)) { // calls kref get unless zero()dma chan put() drops the ref unconditionally, so every fast-path
get/put pair drops one extra device reference.
The bug fires when two conditions hold together: a non-private
provider has a persistent client holding chan->client count > 0
and another client cycles dmaengine get()/dmaengine put().
When the kref hits zero, the subsequent dma find channel() returns
NULL even though the provider module is still loaded.
Fix this by dropping device->ref only on the last put, matching the
single slow-path get.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Linux