<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-17T18:42:11.571914+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-98314</id>
    <title>CVE-2026-98314 — ALSA: pcm: set timer-&gt;private_data before registering the PCM timer</title>
    <updated>2026-10-17T18:42:11.573507+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>ALSA: pcm: set timer-&gt;private_data before registering the PCM timer</p>
<p>snd_pcm_timer_init() calls snd_device_register() to link the new
struct snd_timer into the global timer list while it still carries
hw.c_resolution = snd_pcm_timer_resolution (and hw.start/hw.stop),
and only afterwards sets timer-&gt;private_data = substream.</p>
<p>Once the timer is on the list under register_mutex, a concurrent
reader can already reach it through the same mutex and invoke these
callbacks. /proc/asound/timers does this via c_resolution(), and
snd_timer_open()+snd_timer_start() reach start()/stop() the same way.
All three dereference timer-&gt;private_data, which for this brief
window is NULL, giving a NULL-pointer dereference:</p>
<p>substream = timer-&gt;private_data;
  return substream-&gt;runtime ? ...   // substream is NULL</p>
<p>Move the private_data/private_free assignment before
snd_device_register() so the timer is never visible on the list
without its private_data set. On the snd_device_register() failure
path, private_free() (snd_pcm_timer_free()) can now run, but it only
does substream-&gt;timer = NULL, which is already NULL at that point
since substream-&gt;timer is set to the new timer just once, after a
successful registration -- so the failure path stays safe.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-98314"/>
  </entry>
</feed>
