# CVE-2022-50866: ASoC: pxa: fix null-pointer dereference in filter()

- Severity: not scored yet
- 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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-12-30T12:15:37.827Z
- Modified: 2026-06-17T05:24:19.247Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: pxa: fix null-pointer dereference in filter()

kasprintf() would return NULL pointer when kmalloc() fail to allocate.
Need to check the return pointer before calling strcmp().

(As written by CVE List.)

## Affected

- Linux Linux: from 7a824e214e25a49442fe868dac0af8a904b24f58 before 3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3; from 7a824e214e25a49442fe868dac0af8a904b24f58 before 5b510a82740d2a42a75b5661b402bcaf8ae22cd5; from 7a824e214e25a49442fe868dac0af8a904b24f58 before 0abd1d78317a3a2dfe00b203fbf14ee7df537e0a; from 7a824e214e25a49442fe868dac0af8a904b24f58 before a8baccb79de2f48a2083d51febf627eb50ce1898; from 7a824e214e25a49442fe868dac0af8a904b24f58 before 21a1409e8cf73053b54f7860548e3043dfa351a9; from 7a824e214e25a49442fe868dac0af8a904b24f58 before 83baa509396a742e0ce145b09fde1ce0a948f49a; from 7a824e214e25a49442fe868dac0af8a904b24f58 before 9fb9b3b67a5b8669296d6372cd901ef86557e6f6; from 7a824e214e25a49442fe868dac0af8a904b24f58 before 21b92cf41952577a95bfa430e39478cbd66e42a7; from 7a824e214e25a49442fe868dac0af8a904b24f58 before ec7bf231aaa1bdbcb69d23bc50c753c80fb22429; 3.6 (not affected: before 3.6; from 4.9.337 up to 4.9.*; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; 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 *)

## References

- <https://git.kernel.org/stable/c/3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3>
- <https://git.kernel.org/stable/c/5b510a82740d2a42a75b5661b402bcaf8ae22cd5>
- <https://git.kernel.org/stable/c/0abd1d78317a3a2dfe00b203fbf14ee7df537e0a>
- <https://git.kernel.org/stable/c/a8baccb79de2f48a2083d51febf627eb50ce1898>
- <https://git.kernel.org/stable/c/21a1409e8cf73053b54f7860548e3043dfa351a9>
- <https://git.kernel.org/stable/c/83baa509396a742e0ce145b09fde1ce0a948f49a>
- <https://git.kernel.org/stable/c/9fb9b3b67a5b8669296d6372cd901ef86557e6f6>
- <https://git.kernel.org/stable/c/21b92cf41952577a95bfa430e39478cbd66e42a7>
- <https://git.kernel.org/stable/c/ec7bf231aaa1bdbcb69d23bc50c753c80fb22429>

## Sources

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

---

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