In the Linux kernel, the following vulnerability has been resolved:
PCI: microchip: Fix refcount leak in mcpcieinitirqdomains()
ofgetnextchild() returns a node pointer with refcount incremented, so we should use ofnode_put() on it when we don't need it anymore.
mcpcieinitirqdomains() only calls ofnodeput() in the normal path, missing it in some error paths. Add missing ofnodeput() to avoid refcount leak.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50157.json"
}