linux-stable/sound/soc
Guennadi Liakhovetski e3720f92e0
ASoC: SOF: avoid a NULL dereference with unsupported widgets
If an IPC4 topology contains an unsupported widget, its .module_info
field won't be set, then sof_ipc4_route_setup() will cause a kernel
Oops trying to dereference it. Add a check for such cases.

Cc: stable@vger.kernel.org # 6.2
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230329113828.28562-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-29 14:40:18 +01:00
..
adi
amd ASoC: amd: yc: Add DMI entries to support Victus by HP Laptop 16-e1xxx (8A22) 2023-03-17 13:05:49 +00:00
apple ASoC: apple: mca: Improve handling of unavailable DMA channels 2023-02-24 16:31:20 +00:00
atmel ASoC: mchp-pdmc: fix poc noises when starting 2023-02-28 17:59:15 +00:00
au1x
bcm
cirrus sound updates for 6.3-rc1 2023-02-22 10:29:05 -08:00
codecs ASoC: da7213.c: add missing pm_runtime_disable() 2023-03-28 01:26:48 +01:00
dwc
fsl ASoC: clarify that SND_SOC_IMX_SGTL5000 is the old driver 2023-03-05 23:36:36 +00:00
generic ASoC: simple-card-utils: create jack inputs for aux_devs 2023-01-27 12:20:55 +00:00
hisilicon
img
intel ASoC: Intel: bytcr_rt5640: Add quirk for the Acer Iconia One 7 B1-750 2023-03-22 19:05:50 +00:00
jz4740
kirkwood ASoC: kirkwood: Iterate over array indexes instead of using pointer math 2023-01-28 10:51:05 +00:00
mediatek ASoC: mediatek: mt8195: add missing initialization 2023-03-01 14:49:17 +00:00
meson ASoC: meson: use helper function 2023-01-31 11:05:03 +00:00
mxs
pxa - Daniel Verkamp has contributed a memfd series ("mm/memfd: add 2023-02-23 17:09:35 -08:00
qcom ASoC: qcom: q6prm: fix incorrect clk_root passed to ADSP 2023-03-05 23:36:37 +00:00
rockchip ASoC: rockchip: use helper function 2023-01-31 11:05:04 +00:00
samsung sound updates for 6.3-rc1 2023-02-22 10:29:05 -08:00
sh ASoC: rsnd: adg: Fix BRG typos 2023-02-16 13:11:35 +00:00
sof ASoC: SOF: avoid a NULL dereference with unsupported widgets 2023-03-29 14:40:18 +01:00
spear ASoC: spear: use helper function 2023-01-31 11:04:59 +00:00
sprd
sti
stm
sunxi
tegra ASoC: tegra: use helper function 2023-01-31 11:05:05 +00:00
ti sound updates for 6.3-rc1 2023-02-22 10:29:05 -08:00
uniphier ASoC: uniphier: aio-core: Make some read-only arrays static const 2022-12-05 14:05:40 +00:00
ux500 ASoC: ux500: remove stedma40 references 2023-01-20 12:05:57 +00:00
xilinx
xtensa
Kconfig
Makefile
soc-ac97.c ASoC: soc-ac97: Return correct error codes 2023-02-15 16:09:07 +00:00
soc-acpi.c
soc-card.c
soc-component.c ASoC: soc-component: add get_jack_type 2023-01-27 12:20:55 +00:00
soc-compress.c ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress() 2023-01-28 10:51:06 +00:00
soc-core.c ASoC: soc-core.c: use helper function 2023-01-31 11:05:07 +00:00
soc-dai.c ASoC: soc-dai.h: cleanup Playback/Capture data for snd_soc_dai 2023-01-31 11:05:12 +00:00
soc-dapm.c ASoC: soc-dapm.c: use helper function 2023-01-31 11:05:08 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm: fix hw->formats cleared by soc_pcm_hw_init() for dpcm 2023-03-14 13:30:16 +00:00
soc-topology-test.c
soc-topology.c ASoC: Updates for v6.3 2023-02-16 14:32:04 +01:00
soc-utils-test.c
soc-utils.c