linux-yocto/sound
Srinivas Kandagatla 8f9c9fafc0 ASoC: qcom: audioreach: fix potential null pointer dereference
commit 8318e04ab2526b155773313b66a1542476ce1106 upstream.

It is possible that the topology parsing function
audioreach_widget_load_module_common() could return NULL or an error
pointer. Add missing NULL check so that we do not dereference it.

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Cc: Stable@vger.kernel.org
Fixes: 36ad9bf1d9 ("ASoC: qdsp6: audioreach: add topology support")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20250825101247.152619-2-srinivas.kandagatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-06 11:18:48 +02:00
..
ac97
aoa
arm
atmel ALSA: atmel: Replace deprecated strcpy() with strscpy() 2025-05-22 20:35:56 +02:00
core ALSA: timer: fix ida_free call while not allocated 2025-08-28 16:34:49 +02:00
drivers treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
firewire ALSA: firewire-motu: drop EPOLLOUT from poll return values as write is not supported 2025-09-25 11:16:42 +02:00
hda Merge branch 'for-linus' into for-next 2025-05-22 20:34:24 +02:00
i2c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
isa ALSA: ad1816a: Fix potential NULL pointer deref in snd_card_ad1816a_pnp() 2025-07-04 09:04:12 +02:00
mips ALSA: n64: Replace deprecated strcpy() with strscpy() 2025-05-19 17:49:59 +02:00
oss
parisc
pci ALSA: hda/realtek: Add support for ASUS NUC using CS35L41 HDA 2025-10-02 13:48:24 +02:00
pcmcia
ppc
sh treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
soc ASoC: qcom: audioreach: fix potential null pointer dereference 2025-10-06 11:18:48 +02:00
sparc ALSA: amd7930: replace strcpy() with strscpy() 2025-05-20 16:07:18 +02:00
spi
synth treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
usb ALSA: usb-audio: fix race condition to UAF in snd_usbmidi_free 2025-10-06 11:18:47 +02:00
virtio ALSA: virtio: use snd_kcontrol_chip() 2025-05-08 11:53:34 +02:00
x86 ALSA: intel_hdmi: Fix off-by-one error in __hdmi_lpe_audio_probe() 2025-08-15 16:39:33 +02:00
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c