<?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://vulnerability.circl.lu</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>Thu, 01 Oct 2026 16:27:35 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-40106 — comedi: fix divide-by-zero in comedi_buf_munge()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-40106</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: fix divide-by-zero in comedi_buf_munge()&lt;/p&gt;
&lt;p&gt;The comedi_buf_munge() function performs a modulo operation
`async-&amp;gt;munge_chan %= async-&amp;gt;cmd.chanlist_len` without first
checking if chanlist_len is zero. If a user program submits a command with
chanlist_len set to zero, this causes a divide-by-zero error when the device
processes data in the interrupt handler path.&lt;/p&gt;
&lt;p&gt;Add a check for zero chanlist_len at the beginning of the
function, similar to the existing checks for !map and
CMDF_RAWDATA flag. When chanlist_len is zero, update
munge_count and return early, indicating the data was
handled without munging.&lt;/p&gt;
&lt;p&gt;This prevents potential kernel panics from malformed user commands.&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: fix divide-by-zero in comedi_buf_munge()&lt;/p&gt;
&lt;p&gt;The comedi_buf_munge() function performs a modulo operation
`async-&amp;gt;munge_chan %= async-&amp;gt;cmd.chanlist_len` without first
checking if chanlist_len is zero. If a user program submits a command with
chanlist_len set to zero, this causes a divide-by-zero error when the device
processes data in the interrupt handler path.&lt;/p&gt;
&lt;p&gt;Add a check for zero chanlist_len at the beginning of the
function, similar to the existing checks for !map and
CMDF_RAWDATA flag. When chanlist_len is zero, update
munge_count and return early, indicating the data was
handled without munging.&lt;/p&gt;
&lt;p&gt;This prevents potential kernel panics from malformed user commands.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-40106</guid>
    </item>
  </channel>
</rss>
