CVE-2022-50484 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix potential memory leaks When the driver hits -ENOMEM at allocating a URB or a buffer, it aborts and goes to the error path that releases the all previously allocated resources. However, when -ENOMEM hits at the middle of the sync EP URB allocation loop, the partially allocated URBs might be left without released, because ep->nurbs is still zero at that point. Fix it by setting ep->nurbs at first, so that the error handler loops over the full URB list.
A memory leak vulnerability has been identified in the Linux kernel's USB audio driver, specifically within the ALSA (Advanced Linux Sound Architecture) subsystem. This issue arises when the driver encounters a memory allocation error (-ENOMEM) while creating USB Request Blocks (URBs) or buffers. Although the driver correctly releases previously allocated resources in response to this error, a problem occurs if the allocation failure happens midway through the process of syncing endpoint URBs. In such cases, the partially allocated URBs may be left unreleased, as the endpoint's URB count is not updated until the loop completes. The vulnerability has been addressed by modifying the code to update the URB count before the allocation loop, ensuring that the error handling process can properly clean up all allocated URBs.
Users can upgrade to the patched version of the Linux kernel available in the official Linux Kernel Git Repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References 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/0604e5e5537af099ea2f6dfd892afe5c92db8a80 | kernel.org | Patch |
| https://git.kernel.org/stable/c/0672215994e2347a9b4f145e2bc1709b1e01cee3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/28d8d267af5d73f91d7640cbdb4024703256e36c | kernel.org | Patch |
| https://git.kernel.org/stable/c/46f0aed47673e275d682af60ed26dcc28add8eae | kernel.org | Patch |
| https://git.kernel.org/stable/c/6382da0828995af87aa8b8bef28cc61aceb4aff3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/988ec0cd0a2643c25c1658f7c33de2e15a5a2e31 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bc1d16d282bca421c6fc31de4b8fd412010f01bd | kernel.org | Patch |
| https://git.kernel.org/stable/c/e4442410f76d66b9f7e854010bce04853f665324 | kernel.org | Patch |
| https://git.kernel.org/stable/c/faa8c1ed77d0169955b9b3516b714cc5fb512f27 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.5, < 4.9.331 >= 4.10, < 4.14.296 >= 4.15, < 4.19.262 >= 4.20, < 5.4.220 >= 5.5, < 5.10.150 >= 5.11, < 5.15.75 >= 5.16, < 5.19.17 >= 6.0, < 6.0.3 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 23, 2026 | Initial Analysis | [email protected] |
| Oct 4, 2025 | New CVE Received | kernel.org |