CVE-2022-50484

MEDIUM

Linux Kernel Use-After-Free in ALSA USB Audio URB Allocation

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0015
EPSS Percentile 4.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (29)
linux/Kernel 3.5.0 - 4.9.331linux
linux/Kernel 4.10.0 - 4.14.296linux
linux/Kernel 4.15.0 - 4.19.262linux
linux/Kernel 4.20.0 - 5.4.220linux
linux/Kernel 5.11.0 - 5.15.75linux
linux/Kernel 5.16.0 - 5.19.17linux
linux/Kernel 5.20.0 - 6.0.3linux
linux/Kernel 5.5.0 - 5.10.150linux
Linux/Linux < 3.5
Linux/Linux 3.5
... and 19 more
Published Oct 04, 2025
Tracked Since Feb 18, 2026