CVE-2022-50544
usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
Check your servers for CVE-2022-50544
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50544 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.01% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8df75f42f8e67e2851cdcf6da91640fb881defd1, before 7fc6bab3413e6a42bb1264ff7c9149808c93a4c7 affected from 8df75f42f8e67e2851cdcf6da91640fb881defd1, before e702de2f5c893bf2cdb0152191f99a6ad1411823 affected from 8df75f42f8e67e2851cdcf6da91640fb881defd1, before ddab9fe76296840aad686c66888a9c1dfdbff5ff affected from 8df75f42f8e67e2851cdcf6da91640fb881defd1, before 9fa81cbd2dd300aa8fe9bac70e068b9a11cbb144 affected from 8df75f42f8e67e2851cdcf6da91640fb881defd1, before 91271a3e772e180bbb8afb114c72fd294a02f93d affected from 8df75f42f8e67e2851cdcf6da91640fb881defd1, before fcd594da0b5955119d9707e4e0a8d0fb1c969101 affected from 8df75f42f8e67e2851cdcf6da91640fb881defd1, before a40ad475236022f3432880e3091c380e46e71a71 affected from 8df75f42f8e67e2851cdcf6da91640fb881defd1, before 782c873f8e7686f5b3c47e8b099f7e08c3dd1fdc affected from 8df75f42f8e67e2851cdcf6da91640fb881defd1, before 7e271f42a5cc3768cd2622b929ba66859ae21f97
Other versions: unaffected
|
| Linux |
affected 2.6.35 unaffected before 2.6.35 unaffected from 4.9.331 up to and including 4.9.* unaffected from 4.14.296 up to and including 4.14.* unaffected from 4.19.262 up to and including 4.19.* unaffected from 5.4.220 up to and including 5.4.* unaffected from 5.10.150 up to and including 5.10.* unaffected from 5.15.75 up to and including 5.15.* unaffected from 5.19.17 up to and including 5.19.* unaffected from 6.0.3 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50544 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50544
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50544
trivy image --scanners vuln IMAGE | grep CVE-2022-50544
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/7fc6bab3413e6a42bb1264ff7c9149808c93a4c7 git.kernel.org
- https://git.kernel.org/stable/c/e702de2f5c893bf2cdb0152191f99a6ad1411823 git.kernel.org
- https://git.kernel.org/stable/c/ddab9fe76296840aad686c66888a9c1dfdbff5ff git.kernel.org
- https://git.kernel.org/stable/c/9fa81cbd2dd300aa8fe9bac70e068b9a11cbb144 git.kernel.org
- https://git.kernel.org/stable/c/91271a3e772e180bbb8afb114c72fd294a02f93d git.kernel.org
- https://git.kernel.org/stable/c/fcd594da0b5955119d9707e4e0a8d0fb1c969101 git.kernel.org
- https://git.kernel.org/stable/c/a40ad475236022f3432880e3091c380e46e71a71 git.kernel.org
- https://git.kernel.org/stable/c/782c873f8e7686f5b3c47e8b099f7e08c3dd1fdc git.kernel.org
- https://git.kernel.org/stable/c/7e271f42a5cc3768cd2622b929ba66859ae21f97 git.kernel.org
Source: the record CVE-2022-50544 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse