cve.bz

CVE-2026-143007 comedi: ni_660x: don't poll without a DMA channel

no score yetEPSS 0.2%Fix available

linux linux: no CVSS score yet. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this 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.
EPSS
0.2% estimated probability of exploitation activity in the next 30 days; 12th percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
Published
Assigned by
Linux (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Linux Linux: fixed in 5.15.227
  • Linux Linux: fixed in 6.12.120
  • Linux Linux: fixed in 6.18.66
  • Linux Linux: fixed in 7.3.7
  • Linux Linux: fixed in 7.4-rc4

Ask an AI about this CVE

Show the promptExplain CVE-2026-143007 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-143007?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-143007?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-143007 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux2.6.31 and later

Fixed in

ProductRelease lineFixed in
Linux5.155.15.227
Linux6.126.12.120
Linux6.186.18.66
Linux7.37.3.7
Linuxlater releases7.4-rc4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linuxno fix listedDEBIAN-CVE-2026-143007

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

References

Check your stackJSON