kernel_samsung_a53x/sound/hda
Cezary Rojewski 02ea65e4ba ALSA: hda: Fix possible null-ptr-deref when assigning a stream
[ Upstream commit f93dc90c2e8ed664985e366aa6459ac83cdab236 ]

While AudioDSP drivers assign streams exclusively of HOST or LINK type,
nothing blocks a user to attempt to assign a COUPLED stream. As
supplied substream instance may be a stub, what is the case when
code-loading, such scenario ends with null-ptr-deref.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20231006102857.749143-2-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:43:14 +01:00
..
ext Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
array.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_bus_type.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdac_bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdac_component.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdac_controller.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdac_device.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdac_i915.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdac_regmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdac_stream.c ALSA: hda: Fix possible null-ptr-deref when assigning a stream 2024-11-18 11:43:14 +01:00
hdac_sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdmi_chmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-dsp-config.c ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection 2024-11-18 10:58:48 +01:00
intel-nhlt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
local.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00