CVE-2022-50484
ALSA: usb-audio: Fix potential memory leaks
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Oct 4, 2025 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
8fdff6a319e7dac757c558bd283dc4577e68cde7 < 0604e5e5537af099ea2f6dfd892afe5c92db8a80 8fdff6a319e7dac757c558bd283dc4577e68cde7 < 28d8d267af5d73f91d7640cbdb4024703256e36c 8fdff6a319e7dac757c558bd283dc4577e68cde7 < 46f0aed47673e275d682af60ed26dcc28add8eae 8fdff6a319e7dac757c558bd283dc4577e68cde7 < 988ec0cd0a2643c25c1658f7c33de2e15a5a2e31 8fdff6a319e7dac757c558bd283dc4577e68cde7 < bc1d16d282bca421c6fc31de4b8fd412010f01bd 8fdff6a319e7dac757c558bd283dc4577e68cde7 < 0672215994e2347a9b4f145e2bc1709b1e01cee3 8fdff6a319e7dac757c558bd283dc4577e68cde7 < faa8c1ed77d0169955b9b3516b714cc5fb512f27 8fdff6a319e7dac757c558bd283dc4577e68cde7 < e4442410f76d66b9f7e854010bce04853f665324 8fdff6a319e7dac757c558bd283dc4577e68cde7 < 6382da0828995af87aa8b8bef28cc61aceb4aff3
Linux / Linux
3.5
References
git.kernel.org: https://git.kernel.org/stable/c/0604e5e5537af099ea2f6dfd892afe5c92db8a80 git.kernel.org: https://git.kernel.org/stable/c/28d8d267af5d73f91d7640cbdb4024703256e36c git.kernel.org: https://git.kernel.org/stable/c/46f0aed47673e275d682af60ed26dcc28add8eae git.kernel.org: https://git.kernel.org/stable/c/988ec0cd0a2643c25c1658f7c33de2e15a5a2e31 git.kernel.org: https://git.kernel.org/stable/c/bc1d16d282bca421c6fc31de4b8fd412010f01bd git.kernel.org: https://git.kernel.org/stable/c/0672215994e2347a9b4f145e2bc1709b1e01cee3 git.kernel.org: https://git.kernel.org/stable/c/faa8c1ed77d0169955b9b3516b714cc5fb512f27 git.kernel.org: https://git.kernel.org/stable/c/e4442410f76d66b9f7e854010bce04853f665324 git.kernel.org: https://git.kernel.org/stable/c/6382da0828995af87aa8b8bef28cc61aceb4aff3