[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091559-CVE-2022-50308-8b1d@gregkh>
Date: Mon, 15 Sep 2025 16:46:10 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50308: ASoC: qcom: Add checks for devm_kcalloc
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ASoC: qcom: Add checks for devm_kcalloc
As the devm_kcalloc may return NULL, the return value needs to be checked
to avoid NULL poineter dereference.
The Linux kernel CVE team has assigned CVE-2022-50308 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.10 with commit 24caf8d9eb108c52e144bcc7af94bb1edcb70700 and fixed in 5.10.163 with commit 4518d7cc38b7d1a7ce5a7878ca601c91e19fe47d
Issue introduced in 5.10 with commit 24caf8d9eb108c52e144bcc7af94bb1edcb70700 and fixed in 5.15.86 with commit f849c116d320e85d1e2c2804c0edb0be3953b62d
Issue introduced in 5.10 with commit 24caf8d9eb108c52e144bcc7af94bb1edcb70700 and fixed in 6.0.16 with commit 7830e2289eb4b74970b6cd1b6cc68dcd021c2281
Issue introduced in 5.10 with commit 24caf8d9eb108c52e144bcc7af94bb1edcb70700 and fixed in 6.1.2 with commit b1e4f92dd0c1d3c162d7ca6c1196995565cca96d
Issue introduced in 5.10 with commit 24caf8d9eb108c52e144bcc7af94bb1edcb70700 and fixed in 6.2 with commit 1bf5ee979076ceb121ee51c95197d890b1cee7f4
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-50308
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
sound/soc/qcom/lpass-sc7180.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/4518d7cc38b7d1a7ce5a7878ca601c91e19fe47d
https://git.kernel.org/stable/c/f849c116d320e85d1e2c2804c0edb0be3953b62d
https://git.kernel.org/stable/c/7830e2289eb4b74970b6cd1b6cc68dcd021c2281
https://git.kernel.org/stable/c/b1e4f92dd0c1d3c162d7ca6c1196995565cca96d
https://git.kernel.org/stable/c/1bf5ee979076ceb121ee51c95197d890b1cee7f4
Powered by blists - more mailing lists