<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 19:56:31 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143007 — comedi: ni_660x: don't poll without a DMA channel</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143007</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;comedi: ni_660x: don&amp;#39;t poll without a DMA channel&lt;/p&gt;
&lt;p&gt;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
-&amp;gt;cancel() from the interrupt handler. That releases the channel and
clears counter-&amp;gt;mite_chan, but s-&amp;gt;busy stays set until the owner has read
the rest of the data and seen the end of the acquisition.&lt;/p&gt;
&lt;p&gt;do_poll_ioctl() only looks at s-&amp;gt;busy, so a COMEDI_POLL in that state
ends in mite_sync_dma(NULL, s), which dereferences the channel.&lt;/p&gt;
&lt;p&gt;Test the channel like ni_pcidio_poll() and ni_sync_ai_dma() do. The
pointer only changes under dev-&amp;gt;mutex, which the ioctl holds, or in the
interrupt handler under interrupt_lock, which is taken here.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;comedi: ni_660x: don&amp;#39;t poll without a DMA channel&lt;/p&gt;
&lt;p&gt;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
-&amp;gt;cancel() from the interrupt handler. That releases the channel and
clears counter-&amp;gt;mite_chan, but s-&amp;gt;busy stays set until the owner has read
the rest of the data and seen the end of the acquisition.&lt;/p&gt;
&lt;p&gt;do_poll_ioctl() only looks at s-&amp;gt;busy, so a COMEDI_POLL in that state
ends in mite_sync_dma(NULL, s), which dereferences the channel.&lt;/p&gt;
&lt;p&gt;Test the channel like ni_pcidio_poll() and ni_sync_ai_dma() do. The
pointer only changes under dev-&amp;gt;mutex, which the ioctl holds, or in the
interrupt handler under interrupt_lock, which is taken here.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143007</guid>
    </item>
  </channel>
</rss>
