CVE-2022-50188
drm/meson: Fix refcount leak in meson_encoder_hdmi_init
Check your servers for CVE-2022-50188
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-50188 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:
drm/meson: Fix refcount leak in meson_encoder_hdmi_init
of_find_device_by_node() takes reference, we should use put_device() to release it when not need anymore. Add missing put_device() in error path to avoid refcount leak.
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 18.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e098989a9219f4456047f9b0e8c44f03e29a843e, before 50446ac34545580d073ff0dd154b796726772668 affected from 0af5e0b41110e2da872030395231ab19c45be931, before 79b15eb0aa059b3a5bc60364ce82eb2cefac80db affected from 0af5e0b41110e2da872030395231ab19c45be931, before bfcca6234b2a36d213f0cc1c127becc17680f7df affected from 0af5e0b41110e2da872030395231ab19c45be931, before 7381076809586528e2a812a709e2758916318a99
Other versions: unaffected
|
| Linux |
affected 5.17 unaffected before 5.17 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-50188 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50188
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-50188
trivy image --scanners vuln IMAGE | grep CVE-2022-50188
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/50446ac34545580d073ff0dd154b796726772668 git.kernel.org
- https://git.kernel.org/stable/c/79b15eb0aa059b3a5bc60364ce82eb2cefac80db git.kernel.org
- https://git.kernel.org/stable/c/bfcca6234b2a36d213f0cc1c127becc17680f7df git.kernel.org
- https://git.kernel.org/stable/c/7381076809586528e2a812a709e2758916318a99 git.kernel.org
Source: the record CVE-2022-50188 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