{"id":"CVE-2022-50155","summary":"mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset\n\nof_find_node_by_path() returns a node pointer with refcount incremented,\nwe 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:38.729614312Z","published":"2025-06-18T11:03:13.268Z","related":["SUSE-SU-2025:02264-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-50155.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01bc3840d943cf725dea6ca13e11ffda82bad49a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3193c3a3f4fca65cb06d9d48d07fb96bc1f5b2bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/762475464982b15014f364ec0cf2a843407f5af1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e607879b0da18c451de5e91daf239cc2f2f8ff2d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50155.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50155"},{"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":"bb17230c61a6424b622e92006ec52ba23aa5a967"},{"fixed":"762475464982b15014f364ec0cf2a843407f5af1"},{"fixed":"3193c3a3f4fca65cb06d9d48d07fb96bc1f5b2bd"},{"fixed":"01bc3840d943cf725dea6ca13e11ffda82bad49a"},{"fixed":"e607879b0da18c451de5e91daf239cc2f2f8ff2d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50155.json"}}],"schema_version":"1.7.5"}