What’s Vulnerable › Vulnerabilities

CVE-2022-50188: drm/meson: Fix refcount leak in meson_encoder_hdmi_init

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.18.18, 5.19.2. Check the vendor advisory for mitigations.

References

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