PT-2026-166862

CVE-2026-143007

·

Publicado

2026-12-03

·

Atualizado

2026-12-03

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:
comedi: ni 660x: don't poll without a DMA channel
A counter command owns a MITE DMA channel from ni 660x cmd() to ni 660x cancel(). A command does not only end by COMEDI CANCEL: when the reader is too slow mite sync input dma() sets COMEDI CB OVERFLOW, and counter errors set COMEDI CB ERROR, and comedi handle events() then calls ->cancel() from the interrupt handler. That releases the channel and clears counter->mite chan, but s->busy stays set until the owner has read the rest of the data and seen the end of the acquisition.
do poll ioctl() only looks at s->busy, so a COMEDI POLL in that state ends in mite sync dma(NULL, s), which dereferences the channel.
Test the channel like ni pcidio poll() and ni sync ai dma() do. The pointer only changes under dev->mutex, which the ioctl holds, or in the interrupt handler under interrupt lock, which is taken here.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾