CVE-2022-50544

usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()

MEDIUM
5.5
CVSS Score
Published: October 7, 2025 at 03:21 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: usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info() xhci_alloc_stream_info() allocates stream context array for stream_info ->stream_ctx_array with xhci_alloc_stream_ctx(). When some error occurs, stream_info->stream_ctx_array is not released, which will lead to a memory leak. We can fix it by releasing the stream_info->stream_ctx_array with xhci_free_stream_ctx() on the error path to avoid the potential memory leak.

Affected

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

2.6.35 ≤ v < 4.14.2962.6.35 ≤ v < 4.19.2622.6.35 ≤ v < 4.9.3312.6.35 ≤ v < 5.10.1502.6.35 ≤ v < 5.15.752.6.35 ≤ v < 5.19.172.6.35 ≤ v < 5.4.2202.6.35 ≤ v < 6.0.32.6.35 ≤ 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.32.6.358df75f42f8e67e2851cdcf6da91640fb881defd1
Vendor states this is fixed in 782c873f8e7686f5b3c47e8b099f7e08c3dd1fdc (fixed)
Vendor states this is fixed in 7e271f42a5cc3768cd2622b929ba66859ae21f97 (fixed)
Vendor states this is fixed in 7fc6bab3413e6a42bb1264ff7c9149808c93a4c7 (fixed)
Vendor states this is fixed in 91271a3e772e180bbb8afb114c72fd294a02f93d (fixed)
Vendor states this is fixed in 9fa81cbd2dd300aa8fe9bac70e068b9a11cbb144 (fixed)
Vendor states this is fixed in a40ad475236022f3432880e3091c380e46e71a71 (fixed)
Vendor states this is fixed in ddab9fe76296840aad686c66888a9c1dfdbff5ff (fixed)
Vendor states this is fixed in e702de2f5c893bf2cdb0152191f99a6ad1411823 (fixed)
Vendor states this is fixed in fcd594da0b5955119d9707e4e0a8d0fb1c969101 (fixed)
Vendor states this is fixed in 2.6.35 (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