EnvMap GitHub

CVE-2026-143007

comedi: ni_660x: don't poll without a DMA channel

Not scored yetEPSS 0.20%Received

Description

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.

In the words of the organisation that published it (Linux).

Affected

  • Linux: from 894db119734772c3694233bf2c9f7440a70d7736 before 0d09e99196a311db5e3ae75903b; from 894db119734772c3694233bf2c9f7440a70d7736 before e12810354c0955ea94ac2b6ad57; from 894db119734772c3694233bf2c9f7440a70d7736 before 49b5388cc8b63c095f7a49c10a6; from 894db119734772c3694233bf2c9f7440a70d7736 before caeb4970abc8f67aed5b64e8e71; 2.6.31

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.20% chance of exploitation in the next 30 days, higher than 10% of all CVEs (as of 4 December 2026).

References

Record

Published10:17 UTC, 3 December 2026
Last changed10:17 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-143007 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.