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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2025-12-30T12:15:37.827Z
- **Modified:** 2026-06-17T05:24:19.247Z

## Who should check

- Anyone running Linux \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 5b510a82740d2a42a75b5661b402bcaf8ae22cd5; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 0abd1d78317a3a2dfe00b203fbf14ee7df537e0a; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< a8baccb79de2f48a2083d51febf627eb50ce1898; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 21a1409e8cf73053b54f7860548e3043dfa351a9; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 83baa509396a742e0ce145b09fde1ce0a948f49a; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 9fb9b3b67a5b8669296d6372cd901ef86557e6f6; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 21b92cf41952577a95bfa430e39478cbd66e42a7; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< ec7bf231aaa1bdbcb69d23bc50c753c80fb22429
- Anyone running Linux 3.6

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

## Affected and fixed versions

- Linux: \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 5b510a82740d2a42a75b5661b402bcaf8ae22cd5; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 0abd1d78317a3a2dfe00b203fbf14ee7df537e0a; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< a8baccb79de2f48a2083d51febf627eb50ce1898; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 21a1409e8cf73053b54f7860548e3043dfa351a9; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 83baa509396a742e0ce145b09fde1ce0a948f49a; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 9fb9b3b67a5b8669296d6372cd901ef86557e6f6; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 21b92cf41952577a95bfa430e39478cbd66e42a7; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< ec7bf231aaa1bdbcb69d23bc50c753c80fb22429 (cvelist)
- Linux: 3.6 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50866. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50866.md
Affected: Linux >= 7a824e214e25a49442fe868dac0af8a904b24f58, < 3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3; >= 7a824e214e25a49442fe868dac0af8a904b24f58, < 5b510a82740d2a42a75b5661b402bcaf8ae22cd5; >= 7a824e214e25a49442fe868dac0af8a904b24f58, < 0abd1d78317a3a2dfe00b203fbf14ee7df537e0a; >= 7a824e214e25a49442fe868…
Fixed in: Linux 3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3, Linux 5b510a82740d2a42a75b5661b402bcaf8ae22cd5, Linux 0abd1d78317a3a2dfe00b203fbf14ee7df537e0a, Linux 21a1409e8cf73053b54f7860548e3043dfa351a9, Linux 83baa509396a742e0ce145b09fde1ce0a948f49a, Linux 9fb9b3b67a5b8669296d6372cd901ef86557e6f6, Linux 21b92…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50866 being exploited?

There is no confirmed exploitation: CVE-2022-50866 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50866?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2022-50866?

Linux \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 5b510a82740d2a42a75b5661b402bcaf8ae22cd5; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 0abd1d78317a3a2dfe00b203fbf14ee7df537e0a; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< a8baccb79de2f48a2083d51febf627eb50ce1898; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 21a1409e8cf73053b54f7860548e3043dfa351a9; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 83baa509396a742e0ce145b09fde1ce0a948f49a; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 9fb9b3b67a5b8669296d6372cd901ef86557e6f6; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< 21b92cf41952577a95bfa430e39478cbd66e42a7; \>= 7a824e214e25a49442fe868dac0af8a904b24f58, \< ec7bf231aaa1bdbcb69d23bc50c753c80fb22429; Linux 3.6.

### Is there a fix for CVE-2022-50866?

Yes. Fixed in Linux 3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3, Linux 5b510a82740d2a42a75b5661b402bcaf8ae22cd5, Linux 0abd1d78317a3a2dfe00b203fbf14ee7df537e0a, Linux 21a1409e8cf73053b54f7860548e3043dfa351a9, Linux 83baa509396a742e0ce145b09fde1ce0a948f49a, Linux 9fb9b3b67a5b8669296d6372cd901ef86557e6f6, Linux 21b92cf41952577a95bfa430e39478cbd66e42a7. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50866?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50866>

HTML: <https://flawdb.com/CVE-2022-50866> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50866>
