CVE-2022-50132
usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()
Check your servers for CVE-2022-50132
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-50132 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: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()
If 'ep' is NULL, result of ep_to_cdns3_ep(ep) is invalid pointer and its dereference with priv_ep->cdns3_dev may cause panic.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7733f6c32e36ff9d7adadf40001039bf219b1cbe, before 7af83bb516d7aa4f96835288e4aeda21d7aa2a17 affected from 7733f6c32e36ff9d7adadf40001039bf219b1cbe, before bfa0201468587072454dba7933e4a4a7be44467a affected from 7733f6c32e36ff9d7adadf40001039bf219b1cbe, before d342203df9f2d0851b4acd9ed577d73d10eade77 affected from 7733f6c32e36ff9d7adadf40001039bf219b1cbe, before eb82c0382285ee17a9966aaab27b8becb08eb1ac affected from 7733f6c32e36ff9d7adadf40001039bf219b1cbe, before c3ffc9c4ca44bfe9562166793d133e1fb0630ea6
Other versions: unaffected
|
| Linux |
affected 5.4 unaffected before 5.4 unaffected from 5.10.137 up to and including 5.10.* unaffected from 5.15.61 up to and including 5.15.* unaffected from 5.18.18 up to and including 5.18.* unaffected from 5.19.2 up to and including 5.19.* unaffected 6.0 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-50132 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50132
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-50132
trivy image --scanners vuln IMAGE | grep CVE-2022-50132
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/7af83bb516d7aa4f96835288e4aeda21d7aa2a17 git.kernel.org
- https://git.kernel.org/stable/c/bfa0201468587072454dba7933e4a4a7be44467a git.kernel.org
- https://git.kernel.org/stable/c/d342203df9f2d0851b4acd9ed577d73d10eade77 git.kernel.org
- https://git.kernel.org/stable/c/eb82c0382285ee17a9966aaab27b8becb08eb1ac git.kernel.org
- https://git.kernel.org/stable/c/c3ffc9c4ca44bfe9562166793d133e1fb0630ea6 git.kernel.org
Source: the record CVE-2022-50132 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