CVE-2022-50866

Source
https://cve.org/CVERecord?id=CVE-2022-50866
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50866.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50866
Downstream
Related
Published
2025-12-30T12:15:37.827Z
Modified
2026-03-20T11:47:40.034309Z
Summary
ASoC: pxa: fix null-pointer dereference in filter()
Details

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50866.json",
    "cna_assigner": "Linux"
}
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
7a824e214e25a49442fe868dac0af8a904b24f58
Fixed
3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3
Fixed
5b510a82740d2a42a75b5661b402bcaf8ae22cd5
Fixed
0abd1d78317a3a2dfe00b203fbf14ee7df537e0a
Fixed
a8baccb79de2f48a2083d51febf627eb50ce1898
Fixed
21a1409e8cf73053b54f7860548e3043dfa351a9
Fixed
83baa509396a742e0ce145b09fde1ce0a948f49a
Fixed
9fb9b3b67a5b8669296d6372cd901ef86557e6f6
Fixed
21b92cf41952577a95bfa430e39478cbd66e42a7
Fixed
ec7bf231aaa1bdbcb69d23bc50c753c80fb22429

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.6.0
Fixed
4.9.337
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.303
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.270
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.229
Type
ECOSYSTEM
Events
Introduced
5.5.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-50866.json"