CVE-2022-50544

Source
https://cve.org/CVERecord?id=CVE-2022-50544
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50544.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50544
Downstream
Related
Published
2025-10-07T15:21:08.629Z
Modified
2026-05-28T03:54:43.328317263Z
Summary
usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

xhciallocstreaminfo() allocates stream context array for streaminfo ->streamctxarray with xhciallocstreamctx(). When some error occurs, streaminfo->streamctxarray is not released, which will lead to a memory leak.

We can fix it by releasing the streaminfo->streamctxarray with xhcifreestreamctx() on the error path to avoid the potential memory leak.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50544.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8df75f42f8e67e2851cdcf6da91640fb881defd1
Fixed
7fc6bab3413e6a42bb1264ff7c9149808c93a4c7
Fixed
e702de2f5c893bf2cdb0152191f99a6ad1411823
Fixed
ddab9fe76296840aad686c66888a9c1dfdbff5ff
Fixed
9fa81cbd2dd300aa8fe9bac70e068b9a11cbb144
Fixed
91271a3e772e180bbb8afb114c72fd294a02f93d
Fixed
fcd594da0b5955119d9707e4e0a8d0fb1c969101
Fixed
a40ad475236022f3432880e3091c380e46e71a71
Fixed
782c873f8e7686f5b3c47e8b099f7e08c3dd1fdc
Fixed
7e271f42a5cc3768cd2622b929ba66859ae21f97

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50544.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.35
Fixed
4.9.331
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.296
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.262
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.220
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.150
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.75
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.19.17
Type
ECOSYSTEM
Events
Introduced
5.20.0
Fixed
6.0.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50544.json"