<?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:19:52 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139782 — comedi: addi_apci_3xxx: fix subdevice count underallocation</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139782</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: addi_apci_3xxx: fix subdevice count underallocation&lt;/p&gt;
&lt;p&gt;In apci3xxx_auto_attach(), the number of subdevices is computed with&lt;/p&gt;
&lt;p&gt;n_subdevices = (board-&amp;gt;ai_n_chan ? 0 : 1) + board-&amp;gt;has_ao + ...&lt;/p&gt;
&lt;p&gt;The ternary is inverted: when the board has analog input channels
(ai_n_chan != 0), it counts 0 instead of 1, so the AI subdevice that is
actually created is not accounted for. As a result
comedi_alloc_subdevices() allocates one entry too few, and the later
subdevice initialization (notably the TTL Digital I/O subdevice, which
is populated last) writes past the end of the allocated array, causing a
slab out-of-bounds write.&lt;/p&gt;
&lt;p&gt;Flip the ternary to count 1 when ai_n_chan is non-zero and 0 otherwise,
matching the subdevice creation order in the function.&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: addi_apci_3xxx: fix subdevice count underallocation&lt;/p&gt;
&lt;p&gt;In apci3xxx_auto_attach(), the number of subdevices is computed with&lt;/p&gt;
&lt;p&gt;n_subdevices = (board-&amp;gt;ai_n_chan ? 0 : 1) + board-&amp;gt;has_ao + ...&lt;/p&gt;
&lt;p&gt;The ternary is inverted: when the board has analog input channels
(ai_n_chan != 0), it counts 0 instead of 1, so the AI subdevice that is
actually created is not accounted for. As a result
comedi_alloc_subdevices() allocates one entry too few, and the later
subdevice initialization (notably the TTL Digital I/O subdevice, which
is populated last) writes past the end of the allocated array, causing a
slab out-of-bounds write.&lt;/p&gt;
&lt;p&gt;Flip the ternary to count 1 when ai_n_chan is non-zero and 0 otherwise,
matching the subdevice creation order in the function.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139782</guid>
    </item>
  </channel>
</rss>
