WSL2-Linux-Kernel/sound/hda
Cezary Rojewski 631a96e9eb 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>
2023-11-28 16:56:18 +00:00
..
ext ALSA/ASoC: hda: move/rename snd_hdac_ext_stop_streams to hdac_stream.c 2022-12-31 13:14:44 +01:00
Kconfig
Makefile
array.c
hda_bus_type.c
hdac_bus.c
hdac_component.c
hdac_controller.c
hdac_device.c ALSA: hda: Fix unhandled register update during auto-suspend period 2023-05-30 13:55:30 +01:00
hdac_i915.c
hdac_regmap.c ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync() 2023-08-26 14:23:26 +02:00
hdac_stream.c ALSA: hda: Fix possible null-ptr-deref when assigning a stream 2023-11-28 16:56:18 +00:00
hdac_sysfs.c
hdmi_chmap.c
intel-dsp-config.c ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection 2023-11-08 17:26:51 +01:00
intel-nhlt.c
intel-sdw-acpi.c
local.h
trace.c
trace.h