summaryrefslogtreecommitdiff
path: root/sound/soc/amd/yc
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>2023-03-29 14:38:28 +0300
committerMark Brown <broonie@kernel.org>2023-03-29 16:40:18 +0300
commite3720f92e0237921da537e47a0b24e27899203f8 (patch)
tree865f47ce1954e0939ffbc2083cce247711b423c6 /sound/soc/amd/yc
parent44378cd113e5f15bb0a89f5ac5a0e687b52feb90 (diff)
downloadlinux-e3720f92e0237921da537e47a0b24e27899203f8.tar.xz
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>
Diffstat (limited to 'sound/soc/amd/yc')
0 files changed, 0 insertions, 0 deletions