{"id":"CVE-2022-50061","summary":"pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map\n\nof_parse_phandle() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when not need anymore.\nAdd missing of_node_put() to avoid refcount leak.\"","modified":"2026-04-03T13:14:46.517197Z","published":"2025-06-18T11:02:09.215Z","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-50061.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4b32e054335ea0ce50967f63a7bfd4db058b14b9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/587ac8ac00a1a9f4572785229d9441870fd7b187"},{"type":"WEB","url":"https://git.kernel.org/stable/c/78d05103891d3e96144b846fbc39f2cfb3384eae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81abaab5a4b815c0ed9f4d2c9745777ac5cc395b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9272265f2f76629e1a67e6d49b3a4461b3da1a73"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c26012a1e61c7bbd1b393d3bbae8dffdb6df65bb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c35f89a9021fa947ecede0584ae509368a52ec5a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f498542bc703bf1e5c6a1610e1ea493a437f0196"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50061.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50061"},{"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":"c2f6d059abfc29822af732e4da70813a5b6fd9cd"},{"fixed":"81abaab5a4b815c0ed9f4d2c9745777ac5cc395b"},{"fixed":"c35f89a9021fa947ecede0584ae509368a52ec5a"},{"fixed":"f498542bc703bf1e5c6a1610e1ea493a437f0196"},{"fixed":"c26012a1e61c7bbd1b393d3bbae8dffdb6df65bb"},{"fixed":"78d05103891d3e96144b846fbc39f2cfb3384eae"},{"fixed":"9272265f2f76629e1a67e6d49b3a4461b3da1a73"},{"fixed":"587ac8ac00a1a9f4572785229d9441870fd7b187"},{"fixed":"4b32e054335ea0ce50967f63a7bfd4db058b14b9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50061.json"}}],"schema_version":"1.7.5"}