<?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, 02 Oct 2026 01:33:03 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-71221 — dmaengine: mmp_pdma: Fix race condition in mmp_pdma_residue()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-71221</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;dmaengine: mmp_pdma: Fix race condition in mmp_pdma_residue()&lt;/p&gt;
&lt;p&gt;Add proper locking in mmp_pdma_residue() to prevent use-after-free when
accessing descriptor list and descriptor contents.&lt;/p&gt;
&lt;p&gt;The race occurs when multiple threads call tx_status() while the tasklet
on another CPU is freeing completed descriptors:&lt;/p&gt;
&lt;p&gt;CPU 0                              CPU 1
-----                              -----
mmp_pdma_tx_status()
mmp_pdma_residue()
  -&amp;gt; NO LOCK held
     list_for_each_entry(sw, ..)
                                   DMA interrupt
                                   dma_do_tasklet()
                                     -&amp;gt; spin_lock(&amp;amp;desc_lock)
                                        list_move(sw-&amp;gt;node, ...)
                                        spin_unlock(&amp;amp;desc_lock)
  |                                     dma_pool_free(sw) &amp;lt;- FREED!
  -&amp;gt; access sw-&amp;gt;desc &amp;lt;- UAF!&lt;/p&gt;
&lt;p&gt;This issue can be reproduced when running dmatest on the same channel with
multiple threads (threads_per_chan &amp;gt; 1).&lt;/p&gt;
&lt;p&gt;Fix by protecting the chain_running list iteration and descriptor access
with the chan-&amp;gt;desc_lock spinlock.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;dmaengine: mmp_pdma: Fix race condition in mmp_pdma_residue()&lt;/p&gt;
&lt;p&gt;Add proper locking in mmp_pdma_residue() to prevent use-after-free when
accessing descriptor list and descriptor contents.&lt;/p&gt;
&lt;p&gt;The race occurs when multiple threads call tx_status() while the tasklet
on another CPU is freeing completed descriptors:&lt;/p&gt;
&lt;p&gt;CPU 0                              CPU 1
-----                              -----
mmp_pdma_tx_status()
mmp_pdma_residue()
  -&amp;gt; NO LOCK held
     list_for_each_entry(sw, ..)
                                   DMA interrupt
                                   dma_do_tasklet()
                                     -&amp;gt; spin_lock(&amp;amp;desc_lock)
                                        list_move(sw-&amp;gt;node, ...)
                                        spin_unlock(&amp;amp;desc_lock)
  |                                     dma_pool_free(sw) &amp;lt;- FREED!
  -&amp;gt; access sw-&amp;gt;desc &amp;lt;- UAF!&lt;/p&gt;
&lt;p&gt;This issue can be reproduced when running dmatest on the same channel with
multiple threads (threads_per_chan &amp;gt; 1).&lt;/p&gt;
&lt;p&gt;Fix by protecting the chain_running list iteration and descriptor access
with the chan-&amp;gt;desc_lock spinlock.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-71221</guid>
    </item>
  </channel>
</rss>
