# CVE-2026-139474

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139474/
- Yayımlanma: 2026-11-30T17:19:20+03:00
- Yazar: Postmaster

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: xc0crxc2 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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139474)
