PT-2026-163566

CVE-2026-139525

·

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:
dmaengine: switchtec-dma: fix resource leak in alloc chan resources
switchtec dma alloc chan resources() returns directly on any later failure, without ever freeing the descriptor rings and coherent DMA memory it just allocated. The dmaengine core does not call device free chan resources() when device alloc chan resources() fails, so the driver has to unwind its own partial state.
The device-removed check also runs after ring active and comp ring active have already been set true, so a failure there left the channel marked active despite alloc chan resources() reporting failure.
Add an error-unwind path that disables the channel and frees the descriptor rings on every failure after allocation. ring active and comp ring active are cleared under the same locks switchtec dma free chan resources() already uses, since the completion tasklet checks comp ring active under complete lock before touching the completion ring, and a stale IRQ can still be in flight when this unwind path runs.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾