{"id":"CVE-2022-50308","summary":"ASoC: qcom: Add checks for devm_kcalloc","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: qcom: Add checks for devm_kcalloc\n\nAs the devm_kcalloc may return NULL, the return value needs to be checked\nto avoid NULL poineter dereference.","modified":"2026-04-02T08:28:23.537276Z","published":"2025-09-15T14:46:03.510Z","related":["SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50308.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1bf5ee979076ceb121ee51c95197d890b1cee7f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4518d7cc38b7d1a7ce5a7878ca601c91e19fe47d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7830e2289eb4b74970b6cd1b6cc68dcd021c2281"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b1e4f92dd0c1d3c162d7ca6c1196995565cca96d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f849c116d320e85d1e2c2804c0edb0be3953b62d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50308.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50308"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2022-50308.json"}}],"schema_version":"1.7.5"}