CVE-2022-50038

drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()

No CVSS score yet EPSS 0.26%

Published 18 Jun 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-50038

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-50038 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.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()

In this function, there are two refcount leak bugs: (1) when breaking out of for_each_endpoint_of_node(), we need call the of_node_put() for the 'ep'; (2) we should call of_node_put() for the reference returned by of_graph_get_remote_port() when it is not used anymore.

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 19.5% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from bbbe775ec5b5dace43a35886da9924837da09ddd, before 6a758f0ba11699837af9e1a0f7cbac6ef765a23e
affected from bbbe775ec5b5dace43a35886da9924837da09ddd, before fc1fc2abfcb9235d0ece9a4d858426fb617cfa66
affected from bbbe775ec5b5dace43a35886da9924837da09ddd, before d58ef256781398ad115aef44de0a02ad27ea6c3a
affected from bbbe775ec5b5dace43a35886da9924837da09ddd, before 3aa710e96747c8b4e52ba12ffe09edcb2755897c
affected from bbbe775ec5b5dace43a35886da9924837da09ddd, before fe71d84c1a6c0d54657431e8eeaefc9d24895304
affected from bbbe775ec5b5dace43a35886da9924837da09ddd, before 8dec38e19f6928235d4009ce55f7add8af34e5c7
affected from bbbe775ec5b5dace43a35886da9924837da09ddd, before 91b3c8dbe898df158fd2a84675f3a284ff6666f7
Other versions: unaffected
Linux
affected 4.10
unaffected before 4.10
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.138 up to and including 5.10.*
unaffected from 5.15.63 up to and including 5.15.*
unaffected from 5.19.4 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-50038 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50038

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-50038
trivy image --scanners vuln IMAGE | grep CVE-2022-50038

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

Source: the record CVE-2022-50038 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.