CVE-2022-50484

ALSA: usb-audio: Fix potential memory leaks

MEDIUM
5.5
CVSS Score
Published: October 4, 2025 at 03:16 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.5 ≤ v < 4.14.2963.5 ≤ v < 4.19.2623.5 ≤ v < 4.9.3313.5 ≤ v < 5.10.1503.5 ≤ v < 5.15.753.5 ≤ v < 5.19.173.5 ≤ v < 5.4.2203.5 ≤ v < 6.0.33.5 ≤ v < 6.14.10 ≤ v < 4.14.2964.15 ≤ v < 4.19.2624.20 ≤ v < 5.4.2205.11 ≤ v < 5.15.755.16 ≤ v < 5.19.175.5 ≤ v < 5.10.1506.0 ≤ v < 6.0.33.58fdff6a319e7dac757c558bd283dc4577e68cde7
Vendor states this is fixed in 0604e5e5537af099ea2f6dfd892afe5c92db8a80 (fixed)
Vendor states this is fixed in 0672215994e2347a9b4f145e2bc1709b1e01cee3 (fixed)
Vendor states this is fixed in 28d8d267af5d73f91d7640cbdb4024703256e36c (fixed)
Vendor states this is fixed in 46f0aed47673e275d682af60ed26dcc28add8eae (fixed)
Vendor states this is fixed in 6382da0828995af87aa8b8bef28cc61aceb4aff3 (fixed)
Vendor states this is fixed in 988ec0cd0a2643c25c1658f7c33de2e15a5a2e31 (fixed)
Vendor states this is fixed in bc1d16d282bca421c6fc31de4b8fd412010f01bd (fixed)
Vendor states this is fixed in e4442410f76d66b9f7e854010bce04853f665324 (fixed)
Vendor states this is fixed in faa8c1ed77d0169955b9b3516b714cc5fb512f27 (fixed)
Vendor states this is fixed in 3.5 (unaffected)
Vendor states this is fixed in 4.14.296 (unaffected)
Vendor states this is fixed in 4.19.262 (unaffected)
Vendor states this is fixed in 4.9.331 (unaffected)
Vendor states this is fixed in 5.10.150 (unaffected)
Vendor states this is fixed in 5.15.75 (unaffected)
Vendor states this is fixed in 5.19.17 (unaffected)
Vendor states this is fixed in 5.4.220 (unaffected)
Vendor states this is fixed in 6.0.3 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card