CVE-2022-50484
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-04

Last updated on: 2025-10-06

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-04
Last Modified
2025-10-06
Generated
2026-05-07
AI Q&A
2025-10-04
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a potential memory leak in the Linux kernel's ALSA usb-audio driver. When the driver fails to allocate memory for a USB Request Block (URB) or buffer due to insufficient memory (-ENOMEM), it should release all previously allocated resources. However, if the failure occurs in the middle of allocating URBs for a synchronous endpoint, some partially allocated URBs might not be released because a counter tracking allocated URBs (ep->nurbs) is still zero. The fix involves setting this counter before the allocation loop so that the error handler correctly releases all allocated URBs.


How can this vulnerability impact me? :

This vulnerability can lead to memory leaks in the Linux kernel when using the ALSA usb-audio driver. Memory leaks can degrade system performance over time, potentially causing increased memory usage and instability, which might result in system slowdowns or crashes.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart