<?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 06:35:14 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-64328 — usb: gadget: f_fs: Fix DMA fence leak</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-64328</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;usb: gadget: f_fs: Fix DMA fence leak&lt;/p&gt;
&lt;p&gt;In ffs_dmabuf_transfer(), a ffs_dma_fence object is kmalloc&amp;#39;d, with the
underlying dma_fence later initialized by dma_fence_init(), which sets
its kref counter to 1. Then, dma_resv_add_fence() gets a second
reference, and a pointer to the ffs_dma_fence is passed as the
usb_request&amp;#39;s &amp;#34;context&amp;#34; field.&lt;/p&gt;
&lt;p&gt;The dma-resv mechanism will manage the second reference, but the first
reference is never properly released; the ffs_dmabuf_cleanup() function
decreases the reference count, but only to balance with the reference
grab in ffs_dmabuf_signal_done().&lt;/p&gt;
&lt;p&gt;The code will then slowly leak memory as more ffs_dma_fence objects are
created without being ever freed.&lt;/p&gt;
&lt;p&gt;Address this issue by transferring ownership of the fence to the DMA
reservation object, by calling dma_fence_put() right after
dma_resv_add_fence(). The ffs_dma_fence then gets properly discarded
after being signalled.&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;usb: gadget: f_fs: Fix DMA fence leak&lt;/p&gt;
&lt;p&gt;In ffs_dmabuf_transfer(), a ffs_dma_fence object is kmalloc&amp;#39;d, with the
underlying dma_fence later initialized by dma_fence_init(), which sets
its kref counter to 1. Then, dma_resv_add_fence() gets a second
reference, and a pointer to the ffs_dma_fence is passed as the
usb_request&amp;#39;s &amp;#34;context&amp;#34; field.&lt;/p&gt;
&lt;p&gt;The dma-resv mechanism will manage the second reference, but the first
reference is never properly released; the ffs_dmabuf_cleanup() function
decreases the reference count, but only to balance with the reference
grab in ffs_dmabuf_signal_done().&lt;/p&gt;
&lt;p&gt;The code will then slowly leak memory as more ffs_dma_fence objects are
created without being ever freed.&lt;/p&gt;
&lt;p&gt;Address this issue by transferring ownership of the fence to the DMA
reservation object, by calling dma_fence_put() right after
dma_resv_add_fence(). The ffs_dma_fence then gets properly discarded
after being signalled.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-64328</guid>
    </item>
  </channel>
</rss>
