linux-stable/sound/hda
Cezary Rojewski 7de25112de ALSA: hda: Fix possible null-ptr-deref when assigning a stream
[ Upstream commit f93dc90c2e ]

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>
2023-11-28 16:45:43 +00:00
..
ext
Kconfig
Makefile
array.c
hda_bus_type.c
hdac_bus.c
hdac_controller.c
hdac_device.c
hdac_i915.c
hdac_regmap.c
hdac_stream.c
hdac_sysfs.c
hdmi_chmap.c
local.h
trace.c
trace.h