Back
CVE-2022-50484
ALSA: usb-audio: Fix potential memory leaks
Medium5.5EPSS 0.16%
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.16% · top 94% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
- affected 8fdff6a319e7dac757c558bd283dc4577e68cde7 – < 0604e5e5537af099ea2f6dfd892afe5c92db8a80
- affected 8fdff6a319e7dac757c558bd283dc4577e68cde7 – < 28d8d267af5d73f91d7640cbdb4024703256e36c
- affected 8fdff6a319e7dac757c558bd283dc4577e68cde7 – < 46f0aed47673e275d682af60ed26dcc28add8eae
- affected 8fdff6a319e7dac757c558bd283dc4577e68cde7 – < 988ec0cd0a2643c25c1658f7c33de2e15a5a2e31
- affected 8fdff6a319e7dac757c558bd283dc4577e68cde7 – < bc1d16d282bca421c6fc31de4b8fd412010f01bd
- affected 8fdff6a319e7dac757c558bd283dc4577e68cde7 – < 0672215994e2347a9b4f145e2bc1709b1e01cee3
- affected 8fdff6a319e7dac757c558bd283dc4577e68cde7 – < faa8c1ed77d0169955b9b3516b714cc5fb512f27
- affected 8fdff6a319e7dac757c558bd283dc4577e68cde7 – < e4442410f76d66b9f7e854010bce04853f665324
- affected 8fdff6a319e7dac757c558bd283dc4577e68cde7 – < 6382da0828995af87aa8b8bef28cc61aceb4aff3
- affected 3.5
- unaffected < 3.5
- unaffected 4.9.331 – ≤ 4.9.*
- unaffected 4.14.296 – ≤ 4.14.*
- unaffected 4.19.262 – ≤ 4.19.*
- unaffected 5.4.220 – ≤ 5.4.*
- unaffected 5.10.150 – ≤ 5.10.*
- unaffected 5.15.75 – ≤ 5.15.*
- unaffected 5.19.17 – ≤ 5.19.*
- unaffected 6.0.3 – ≤ 6.0.*
- unaffected 6.1 – ≤ *
References (9)
- https://git.kernel.org/stable/c/0604e5e5537af099ea2f6dfd892afe5c92db8a80 (opens in a new tab)
- https://git.kernel.org/stable/c/28d8d267af5d73f91d7640cbdb4024703256e36c (opens in a new tab)
- https://git.kernel.org/stable/c/46f0aed47673e275d682af60ed26dcc28add8eae (opens in a new tab)
- https://git.kernel.org/stable/c/988ec0cd0a2643c25c1658f7c33de2e15a5a2e31 (opens in a new tab)
- https://git.kernel.org/stable/c/bc1d16d282bca421c6fc31de4b8fd412010f01bd (opens in a new tab)
- https://git.kernel.org/stable/c/0672215994e2347a9b4f145e2bc1709b1e01cee3 (opens in a new tab)
- https://git.kernel.org/stable/c/faa8c1ed77d0169955b9b3516b714cc5fb512f27 (opens in a new tab)
- https://git.kernel.org/stable/c/e4442410f76d66b9f7e854010bce04853f665324 (opens in a new tab)
- https://git.kernel.org/stable/c/6382da0828995af87aa8b8bef28cc61aceb4aff3 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50484)Record last updated .