PT-2026-166862
CVE-2026-143007
·
Published
2026-12-03
·
Updated
2026-12-03
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:
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.
Found an issue in the description? Have something to add? Feel free to write us 👾