CVE-2022-50157

published 18 Jun 2025 · updated 11 May 2026

PCI: microchip: Fix refcount leak in mc_pcie_init_irq_domains()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6cd5f93b5c6a66c68a91dbc604a78207252ecd43, Kernel 880ece912b958a0c92cc0baa8e906fb9b49a4b53, Kernel c0ad5c7e68d10f6f8ffb0f4329e3c19404fbca58 and 1 more.

In the Linux kernel, the following vulnerability has been resolved: PCI: microchip: Fix refcount leak in mc_pcie_init_irq_domains() of_get_next_child() returns a node pointer with refcount incremented, so we should use of_node_put() on it when we don't need it anymore. mc_pcie_init_irq_domains() only calls of_node_put() in the normal path, missing it in some error paths. Add missing of_node_put() to avoid refcount leak.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.12, >=6f15a9c9f94133bee0d861a4bf25e10aaa95219d <6cd5f93b5c6a66c68a91dbc604a78207252ecd43, >=6f15a9c9f94133bee0d861a4bf25e10aaa95219d <880ece912b958a0c92cc0baa8e906fb9b49a4b53, >=6f15a9c9f94133bee0d861a4bf25e10aaa95219d <c0ad5c7e68d10f6f8ffb0f4329e3c19404fbca58, >=6f15a9c9f94133bee0d861a4bf25e10aaa95219d <f030304fdeb87ec8f1b518c73703214aec6cc24a6cd5f93b5c6a66c68a91dbc604a78207252ecd43, 880ece912b958a0c92cc0baa8e906fb9b49a4b53, c0ad5c7e68d10f6f8ffb0f4329e3c19404fbca58, f030304fdeb87ec8f1b518c73703214aec6cc24a

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50157 severity on Zeptric[![CVE-2022-50157](https://zeptric.io/badge/cve/CVE-2022-50157.svg)](https://zeptric.io/cve/CVE-2022-50157)