CVE-2022-50544

published 7 Oct 2025 · updated 7 Nov 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4.9.331, Kernel 4.14.296, Kernel 4.19.262 and 14 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=2.6.35 <4.9.331, >=4.10 <4.14.296, >=4.15 <4.19.262, >=4.20 <5.4.220, >=5.11 <5.15.75, >=5.16 <5.19.17, >=5.5 <5.10.150, >=6.0 <6.0.3, >=8df75f42f8e67e2851cdcf6da91640fb881defd1 <7e271f42a5cc3768cd2622b929ba66859ae21f97, >=8df75f42f8e67e2851cdcf6da91640fb881defd1 <7fc6bab3413e6a42bb1264ff7c9149808c93a4c7, >=8df75f42f8e67e2851cdcf6da91640fb881defd1 <91271a3e772e180bbb8afb114c72fd294a02f93d, >=8df75f42f8e67e2851cdcf6da91640fb881defd1 <9fa81cbd2dd300aa8fe9bac70e068b9a11cbb144, >=8df75f42f8e67e2851cdcf6da91640fb881defd1 <a40ad475236022f3432880e3091c380e46e71a71, >=8df75f42f8e67e2851cdcf6da91640fb881defd1 <ddab9fe76296840aad686c66888a9c1dfdbff5ff, >=8df75f42f8e67e2851cdcf6da91640fb881defd1 <e702de2f5c893bf2cdb0152191f99a6ad1411823, >=8df75f42f8e67e2851cdcf6da91640fb881defd1 <fcd594da0b5955119d9707e4e0a8d0fb1c969101, =2.6.35, >=8df75f42f8e67e2851cdcf6da91640fb881defd1 <782c873f8e7686f5b3c47e8b099f7e08c3dd1fdc4.9.331, 4.14.296, 4.19.262, 5.4.220, 5.15.75, 5.19.17, 5.10.150, 6.0.3, 7e271f42a5cc3768cd2622b929ba66859ae21f97, 7fc6bab3413e6a42bb1264ff7c9149808c93a4c7, 91271a3e772e180bbb8afb114c72fd294a02f93d, 9fa81cbd2dd300aa8fe9bac70e068b9a11cbb144, a40ad475236022f3432880e3091c380e46e71a71, ddab9fe76296840aad686c66888a9c1dfdbff5ff, e702de2f5c893bf2cdb0152191f99a6ad1411823, fcd594da0b5955119d9707e4e0a8d0fb1c969101, 782c873f8e7686f5b3c47e8b099f7e08c3dd1fdc
linux-kernel: Kernel>=2.6.35 <4.9.331, >=4.10.0 <4.14.296, >=4.15.0 <4.19.262, >=4.20.0 <5.4.220, >=5.11.0 <5.15.75, >=5.16.0 <5.19.17, >=5.20.0 <6.0.3, >=5.5.0 <5.10.1504.9.331, 4.14.296, 4.19.262, 5.4.220, 5.15.75, 5.19.17, 6.0.3, 5.10.150

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50544 severity on Zeptric[![CVE-2022-50544](https://zeptric.io/badge/cve/CVE-2022-50544.svg)](https://zeptric.io/cve/CVE-2022-50544)