linux-stable/sound/soc
Peter Ujfalusi 9e16f17a2a ASoC: SOF: ipc4-topology: Fix input format query of process modules without base extension
commit ffa077b2f6 upstream.

If a process module does not have base config extension then the same
format applies to all of it's inputs and the process->base_config_ext is
NULL, causing NULL dereference when specifically crafted topology and
sequences used.

Fixes: 648fea1284 ("ASoC: SOF: ipc4-topology: set copier output format for process module")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Cc: stable@vger.kernel.org
Link: https://msgid.link/r/20240529121201.14687-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-06-16 13:51:12 +02:00
..
adi
amd ASoC: amd: acp: fix for acp platform device creation failure 2024-06-12 11:39:34 +02:00
apple
atmel ASoC: atmel: use devm_snd_soc_register_card() 2024-01-22 00:06:03 +00:00
au1x
bcm
cirrus ASoC: cirrus: edb93xx: Drop legacy include 2023-12-01 16:59:22 +00:00
codecs ASoC: cs42l43: Only restrict 44.1kHz for the ASP 2024-06-12 11:39:50 +02:00
dwc
fsl Linux 6.8 2024-03-13 18:22:15 +00:00
generic ASoC: audio-graph-card2: fix index check on graph_parse_node_multi_nm() 2024-01-12 14:13:53 +00:00
google
hisilicon ASoC: hisilicon: Drop GPIO include 2023-12-18 14:03:29 +00:00
img
intel ASoC: Intel: avs: Test result of avs_get_module_entry() 2024-05-30 09:44:47 +02:00
jz4740
kirkwood ASoC: kirkwood: Fix potential NULL dereference 2024-05-30 09:44:44 +02:00
loongson
mediatek ASoC: mediatek: mt8192: fix register configuration for tdm 2024-06-12 11:39:36 +02:00
meson ASoC: meson: tdm fixes 2024-04-30 23:36:23 +09:00
mxs
pxa ASoC: Updates for v6.9 2024-03-11 16:18:47 +01:00
qcom Linux 6.8 2024-03-13 18:22:15 +00:00
rockchip ASoC: rockchip: i2s-tdm: Fix inaccurate sampling rates 2024-03-12 16:03:03 +00:00
samsung ASoC: samsung: odroid: don't need DUMMY Platform 2023-12-19 13:23:43 +00:00
sh Linux 6.8 2024-03-13 18:22:15 +00:00
sof ASoC: SOF: ipc4-topology: Fix input format query of process modules without base extension 2024-06-16 13:51:12 +02:00
spear
sprd ASoC: sprd: Simplify memory allocation in sprd_platform_compr_dma_config() 2023-12-19 14:02:50 +00:00
starfive
sti ASoC: sti-uniperf: Use default pcm_config instead 2023-11-13 01:26:07 +00:00
stm
sunxi ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 2024-01-29 16:55:18 +00:00
tegra ASoC: tegra: Fix DSPK 16-bit playback 2024-04-08 13:38:46 +01:00
ti ASoC: ti: davinci-mcasp: Fix race condition during probe 2024-04-19 09:42:04 +09:00
uniphier
ux500
xilinx
xtensa
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-card.c ASoC: soc-card: Fix missing locking in snd_soc_card_get_kcontrol() 2024-02-23 13:40:06 +00:00
soc-component.c
soc-compress.c ASoC: soc-compress: Fix and add DPCM locking 2024-03-18 14:41:51 +00:00
soc-core.c ASoC: soc-core.c: Skip dummy codec when adding platforms 2024-03-12 16:35:04 +00:00
soc-dai.c
soc-dapm.c ASoC: trace: add event to snd_soc_dapm trace events 2024-03-06 14:03:27 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c
soc-ops.c ASoC: ops: Fix wraparound for mask in snd_soc_get_volsw 2024-03-28 22:01:43 +00:00
soc-pcm.c ASoC: Updates for v6.8 2024-01-08 08:18:02 +01:00
soc-topology-test.c ASoC: topology: Replace fake root_device with kunit_device in tests 2023-12-18 13:28:08 -07:00
soc-topology.c
soc-utils-test.c
soc-utils.c