diff options
| author | Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> | 2025-08-25 11:12:45 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-06 11:17:00 +0200 |
| commit | 70e1e5fe9f7e05ff831b56ebc02543e7811b8e18 (patch) | |
| tree | 1fef7656dc705027067fd0142ef2313058d8202d /mm/memory_hotplug.c | |
| parent | f617d515d66c05e9aebc787a8fe48b7163fc7b70 (diff) | |
| download | linux-70e1e5fe9f7e05ff831b56ebc02543e7811b8e18.tar.gz linux-70e1e5fe9f7e05ff831b56ebc02543e7811b8e18.tar.bz2 linux-70e1e5fe9f7e05ff831b56ebc02543e7811b8e18.zip | |
ASoC: qcom: audioreach: fix potential null pointer dereference
commit 8318e04ab2526b155773313b66a1542476ce1106 upstream.
It is possible that the topology parsing function
audioreach_widget_load_module_common() could return NULL or an error
pointer. Add missing NULL check so that we do not dereference it.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Cc: Stable@vger.kernel.org
Fixes: 36ad9bf1d93d ("ASoC: qdsp6: audioreach: add topology support")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20250825101247.152619-2-srinivas.kandagatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions
