CVE-2022-50038
JSON

5.5medium

drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.26% (higher than 19% 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 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

Product or packageVersionsReported by
Linux Linuxfrom bbbe775ec5b5dace43a35886da9924837da09ddd before 6a758f0ba11699837af9e1a0f7cbac6ef765a23e, from bbbe775ec5b5dace43a35886da9924837da09ddd before fc1fc2abfcb9235d0ece9a4d858426fb617cfa66, from bbbe775ec5b5dace43a35886da9924837da09ddd before d58ef256781398ad115aef44de0a02ad27ea6c3a, from bbbe775ec5b5dace43a35886da9924837da09ddd before 3aa710e96747c8b4e52ba12ffe09edcb2755897c, from bbbe775ec5b5dace43a35886da9924837da09ddd before fe71d84c1a6c0d54657431e8eeaefc9d24895304, from bbbe775ec5b5dace43a35886da9924837da09ddd before 8dec38e19f6928235d4009ce55f7add8af34e5c7, from bbbe775ec5b5dace43a35886da9924837da09ddd before 91b3c8dbe898df158fd2a84675f3a284ff6666f7, 4.10
Not affected: before 4.10, from 4.14.291 up to 4.14.*, from 4.19.256 up to 4.19.*, from 5.4.211 up to 5.4.*, from 5.10.138 up to 5.10.*, from 5.15.63 up to 5.15.*
CVE List
linux linux_kernelfrom 4.10 before 4.14.291, from 4.15 before 4.19.256, from 4.20 before 5.4.211, from 5.5 before 5.10.138, from 5.11 before 5.15.63, from 5.16 before 5.19.4, 6.0NVD

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/meson: corrige errores de recuento de referencias en meson_vpu_has_available_connectors() En esta función, hay dos errores de pérdida de recuento de referencias: (1) al salir de for_each_endpoint_of_node(), necesitamos llamar a of_node_put() para el 'ep'; (2) debemos llamar a of_node_put() para la referencia devuelta por of_graph_get_remote_port() cuando ya no se usa.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50038 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50038 changed 2026-06-17Public domain