CVE-2022-50810
rapidio: devices: fix missing put_device in mport_cdev_open
Check your servers for CVE-2022-50810
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-50810 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:
rapidio: devices: fix missing put_device in mport_cdev_open
When kfifo_alloc fails, the refcount of chdev->dev is left incremental. We should use put_device(&chdev->dev) to decrease the ref count of chdev->dev to avoid refcount leak.
Exploitation
EPSS 0.30%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e8de370188d098bb49483c287b44925957c3c9b6, before 6e4540e0970030e140998ce8847f5f0171b5afa1 affected from e8de370188d098bb49483c287b44925957c3c9b6, before ae57222402bea455e60cc51d2f52ce73b63b7af8 affected from e8de370188d098bb49483c287b44925957c3c9b6, before dfee9fe93dd34cd9d49520718f6ec2072de25e48 affected from e8de370188d098bb49483c287b44925957c3c9b6, before bb7397f6312d2cbf05e415676ed5b1655cb82a34 affected from e8de370188d098bb49483c287b44925957c3c9b6, before 53915ecc43c5139d6cdd1caa4fdc9290b9597008 affected from e8de370188d098bb49483c287b44925957c3c9b6, before a0d93aac54ce07a7cc71e90645d0cdabbda50450 affected from e8de370188d098bb49483c287b44925957c3c9b6, before 162433a96079bfa5ec748c486b4570f138d04fb5 affected from e8de370188d098bb49483c287b44925957c3c9b6, before b596242585984b5f3085aa8f7a82c65640b384b6 affected from e8de370188d098bb49483c287b44925957c3c9b6, before d5b6e6eba3af11cb2a2791fa36a2524990fcde1a
Other versions: unaffected
|
| Linux |
affected 4.6 unaffected before 4.6 unaffected from 4.9.337 up to and including 4.9.* unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.86 up to and including 5.15.* unaffected from 6.0.16 up to and including 6.0.* unaffected from 6.1.2 up to and including 6.1.* unaffected 6.2 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-50810 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50810
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-50810
trivy image --scanners vuln IMAGE | grep CVE-2022-50810
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/6e4540e0970030e140998ce8847f5f0171b5afa1 git.kernel.org
- https://git.kernel.org/stable/c/ae57222402bea455e60cc51d2f52ce73b63b7af8 git.kernel.org
- https://git.kernel.org/stable/c/dfee9fe93dd34cd9d49520718f6ec2072de25e48 git.kernel.org
- https://git.kernel.org/stable/c/bb7397f6312d2cbf05e415676ed5b1655cb82a34 git.kernel.org
- https://git.kernel.org/stable/c/53915ecc43c5139d6cdd1caa4fdc9290b9597008 git.kernel.org
- https://git.kernel.org/stable/c/a0d93aac54ce07a7cc71e90645d0cdabbda50450 git.kernel.org
- https://git.kernel.org/stable/c/162433a96079bfa5ec748c486b4570f138d04fb5 git.kernel.org
- https://git.kernel.org/stable/c/b596242585984b5f3085aa8f7a82c65640b384b6 git.kernel.org
- https://git.kernel.org/stable/c/d5b6e6eba3af11cb2a2791fa36a2524990fcde1a git.kernel.org
Source: the record CVE-2022-50810 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