CVE-2022-50038 drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
A refcount leak in the Linux kernel's meson DRM driver can lead to resource exhaustion and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50038?
CVE-2022-50038 is a medium-severity vulnerability in Linux kernel, published on 18 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-50038?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50038?
Apply the vendor's patch.
Is CVE-2022-50038 being exploited?
There is no known exploitation of CVE-2022-50038 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-50038, GHSA-qw8m-3q37-v44j, UBUNTU-CVE-2022-50038.