CVE-2022-50119
rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
Check your servers for CVE-2022-50119
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-50119 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:
rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
rpmsg_register_device_override need to call put_device to free vch when driver_set_override fails.
Fix this by adding a put_device() to the error path.
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 b585daa34a0a852e6d5e553132b411b6a0192d27, before 280ae5a028ef5d14ef9277746a3026a30aaebe4f affected from c14c6676ad5b78950a45121a7ee6cfb85778e71f, before c449b28e437d18ae807479c4ac6b69d87b287c79 affected from 3d14785980571ebb313a976e589b9d3563adc704, before 01e6885b75e25a2dd0726455ef18ef9ce5e7dc87 affected from 5f1bb9f4d4b55c39180329c4e379aa740039eed3, before 3fdd5b2bb09fc2b5bf3504778f51c89bb48c097f affected from bfd4a664ddfbe12f008efb0b0ab6bf25a8ab2538, before d4c8bf5635c4bedaf2470761ced1f502b2d5434e affected from bb17d110cbf270d5247a6e261c5ad50e362d1675, before c29335612ff44df979678a38e1f55c62004f421c affected from bb17d110cbf270d5247a6e261c5ad50e362d1675, before d7bd416d35121c95fe47330e09a5c04adbc5f928
Other versions: unaffected
|
| Linux |
affected 5.19 unaffected before 5.19 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-50119 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50119
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-50119
trivy image --scanners vuln IMAGE | grep CVE-2022-50119
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/280ae5a028ef5d14ef9277746a3026a30aaebe4f git.kernel.org
- https://git.kernel.org/stable/c/c449b28e437d18ae807479c4ac6b69d87b287c79 git.kernel.org
- https://git.kernel.org/stable/c/01e6885b75e25a2dd0726455ef18ef9ce5e7dc87 git.kernel.org
- https://git.kernel.org/stable/c/3fdd5b2bb09fc2b5bf3504778f51c89bb48c097f git.kernel.org
- https://git.kernel.org/stable/c/d4c8bf5635c4bedaf2470761ced1f502b2d5434e git.kernel.org
- https://git.kernel.org/stable/c/c29335612ff44df979678a38e1f55c62004f421c git.kernel.org
- https://git.kernel.org/stable/c/d7bd416d35121c95fe47330e09a5c04adbc5f928 git.kernel.org
Source: the record CVE-2022-50119 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