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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-06-18T11:03:34.887Z
- Modified: 2026-06-17T05:22:56.297Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from e098989a9219f4456047f9b0e8c44f03e29a843e before 50446ac34545580d073ff0dd154b796726772668; from 0af5e0b41110e2da872030395231ab19c45be931 before 79b15eb0aa059b3a5bc60364ce82eb2cefac80db; from 0af5e0b41110e2da872030395231ab19c45be931 before bfcca6234b2a36d213f0cc1c127becc17680f7df; from 0af5e0b41110e2da872030395231ab19c45be931 before 7381076809586528e2a812a709e2758916318a99; 5.17 (not affected: before 5.17; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.17 before 5.18.18; from 5.19 before 5.19.2

## References

- <https://git.kernel.org/stable/c/50446ac34545580d073ff0dd154b796726772668> (patch)
- <https://git.kernel.org/stable/c/79b15eb0aa059b3a5bc60364ce82eb2cefac80db> (patch)
- <https://git.kernel.org/stable/c/bfcca6234b2a36d213f0cc1c127becc17680f7df> (patch)
- <https://git.kernel.org/stable/c/7381076809586528e2a812a709e2758916318a99> (patch)

## Sources

- CVE List: [CVE-2022-50188](https://www.cve.org/CVERecord?id=CVE-2022-50188), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50188](https://nvd.nist.gov/vuln/detail/CVE-2022-50188), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50188 · Whole record: https://cve.day/CVE-2022-50188.json · Rebuilt by cve.day 2026-11-25T22:58:21.096Z
