kernel_samsung_a53x/sound/soc/qcom
Zichen Xie 7192ce2bed ASoC: qcom: Fix NULL Dereference in asoc_qcom_lpass_cpu_platform_probe()
commit 49da1463c9e3d2082276c3e0e2a8b65a88711cd2 upstream.

A devm_kzalloc() in asoc_qcom_lpass_cpu_platform_probe() could
possibly return NULL pointer. NULL Pointer Dereference may be
triggerred without addtional check.
Add a NULL check for the returned pointer.

Fixes: b5022a36d28f ("ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers")
Cc: stable@vger.kernel.org
Signed-off-by: Zichen Xie <zichenxie0106@gmail.com>
Link: https://patch.msgid.link/20241006205737.8829-1-zichenxie0106@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:22:02 +01:00
..
qdsp6 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
apq8016_sbc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
apq8096.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpass-apq8016.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpass-cpu.c ASoC: qcom: Fix NULL Dereference in asoc_qcom_lpass_cpu_platform_probe() 2024-11-23 23:22:02 +01:00
lpass-hdmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpass-hdmi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpass-ipq806x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpass-lpaif-reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpass-platform.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpass-sc7180.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpass.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sdm845.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
storm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00