# CVE-2022-50308: ASoC: qcom: Add checks for devm_kcalloc

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-15T14:46:03.510Z
- Modified: 2026-06-17T05:23:12.167Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 24caf8d9eb108c52e144bcc7af94bb1edcb70700 before 4518d7cc38b7d1a7ce5a7878ca601c91e19fe47d; from 24caf8d9eb108c52e144bcc7af94bb1edcb70700 before f849c116d320e85d1e2c2804c0edb0be3953b62d; from 24caf8d9eb108c52e144bcc7af94bb1edcb70700 before 7830e2289eb4b74970b6cd1b6cc68dcd021c2281; from 24caf8d9eb108c52e144bcc7af94bb1edcb70700 before b1e4f92dd0c1d3c162d7ca6c1196995565cca96d; from 24caf8d9eb108c52e144bcc7af94bb1edcb70700 before 1bf5ee979076ceb121ee51c95197d890b1cee7f4; 5.10 (not affected: before 5.10; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.10 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## References

- <https://git.kernel.org/stable/c/4518d7cc38b7d1a7ce5a7878ca601c91e19fe47d> (patch)
- <https://git.kernel.org/stable/c/f849c116d320e85d1e2c2804c0edb0be3953b62d> (patch)
- <https://git.kernel.org/stable/c/7830e2289eb4b74970b6cd1b6cc68dcd021c2281> (patch)
- <https://git.kernel.org/stable/c/b1e4f92dd0c1d3c162d7ca6c1196995565cca96d> (patch)
- <https://git.kernel.org/stable/c/1bf5ee979076ceb121ee51c95197d890b1cee7f4> (patch)

## Sources

- CVE List: [CVE-2022-50308](https://www.cve.org/CVERecord?id=CVE-2022-50308), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50308](https://nvd.nist.gov/vuln/detail/CVE-2022-50308), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50308 · Whole record: https://cve.day/CVE-2022-50308.json · Rebuilt by cve.day 2026-11-25T22:58:21.157Z
