{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143007","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.342Z","datePublished":"2026-12-03T09:17:40.144Z","dateUpdated":"2026-12-03T09:17:40.144Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T09:17:40.144Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: ni_660x: don't poll without a DMA channel\n\nA counter command owns a MITE DMA channel from ni_660x_cmd() to\nni_660x_cancel(). A command does not only end by COMEDI_CANCEL: when the\nreader is too slow mite_sync_input_dma() sets COMEDI_CB_OVERFLOW, and\ncounter errors set COMEDI_CB_ERROR, and comedi_handle_events() then calls\n->cancel() from the interrupt handler. That releases the channel and\nclears counter->mite_chan, but s->busy stays set until the owner has read\nthe rest of the data and seen the end of the acquisition.\n\ndo_poll_ioctl() only looks at s->busy, so a COMEDI_POLL in that state\nends in mite_sync_dma(NULL, s), which dereferences the channel.\n\nTest the channel like ni_pcidio_poll() and ni_sync_ai_dma() do. The\npointer only changes under dev->mutex, which the ioctl holds, or in the\ninterrupt handler under interrupt_lock, which is taken here."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/comedi/drivers/ni_660x.c"],"versions":[{"version":"894db119734772c3694233bf2c9f7440a70d7736","lessThan":"0d09e99196a311db5e3ae75903bf554f74430de5","status":"affected","versionType":"git"},{"version":"894db119734772c3694233bf2c9f7440a70d7736","lessThan":"e12810354c0955ea94ac2b6ad579a0768fe38d7a","status":"affected","versionType":"git"},{"version":"894db119734772c3694233bf2c9f7440a70d7736","lessThan":"49b5388cc8b63c095f7a49c10a679368112f945c","status":"affected","versionType":"git"},{"version":"894db119734772c3694233bf2c9f7440a70d7736","lessThan":"caeb4970abc8f67aed5b64e8e71ce2d582301a95","status":"affected","versionType":"git"},{"version":"894db119734772c3694233bf2c9f7440a70d7736","lessThan":"5a0c88567a5ebbe24ecb7828e200f63ed972718f","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/comedi/drivers/ni_660x.c"],"versions":[{"version":"2.6.31","status":"affected"},{"version":"0","lessThan":"2.6.31","status":"unaffected","versionType":"semver"},{"version":"5.15.227","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc4","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"7.4-rc4"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/0d09e99196a311db5e3ae75903bf554f74430de5"},{"url":"https://git.kernel.org/stable/c/e12810354c0955ea94ac2b6ad579a0768fe38d7a"},{"url":"https://git.kernel.org/stable/c/49b5388cc8b63c095f7a49c10a679368112f945c"},{"url":"https://git.kernel.org/stable/c/caeb4970abc8f67aed5b64e8e71ce2d582301a95"},{"url":"https://git.kernel.org/stable/c/5a0c88567a5ebbe24ecb7828e200f63ed972718f"}],"title":"comedi: ni_660x: don't poll without a DMA channel","x_generator":{"engine":"bippy-1.2.0"}}}}