CVE-2022-50152
usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe
Check your servers for CVE-2022-50152
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-50152 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: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe
of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.
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.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 73108aa90cbfc663649885a06fe5c1235307de1c, before 591ab8dbf6c21927f23f83ddb90691f48b86d136 affected from 73108aa90cbfc663649885a06fe5c1235307de1c, before 4db00c2fa6f8c9876a7e20511dccf43b50be9006 affected from 73108aa90cbfc663649885a06fe5c1235307de1c, before 65d36ec409b635dfc2f95f0d7c5877c9d0cb7630 affected from 73108aa90cbfc663649885a06fe5c1235307de1c, before d35903e9650f4fa79426ce390db8678dbf5ac432 affected from 73108aa90cbfc663649885a06fe5c1235307de1c, before 59026d5cc615da28e0c9806a71bf07065c906464 affected from 73108aa90cbfc663649885a06fe5c1235307de1c, before a0fbac3bf26a11f084233519ddf3fd5e5bb28939 affected from 73108aa90cbfc663649885a06fe5c1235307de1c, before 50238c4b54c2ac6c2da7a84a4a2b0a570e3da0e2 affected from 73108aa90cbfc663649885a06fe5c1235307de1c, before 302970b4cad3ebfda2c05ce06c322ccdc447d17e
Other versions: unaffected
|
| Linux |
affected 3.5 unaffected before 3.5 unaffected from 4.14.291 up to and including 4.14.* unaffected from 4.19.256 up to and including 4.19.* unaffected from 5.4.211 up to and including 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-50152 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50152
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-50152
trivy image --scanners vuln IMAGE | grep CVE-2022-50152
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/591ab8dbf6c21927f23f83ddb90691f48b86d136 git.kernel.org
- https://git.kernel.org/stable/c/4db00c2fa6f8c9876a7e20511dccf43b50be9006 git.kernel.org
- https://git.kernel.org/stable/c/65d36ec409b635dfc2f95f0d7c5877c9d0cb7630 git.kernel.org
- https://git.kernel.org/stable/c/d35903e9650f4fa79426ce390db8678dbf5ac432 git.kernel.org
- https://git.kernel.org/stable/c/59026d5cc615da28e0c9806a71bf07065c906464 git.kernel.org
- https://git.kernel.org/stable/c/a0fbac3bf26a11f084233519ddf3fd5e5bb28939 git.kernel.org
- https://git.kernel.org/stable/c/50238c4b54c2ac6c2da7a84a4a2b0a570e3da0e2 git.kernel.org
- https://git.kernel.org/stable/c/302970b4cad3ebfda2c05ce06c322ccdc447d17e git.kernel.org
Source: the record CVE-2022-50152 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