CVE-2022-50809
xhci: dbc: Fix memory leak in xhci_alloc_dbc()
Check your servers for CVE-2022-50809
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-50809 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:
xhci: dbc: Fix memory leak in xhci_alloc_dbc()
If DbC is already in use, then the allocated memory for the xhci_dbc struct doesn't get freed before returning NULL, which leads to a memleak.
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d7afb4a13f6c6ee7df7d0bfc67b4ef19ece6d802, before 103b459590e1eb4d80b02761eb36c7cae1d9b58e affected from 534675942e901959b5d8dc11ea526c4e48817d8e, before 116d6a6964986ea7eb516daa36128d270f1f248d affected from 534675942e901959b5d8dc11ea526c4e48817d8e, before 69e67c804d09a6b1bcda1f4f242f151f813eeb4a affected from 534675942e901959b5d8dc11ea526c4e48817d8e, before d591b32e519603524a35b172156db71df9116902 affected from 5.15.58, before 5.15.75
Other versions: unaffected
|
| Linux |
affected 5.18 unaffected before 5.18 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-50809 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50809
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-50809
trivy image --scanners vuln IMAGE | grep CVE-2022-50809
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/103b459590e1eb4d80b02761eb36c7cae1d9b58e git.kernel.org
- https://git.kernel.org/stable/c/116d6a6964986ea7eb516daa36128d270f1f248d git.kernel.org
- https://git.kernel.org/stable/c/69e67c804d09a6b1bcda1f4f242f151f813eeb4a git.kernel.org
- https://git.kernel.org/stable/c/d591b32e519603524a35b172156db71df9116902 git.kernel.org
Source: the record CVE-2022-50809 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse