<?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://db.gcve.eu</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, 04 Dec 2026 19:16:48 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139524 — dmaengine: switchtec-dma: fix channel leak on registration failure</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139524</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: switchtec-dma: fix channel leak on registration failure&lt;/p&gt;
&lt;p&gt;switchtec_dma_chans_release() is called in three places but the
underlying memory is not freed in all of those places. In order to
clean this up, introduce a switchtec_dma_chans_free() helper that
will free the memory.&lt;/p&gt;
&lt;p&gt;Ensure each call to switchtec_dma_chans_release() has a corresponding
switchtec_dma_chans_free() call. (The release in switchtec_dma_remove()
pairs with the free in switchtec_dma_release()).&lt;/p&gt;
&lt;p&gt;swdma_dev-&amp;gt;chan_cnt is now set to the number of channels that succeeded
when one fails to initialise, so switchtec_dma_chans_free() can still
be used if not all channels succeed in being allocated.&lt;/p&gt;
&lt;p&gt;switchtec_dma_chans_free() also removes each channel from
dma_dev-&amp;gt;channels before freeing it, since the channel status ISR
walks that list and would otherwise dereference freed memory.&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: switchtec-dma: fix channel leak on registration failure&lt;/p&gt;
&lt;p&gt;switchtec_dma_chans_release() is called in three places but the
underlying memory is not freed in all of those places. In order to
clean this up, introduce a switchtec_dma_chans_free() helper that
will free the memory.&lt;/p&gt;
&lt;p&gt;Ensure each call to switchtec_dma_chans_release() has a corresponding
switchtec_dma_chans_free() call. (The release in switchtec_dma_remove()
pairs with the free in switchtec_dma_release()).&lt;/p&gt;
&lt;p&gt;swdma_dev-&amp;gt;chan_cnt is now set to the number of channels that succeeded
when one fails to initialise, so switchtec_dma_chans_free() can still
be used if not all channels succeed in being allocated.&lt;/p&gt;
&lt;p&gt;switchtec_dma_chans_free() also removes each channel from
dma_dev-&amp;gt;channels before freeing it, since the channel status ISR
walks that list and would otherwise dereference freed memory.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139524</guid>
    </item>
  </channel>
</rss>
