What’s Vulnerable › Vulnerabilities

CVE-2022-50038: drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.291, 4.19.256, 5.10.138, 5.15.63. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50038 or the next vulnerability affects your stack