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-03-20T12:22:35.840391Z
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
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50544.json"
}
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"