<?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>Tue, 29 Sep 2026 11:35:34 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-39870 — dmaengine: idxd: Fix double free in idxd_setup_wqs()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-39870</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: idxd: Fix double free in idxd_setup_wqs()&lt;/p&gt;
&lt;p&gt;The clean up in idxd_setup_wqs() has had a couple bugs because the error
handling is a bit subtle.  It&amp;#39;s simpler to just re-write it in a cleaner
way.  The issues here are:&lt;/p&gt;
&lt;p&gt;1) If &amp;#34;idxd-&amp;gt;max_wqs&amp;#34; is &amp;lt;= 0 then we call put_device(conf_dev) when
   &amp;#34;conf_dev&amp;#34; hasn&amp;#39;t been initialized.
2) If kzalloc_node() fails then again &amp;#34;conf_dev&amp;#34; is invalid.  It&amp;#39;s
   either uninitialized or it points to the &amp;#34;conf_dev&amp;#34; from the
   previous iteration so it leads to a double free.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s better to free partial loop iterations within the loop and then
the unwinding at the end can handle whole loop iterations.  I also
renamed the labels to describe what the goto does and not where the goto
was located.&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: idxd: Fix double free in idxd_setup_wqs()&lt;/p&gt;
&lt;p&gt;The clean up in idxd_setup_wqs() has had a couple bugs because the error
handling is a bit subtle.  It&amp;#39;s simpler to just re-write it in a cleaner
way.  The issues here are:&lt;/p&gt;
&lt;p&gt;1) If &amp;#34;idxd-&amp;gt;max_wqs&amp;#34; is &amp;lt;= 0 then we call put_device(conf_dev) when
   &amp;#34;conf_dev&amp;#34; hasn&amp;#39;t been initialized.
2) If kzalloc_node() fails then again &amp;#34;conf_dev&amp;#34; is invalid.  It&amp;#39;s
   either uninitialized or it points to the &amp;#34;conf_dev&amp;#34; from the
   previous iteration so it leads to a double free.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s better to free partial loop iterations within the loop and then
the unwinding at the end can handle whole loop iterations.  I also
renamed the labels to describe what the goto does and not where the goto
was located.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-39870</guid>
    </item>
  </channel>
</rss>
