<?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>Sat, 05 Dec 2026 12:44:15 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143096 — spi: axi-spi-engine: Start the program length at zero</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143096</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;spi: axi-spi-engine: Start the program length at zero&lt;/p&gt;
&lt;p&gt;spi_engine_optimize_message() allocates the program with kzalloc_flex(),
which sets the __counted_by() counter &amp;#34;length&amp;#34; to the allocated size when
the compiler supports __builtin_counted_by_ref(). The program is then
filled by spi_engine_program_add_cmd(), which increments &amp;#34;length&amp;#34; and
stores at length - 1, expecting it to start at zero as it did when the
program came from kzalloc().&lt;/p&gt;
&lt;p&gt;Reset &amp;#34;length&amp;#34; after the allocation, since it is a &amp;#34;usage&amp;#34; counter, not
a &amp;#34;total allocation&amp;#34; counter.&lt;/p&gt;
&lt;p&gt;Build tested ARCH=x86_64 defconfig with CONFIG_SPI_AXI_SPI_ENGINE=m and
W=1, with GCC 16.2.0.&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;spi: axi-spi-engine: Start the program length at zero&lt;/p&gt;
&lt;p&gt;spi_engine_optimize_message() allocates the program with kzalloc_flex(),
which sets the __counted_by() counter &amp;#34;length&amp;#34; to the allocated size when
the compiler supports __builtin_counted_by_ref(). The program is then
filled by spi_engine_program_add_cmd(), which increments &amp;#34;length&amp;#34; and
stores at length - 1, expecting it to start at zero as it did when the
program came from kzalloc().&lt;/p&gt;
&lt;p&gt;Reset &amp;#34;length&amp;#34; after the allocation, since it is a &amp;#34;usage&amp;#34; counter, not
a &amp;#34;total allocation&amp;#34; counter.&lt;/p&gt;
&lt;p&gt;Build tested ARCH=x86_64 defconfig with CONFIG_SPI_AXI_SPI_ENGINE=m and
W=1, with GCC 16.2.0.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143096</guid>
    </item>
  </channel>
</rss>
