<?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>Fri, 09 Oct 2026 18:46:25 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98324 — dmaengine: pxa: fix double counting of the hw descriptors</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-98324</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: pxa: fix double counting of the hw descriptors&lt;/p&gt;
&lt;p&gt;pxad_alloc_desc() was converted from&lt;/p&gt;
&lt;p&gt;kzalloc(struct_size(sw_desc, hw_desc, nb_hw_desc), GFP_NOWAIT)&lt;/p&gt;
&lt;p&gt;to kzalloc_flex(), which sets the __counted_by() counter sw_desc-&amp;gt;nb_desc
itself - but only where the compiler has __builtin_counted_by_ref(), so
from gcc 15.1 or clang 22.1 on. The loop below it still increments
nb_desc, which makes it come out doubled there and correct elsewhere.&lt;/p&gt;
&lt;p&gt;nb_desc is what pxad_free_desc() iterates over and what
set_updater_desc() indexes from, so set it explicitly and drop the
increment. The error path has to lower it to the number of descriptors
allocated so far, otherwise pxad_free_desc() would free entries that were
never allocated.&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: pxa: fix double counting of the hw descriptors&lt;/p&gt;
&lt;p&gt;pxad_alloc_desc() was converted from&lt;/p&gt;
&lt;p&gt;kzalloc(struct_size(sw_desc, hw_desc, nb_hw_desc), GFP_NOWAIT)&lt;/p&gt;
&lt;p&gt;to kzalloc_flex(), which sets the __counted_by() counter sw_desc-&amp;gt;nb_desc
itself - but only where the compiler has __builtin_counted_by_ref(), so
from gcc 15.1 or clang 22.1 on. The loop below it still increments
nb_desc, which makes it come out doubled there and correct elsewhere.&lt;/p&gt;
&lt;p&gt;nb_desc is what pxad_free_desc() iterates over and what
set_updater_desc() indexes from, so set it explicitly and drop the
increment. The error path has to lower it to the number of descriptors
allocated so far, otherwise pxad_free_desc() would free entries that were
never allocated.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-98324</guid>
    </item>
  </channel>
</rss>
