linux-sound.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bad topology file paths when re-inserting snd_sof_pci_intel_tgl
@ 2025-04-22 18:48 Tavian Barnes
  2025-04-23  7:27 ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Tavian Barnes @ 2025-04-22 18:48 UTC (permalink / raw)
  To: linux-sound

I'm trying to debug some audio issues on my ThinkPad X1 Carbon (Gen
10), and I noticed something that's probably a bug: when I remove and
re-insert the snd_sof_pci_intel_tgl module, it tries to load a
different tplg file every time.  Example:

# dmesg -t | grep tplg
sof-audio-pci-intel-tgl 0000:00:1f.3:  Topology file:
intel/sof-tplg/sof-hda-generic-idisp-4ch.tplg
# modprobe -r snd_sof_pci_intel_tgl
# modprobe snd_sof_pci_intel_tgl
# dmesg | grep tplg
sof-audio-pci-intel-tgl 0000:00:1f.3:  Topology file:
intel/sof-tplg/sof-hda-generic-idisp-4ch.tplg
sof-audio-pci-intel-tgl 0000:00:1f.3:  Topology file:
intel/sof-tplg/sof-hda-generic-idisp-idisp-4ch.tplg
# modprobe -r snd_sof_pci_intel_tgl
# modprobe snd_sof_pci_intel_tgl
# dmesg | grep tplg
sof-audio-pci-intel-tgl 0000:00:1f.3:  Topology file:
intel/sof-tplg/sof-hda-generic-idisp-4ch.tplg
sof-audio-pci-intel-tgl 0000:00:1f.3:  Topology file:
intel/sof-tplg/sof-hda-generic-idisp-idisp-4ch.tplg
sof-audio-pci-intel-tgl 0000:00:1f.3:  Topology file:
intel/sof-tplg/\xa0\x11\xaf\x0e\x8d\x8e\xff\xff\xb0\x11\xaf\x0e\x8d\x8e\xff\xff\xb0\x11\xaf\x0e\x8d\x8e\xff\xff-idisp-4ch.tplg

The second time, it added an extra -idisp to the path
(intel/sof-tplg/sof-hda-generic-idisp-idisp-4ch.tplg).  The third
time, the path seems to have become totally corrupted.

I'm seeing this on kernel version 6.14.3-arch1, which has no
sound-related changes from the regular stable 6.14.3 kernel.  I can
try current master but I don't see any relevant changes to the code
that adds -idisp in sound/soc/sof/intel/hda.c.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-05-15 12:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-22 18:48 Bad topology file paths when re-inserting snd_sof_pci_intel_tgl Tavian Barnes
2025-04-23  7:27 ` Takashi Iwai
2025-04-23 15:07   ` [PATCH] ASoC: SOF: Intel: hda: Fix UAF when reloading module Tavian Barnes
2025-04-23 16:50     ` [PATCH v2] " Tavian Barnes
2025-05-06 15:12       ` [PATCH RESEND " Tavian Barnes
2025-05-07  5:09       ` Liao, Bard
2025-05-07  7:33       ` Péter Ujfalusi
2025-05-07 14:04         ` Tavian Barnes
2025-05-15  8:05       ` Péter Ujfalusi
2025-05-15 12:19         ` Tavian Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).