PT-2026-166862
CVE-2026-143007
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾