{"id":"CVE-2022-50157","summary":"PCI: microchip: Fix refcount leak in mc_pcie_init_irq_domains()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: microchip: Fix refcount leak in mc_pcie_init_irq_domains()\n\nof_get_next_child() returns a node pointer with refcount incremented, so we\nshould use of_node_put() on it when we don't need it anymore.\n\nmc_pcie_init_irq_domains() only calls of_node_put() in the normal path,\nmissing it in some error paths.  Add missing of_node_put() to avoid\nrefcount leak.","modified":"2026-04-03T13:14:35.564925Z","published":"2025-06-18T11:03:14.530Z","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-50157.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/6cd5f93b5c6a66c68a91dbc604a78207252ecd43"},{"type":"WEB","url":"https://git.kernel.org/stable/c/880ece912b958a0c92cc0baa8e906fb9b49a4b53"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0ad5c7e68d10f6f8ffb0f4329e3c19404fbca58"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f030304fdeb87ec8f1b518c73703214aec6cc24a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50157.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50157"},{"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":"6f15a9c9f94133bee0d861a4bf25e10aaa95219d"},{"fixed":"c0ad5c7e68d10f6f8ffb0f4329e3c19404fbca58"},{"fixed":"6cd5f93b5c6a66c68a91dbc604a78207252ecd43"},{"fixed":"880ece912b958a0c92cc0baa8e906fb9b49a4b53"},{"fixed":"f030304fdeb87ec8f1b518c73703214aec6cc24a"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50157.json"}}],"schema_version":"1.7.5"}