5.5medium
drm/meson: Fix refcount leak in meson_encoder_hdmi_init
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 5.17 before 5.18.18, from 5.19 before 5.19.2 | NVD |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/meson: Se corrige la fuga de recuento de referencias en meson_encoder_hdmi_init. La referencia de of_find_device_by_node() se toma; debemos usar put_device() para liberarla cuando ya no sea necesaria. Se añade la falta de put_device() en la ruta de error para evitar la fuga de recuento de referencias.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50188 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-50188 changed 2026-06-17 | Public domain |