<?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 21:35:25 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-39935 — ASoC: codec: sma1307: Fix memory corruption in sma1307_setting_loaded()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-39935</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;ASoC: codec: sma1307: Fix memory corruption in sma1307_setting_loaded()&lt;/p&gt;
&lt;p&gt;The sma1307-&amp;gt;set.header_size is how many integers are in the header
(there are 8 of them) but instead of allocating space of 8 integers
we allocate 8 bytes.  This leads to memory corruption when we copy data
it on the next line:&lt;/p&gt;
&lt;p&gt;memcpy(sma1307-&amp;gt;set.header, data,
               sma1307-&amp;gt;set.header_size * sizeof(int));&lt;/p&gt;
&lt;p&gt;Also since we&amp;#39;re immediately copying over the memory in -&amp;gt;set.header,
there is no need to zero it in the allocator.  Use devm_kmalloc_array()
to allocate the memory instead.&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;ASoC: codec: sma1307: Fix memory corruption in sma1307_setting_loaded()&lt;/p&gt;
&lt;p&gt;The sma1307-&amp;gt;set.header_size is how many integers are in the header
(there are 8 of them) but instead of allocating space of 8 integers
we allocate 8 bytes.  This leads to memory corruption when we copy data
it on the next line:&lt;/p&gt;
&lt;p&gt;memcpy(sma1307-&amp;gt;set.header, data,
               sma1307-&amp;gt;set.header_size * sizeof(int));&lt;/p&gt;
&lt;p&gt;Also since we&amp;#39;re immediately copying over the memory in -&amp;gt;set.header,
there is no need to zero it in the allocator.  Use devm_kmalloc_array()
to allocate the memory instead.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-39935</guid>
    </item>
  </channel>
</rss>
