CVE-2026-139474 ASoC: mediatek: Don't keep a freed topology name in the static card

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139474?

CVE-2026-139474 is a vulnerability in Linux, published on 30 Nov 2026.

Official description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: mediatek: Don't keep a freed topology name in the static card

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-<name>", stores it in card->topology_shortname and points card->name at it.

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:

input: \xc0cr\xc2 DP Jack as /devices/platform/sound/sound/card0/input10

UCM matches profiles by card name, so userspace then finds no profile and the card is unusable until the next boot.

Save the original name before setting the topology name, and restore it from a devm action that runs before the string is freed.

Which versions are affected by CVE-2026-139474?

How do I fix CVE-2026-139474?

Upgrade to a fixed version.

Is CVE-2026-139474 being exploited?

There is no known exploitation of CVE-2026-139474 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-139474, GHSA-fqrq-q4c5-5rm2, UBUNTU-CVE-2026-139474.

Is CVE-2026-139474 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free