{"id":"CVE-2022-50866","aliases":["CVE-2022-50866"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: pxa: fix null-pointer dereference in filter()","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"}],"published":"2025-12-30T12:15:37.827Z","modified":"2026-06-17T05:24:19.247Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7a824e214e25a49442fe868dac0af8a904b24f58","fixed":"3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3","status":"affected"},{"type":"git","introduced":"7a824e214e25a49442fe868dac0af8a904b24f58","fixed":"5b510a82740d2a42a75b5661b402bcaf8ae22cd5","status":"affected"},{"type":"git","introduced":"7a824e214e25a49442fe868dac0af8a904b24f58","fixed":"0abd1d78317a3a2dfe00b203fbf14ee7df537e0a","status":"affected"},{"type":"git","introduced":"7a824e214e25a49442fe868dac0af8a904b24f58","fixed":"a8baccb79de2f48a2083d51febf627eb50ce1898","status":"affected"},{"type":"git","introduced":"7a824e214e25a49442fe868dac0af8a904b24f58","fixed":"21a1409e8cf73053b54f7860548e3043dfa351a9","status":"affected"},{"type":"git","introduced":"7a824e214e25a49442fe868dac0af8a904b24f58","fixed":"83baa509396a742e0ce145b09fde1ce0a948f49a","status":"affected"},{"type":"git","introduced":"7a824e214e25a49442fe868dac0af8a904b24f58","fixed":"9fb9b3b67a5b8669296d6372cd901ef86557e6f6","status":"affected"},{"type":"git","introduced":"7a824e214e25a49442fe868dac0af8a904b24f58","fixed":"21b92cf41952577a95bfa430e39478cbd66e42a7","status":"affected"},{"type":"git","introduced":"7a824e214e25a49442fe868dac0af8a904b24f58","fixed":"ec7bf231aaa1bdbcb69d23bc50c753c80fb22429","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.6","status":"unaffected"},{"type":"semver","introduced":"4.9.337","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.303","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5b510a82740d2a42a75b5661b402bcaf8ae22cd5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0abd1d78317a3a2dfe00b203fbf14ee7df537e0a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a8baccb79de2f48a2083d51febf627eb50ce1898","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/21a1409e8cf73053b54f7860548e3043dfa351a9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/83baa509396a742e0ce145b09fde1ce0a948f49a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9fb9b3b67a5b8669296d6372cd901ef86557e6f6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/21b92cf41952577a95bfa430e39478cbd66e42a7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec7bf231aaa1bdbcb69d23bc50c753c80fb22429","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50866","url":"https://www.cve.org/CVERecord?id=CVE-2022-50866","licence":"CVE Terms of Use","modified":"2026-05-11T19:26:38.291Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50866","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50866","licence":"Public domain","modified":"2026-06-17T05:24:19.247Z"}],"updatedAt":"2026-11-25T22:58:21.385Z","epss":{"score":0.00249,"percentile":0.17305,"date":"2026-12-01T12:00:22.000Z"}}