CVE-2026-143007

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 894db119734772c3694233bf2c9f7440a70d7736, < 0d09e99196a311db5e3ae75903bf554f74430de5; >= 894db119734772c3694233bf2c9f7440a70d7736, < e12810354c0955ea94ac2b6ad579a0768fe38d7a; >= 894db119734772c3694233bf2c9f7440a70d7736, < 49b5388cc8b63c095f7a49c10a679368112f945c; >= 894db119734772c3694233bf2c9f7440a70d7736, < caeb4970abc8f67aed5b64e8e71ce2d582301a95; >= 894db119734772c3694233bf2c9f7440a70d7736, < 5a0c88567a5ebbe24ecb7828e200f63ed972718f
LinuxLinux2.6.31

References

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143008In the Linux kernel, the following vulnerability has been resolved: comedi: fix endless recursion in comedi_event() When comedi_event() waCVE-2026-143009In the Linux kernel, the following vulnerability has been resolved: vt: serialise the producers of the flip buffer Typing on a virtual conCVE-2026-143010In the Linux kernel, the following vulnerability has been resolved: dm-thin: fix data corruption if discard races with regular I/O In the CVE-2026-143011In the Linux kernel, the following vulnerability has been resolved: dm-raid: fix use-after-free in raid_dtr() raid_dtr() currently flushesCVE-2026-143012In the Linux kernel, the following vulnerability has been resolved: dm-raid: bound array_position before indexing failed_devices super_iniCVE-2026-143013In the Linux kernel, the following vulnerability has been resolved: dm-integrity: don't recalculate with HMAC because of a dirty bitmap CoCVE-2026-143014In the Linux kernel, the following vulnerability has been resolved: dm-crypt: defer async write submission to write thread With no_write_wCVE-2026-143015In the Linux kernel, the following vulnerability has been resolved: dm-crypt: reject integrity_key_size with non-authenc AEAD ciphers WhenCVE-2026-143016In the Linux kernel, the following vulnerability has been resolved: dm-cache: fix NULL pointer dereference on open failure When __begin_trCVE-2026-143017In the Linux kernel, the following vulnerability has been resolved: dm zoned: do not reclaim a random zone into another random zone dmz_reCVE-2026-143018In the Linux kernel, the following vulnerability has been resolved: dm zoned: back off when reclaim cannot make progress When a reclaim paCVE-2026-143019In the Linux kernel, the following vulnerability has been resolved: dm snapshot: fix discard writing into the next COW chunk zero_exceptio
CVE-2026-143007: Unscored | Vulnix