Vulnerabilities · 2022 · Linux
CVE-2022-50484
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/0604e5e5537af099ea2f6dfd892afe5c92db8a80 · Patch
- git.kernel.org/stable/c/0672215994e2347a9b4f145e2bc1709b1e01cee3 · Patch
- git.kernel.org/stable/c/28d8d267af5d73f91d7640cbdb4024703256e36c · Patch
- git.kernel.org/stable/c/46f0aed47673e275d682af60ed26dcc28add8eae · Patch
- git.kernel.org/stable/c/6382da0828995af87aa8b8bef28cc61aceb4aff3 · Patch
- git.kernel.org/stable/c/988ec0cd0a2643c25c1658f7c33de2e15a5a2e31 · Patch
- git.kernel.org/stable/c/bc1d16d282bca421c6fc31de4b8fd412010f01bd · Patch
- git.kernel.org/stable/c/e4442410f76d66b9f7e854010bce04853f665324 · Patch
- nvd.nist.gov/vuln/detail/CVE-2022-50484
- cve.org/CVERecord?id=CVE-2022-50484
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.