{"id":"CVE-2022-50866","summary":"ASoC: pxa: fix null-pointer dereference in filter()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: pxa: fix null-pointer dereference in filter()\n\nkasprintf() would return NULL pointer when kmalloc() fail to allocate.\nNeed to check the return pointer before calling strcmp().","modified":"2026-03-20T11:47:40.034309Z","published":"2025-12-30T12:15:37.827Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50866.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0abd1d78317a3a2dfe00b203fbf14ee7df537e0a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/21a1409e8cf73053b54f7860548e3043dfa351a9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/21b92cf41952577a95bfa430e39478cbd66e42a7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5b510a82740d2a42a75b5661b402bcaf8ae22cd5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/83baa509396a742e0ce145b09fde1ce0a948f49a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9fb9b3b67a5b8669296d6372cd901ef86557e6f6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a8baccb79de2f48a2083d51febf627eb50ce1898"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec7bf231aaa1bdbcb69d23bc50c753c80fb22429"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50866.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50866"},{"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":"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}