<?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://cve.radiocsirt.org</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>Wed, 07 Oct 2026 18:20:00 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-38538 — dmaengine: nbpfaxi: Fix memory corruption in probe()</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2025-38538</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;dmaengine: nbpfaxi: Fix memory corruption in probe()&lt;/p&gt;
&lt;p&gt;The nbpf-&amp;gt;chan[] array is allocated earlier in the nbpf_probe() function
and it has &amp;#34;num_channels&amp;#34; elements.  These three loops iterate one
element farther than they should and corrupt memory.&lt;/p&gt;
&lt;p&gt;The changes to the second loop are more involved.  In this case, we&amp;#39;re
copying data from the irqbuf[] array into the nbpf-&amp;gt;chan[] array.  If
the data in irqbuf[i] is the error IRQ then we skip it, so the iterators
are not in sync.  I added a check to ensure that we don&amp;#39;t go beyond the
end of the irqbuf[] array.  I&amp;#39;m pretty sure this can&amp;#39;t happen, but it
seemed harmless to add a check.&lt;/p&gt;
&lt;p&gt;On the other hand, after the loop has ended there is a check to ensure
that the &amp;#34;chan&amp;#34; iterator is where we expect it to be.  In the original
code we went one element beyond the end of the array so the iterator
wasn&amp;#39;t in the correct place and it would always return -EINVAL.  However,
now it will always be in the correct place.  I deleted the check since
we know the result.&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;dmaengine: nbpfaxi: Fix memory corruption in probe()&lt;/p&gt;
&lt;p&gt;The nbpf-&amp;gt;chan[] array is allocated earlier in the nbpf_probe() function
and it has &amp;#34;num_channels&amp;#34; elements.  These three loops iterate one
element farther than they should and corrupt memory.&lt;/p&gt;
&lt;p&gt;The changes to the second loop are more involved.  In this case, we&amp;#39;re
copying data from the irqbuf[] array into the nbpf-&amp;gt;chan[] array.  If
the data in irqbuf[i] is the error IRQ then we skip it, so the iterators
are not in sync.  I added a check to ensure that we don&amp;#39;t go beyond the
end of the irqbuf[] array.  I&amp;#39;m pretty sure this can&amp;#39;t happen, but it
seemed harmless to add a check.&lt;/p&gt;
&lt;p&gt;On the other hand, after the loop has ended there is a check to ensure
that the &amp;#34;chan&amp;#34; iterator is where we expect it to be.  In the original
code we went one element beyond the end of the array so the iterator
wasn&amp;#39;t in the correct place and it would always return -EINVAL.  However,
now it will always be in the correct place.  I deleted the check since
we know the result.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2025-38538</guid>
    </item>
  </channel>
</rss>
