CVE-2022-50308

Source
https://cve.org/CVERecord?id=CVE-2022-50308
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50308.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50308
Downstream
Related
Published
2025-09-15T14:46:03.510Z
Modified
2026-04-11T12:44:55.048925Z
Summary
ASoC: qcom: Add checks for devm_kcalloc
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50308.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
24caf8d9eb108c52e144bcc7af94bb1edcb70700
Fixed
4518d7cc38b7d1a7ce5a7878ca601c91e19fe47d
Fixed
f849c116d320e85d1e2c2804c0edb0be3953b62d
Fixed
7830e2289eb4b74970b6cd1b6cc68dcd021c2281
Fixed
b1e4f92dd0c1d3c162d7ca6c1196995565cca96d
Fixed
1bf5ee979076ceb121ee51c95197d890b1cee7f4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50308.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50308.json"