Bug 2401488 (CVE-2022-50484) - CVE-2022-50484 kernel: ALSA: usb-audio: Fix potential memory leaks
Summary: CVE-2022-50484 kernel: ALSA: usb-audio: Fix potential memory leaks
Keywords:
Status: NEW
Alias: CVE-2022-50484
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-04 16:03 UTC by OSIDB Bzimport
Modified: 2025-11-06 00:25 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-04 16:03:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.