<?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>Sat, 03 Oct 2026 15:03:14 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-40014 — objtool, spi: amd: Fix out-of-bounds stack access in amd_set_spi_freq()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-40014</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;objtool, spi: amd: Fix out-of-bounds stack access in amd_set_spi_freq()&lt;/p&gt;
&lt;p&gt;If speed_hz &amp;lt; AMD_SPI_MIN_HZ, amd_set_spi_freq() iterates over the
entire amd_spi_freq array without breaking out early, causing &amp;#39;i&amp;#39; to go
beyond the array bounds.&lt;/p&gt;
&lt;p&gt;Fix that by stopping the loop when it gets to the last entry, so the low
speed_hz value gets clamped up to AMD_SPI_MIN_HZ.&lt;/p&gt;
&lt;p&gt;Fixes the following warning with an UBSAN kernel:&lt;/p&gt;
&lt;p&gt;drivers/spi/spi-amd.o: error: objtool: amd_set_spi_freq() falls through to next function amd_spi_set_opcode()&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;objtool, spi: amd: Fix out-of-bounds stack access in amd_set_spi_freq()&lt;/p&gt;
&lt;p&gt;If speed_hz &amp;lt; AMD_SPI_MIN_HZ, amd_set_spi_freq() iterates over the
entire amd_spi_freq array without breaking out early, causing &amp;#39;i&amp;#39; to go
beyond the array bounds.&lt;/p&gt;
&lt;p&gt;Fix that by stopping the loop when it gets to the last entry, so the low
speed_hz value gets clamped up to AMD_SPI_MIN_HZ.&lt;/p&gt;
&lt;p&gt;Fixes the following warning with an UBSAN kernel:&lt;/p&gt;
&lt;p&gt;drivers/spi/spi-amd.o: error: objtool: amd_set_spi_freq() falls through to next function amd_spi_set_opcode()&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-40014</guid>
    </item>
  </channel>
</rss>
