<?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>Sat, 05 Dec 2026 12:33:01 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142913 — ALSA: pcm: Protect delay DMA sync against concurrent HW_FREE</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142913</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;ALSA: pcm: Protect delay DMA sync against concurrent HW_FREE&lt;/p&gt;
&lt;p&gt;A PCM DMA buffer must remain allocated until explicit DMA synchronization
finishes. snd_pcm_delay() calls snd_pcm_dma_buffer_sync() after dropping
the stream lock, without participating in the buffer-access exclusion
used by HW_FREE.&lt;/p&gt;
&lt;p&gt;With a managed NONCONTIG buffer requiring explicit sync, HW_PARAMS can
allocate a separate runtime descriptor when the requested ring exceeds
the preallocation. In PREPARED state with mmap_count zero, concurrent
HWSYNC and HW_FREE calls on the same open PCM file can interleave:&lt;/p&gt;
&lt;p&gt;1. HWSYNC checks the state in snd_pcm_delay() under the stream lock and
   releases that lock.
2. The sync helper fetches runtime-&amp;gt;dma_buffer_p and enters
   snd_dma_noncontig_sync() with that descriptor.
3. HW_FREE takes the negative buffer-access count, checks PREPARED under
   the stream lock, releases the lock, and frees the DMA allocation and
   dynamic descriptor through snd_pcm_lib_free_pages().
4. The sync callback resumes and reads the freed descriptor.&lt;/p&gt;
&lt;p&gt;The stream lock does not cover the allocation&amp;#39;s release, and the sync
operation has no positive buffer-access count to prevent it. The stale
read causes a use-after-free in snd_dma_noncontig_sync(). DELAY uses the
same snd_pcm_delay() path.&lt;/p&gt;
&lt;p&gt;Take a positive buffer-access count before checking the state and keep it
until the DMA sync finishes, as the transfer and mmap paths already d…&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;ALSA: pcm: Protect delay DMA sync against concurrent HW_FREE&lt;/p&gt;
&lt;p&gt;A PCM DMA buffer must remain allocated until explicit DMA synchronization
finishes. snd_pcm_delay() calls snd_pcm_dma_buffer_sync() after dropping
the stream lock, without participating in the buffer-access exclusion
used by HW_FREE.&lt;/p&gt;
&lt;p&gt;With a managed NONCONTIG buffer requiring explicit sync, HW_PARAMS can
allocate a separate runtime descriptor when the requested ring exceeds
the preallocation. In PREPARED state with mmap_count zero, concurrent
HWSYNC and HW_FREE calls on the same open PCM file can interleave:&lt;/p&gt;
&lt;p&gt;1. HWSYNC checks the state in snd_pcm_delay() under the stream lock and
   releases that lock.
2. The sync helper fetches runtime-&amp;gt;dma_buffer_p and enters
   snd_dma_noncontig_sync() with that descriptor.
3. HW_FREE takes the negative buffer-access count, checks PREPARED under
   the stream lock, releases the lock, and frees the DMA allocation and
   dynamic descriptor through snd_pcm_lib_free_pages().
4. The sync callback resumes and reads the freed descriptor.&lt;/p&gt;
&lt;p&gt;The stream lock does not cover the allocation&amp;#39;s release, and the sync
operation has no positive buffer-access count to prevent it. The stale
read causes a use-after-free in snd_dma_noncontig_sync(). DELAY uses the
same snd_pcm_delay() path.&lt;/p&gt;
&lt;p&gt;Take a positive buffer-access count before checking the state and keep it
until the DMA sync finishes, as the transfer and mmap paths already d…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142913</guid>
    </item>
  </channel>
</rss>
