{"id":"CVE-2022-50038","summary":"drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()\n\nIn this function, there are two refcount leak bugs:\n(1) when breaking out of for_each_endpoint_of_node(), we need call\nthe of_node_put() for the 'ep';\n(2) we should call of_node_put() for the reference returned by\nof_graph_get_remote_port() when it is not used anymore.","modified":"2026-04-03T13:14:22.558898787Z","published":"2025-06-18T11:01:39.487Z","related":["SUSE-SU-2025:02264-1","SUSE-SU-2025:02308-1","SUSE-SU-2025:02320-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02322-1","SUSE-SU-2025:02537-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50038.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3aa710e96747c8b4e52ba12ffe09edcb2755897c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6a758f0ba11699837af9e1a0f7cbac6ef765a23e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8dec38e19f6928235d4009ce55f7add8af34e5c7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/91b3c8dbe898df158fd2a84675f3a284ff6666f7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d58ef256781398ad115aef44de0a02ad27ea6c3a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fc1fc2abfcb9235d0ece9a4d858426fb617cfa66"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe71d84c1a6c0d54657431e8eeaefc9d24895304"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50038.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50038"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bbbe775ec5b5dace43a35886da9924837da09ddd"},{"fixed":"6a758f0ba11699837af9e1a0f7cbac6ef765a23e"},{"fixed":"fc1fc2abfcb9235d0ece9a4d858426fb617cfa66"},{"fixed":"d58ef256781398ad115aef44de0a02ad27ea6c3a"},{"fixed":"3aa710e96747c8b4e52ba12ffe09edcb2755897c"},{"fixed":"fe71d84c1a6c0d54657431e8eeaefc9d24895304"},{"fixed":"8dec38e19f6928235d4009ce55f7add8af34e5c7"},{"fixed":"91b3c8dbe898df158fd2a84675f3a284ff6666f7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50038.json"}}],"schema_version":"1.7.5"}