<?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-12-04T19:48:14.669748+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-139474</id>
    <title>CVE-2026-139474 — ASoC: mediatek: Don't keep a freed topology name in the static card</title>
    <updated>2026-12-04T19:48:14.670839+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>ASoC: mediatek: Don't keep a freed topology name in the static card</p>
<p>The machine drivers pass a static snd_soc_card, which outlives any one
probe. With SOF, mtk_soundcard_common_probe() calls
snd_soc_card_set_topology_name(), which devm-allocates "sof-&lt;name&gt;",
stores it in card-&gt;topology_shortname and points card-&gt;name at it.</p>
<p>If the probe then fails or defers, devm frees the string, but the static
card keeps both pointers. The next probe does not allocate a new name,
because topology_shortname is already set, so the card registers with
whatever now occupies that memory:</p>
<p>input: \xc0cr\xc2 DP Jack as /devices/platform/sound/sound/card0/input10</p>
<p>UCM matches profiles by card name, so userspace then finds no profile and
the card is unusable until the next boot.</p>
<p>Save the original name before setting the topology name, and restore it
from a devm action that runs before the string is freed.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-139474"/>
  </entry>
</feed>
