CVE-2022-50866 Details
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().
A null-pointer dereference vulnerability has been identified in the Linux kernel's ASoC PXA component, specifically within the audio DMA filter function. This issue arises because the kasprintf() function can return a NULL pointer if kmalloc() fails to allocate memory. The vulnerability exists in several versions of the Linux kernel stable tree. The problem can be exploited by not checking the return value of kasprintf() before using it in a string comparison, leading to a potential crash of the audio subsystem.
Users can upgrade to the latest version of the Linux kernel stable tree, where this vulnerability has been fixed. Instructions for downloading the patched version are available on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0abd1d78317a3a2dfe00b203fbf14ee7df537e0a | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/21a1409e8cf73053b54f7860548e3043dfa351a9 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/21b92cf41952577a95bfa430e39478cbd66e42a7 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/3ec75e0ea9550b8f2e531172f2e67ba9d5227ec3 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/5b510a82740d2a42a75b5661b402bcaf8ae22cd5 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/83baa509396a742e0ce145b09fde1ce0a948f49a | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9fb9b3b67a5b8669296d6372cd901ef86557e6f6 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a8baccb79de2f48a2083d51febf627eb50ce1898 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/ec7bf231aaa1bdbcb69d23bc50c753c80fb22429 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion