CVE-2022-50157

Source
https://cve.org/CVERecord?id=CVE-2022-50157
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50157.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50157
Downstream
Related
Published
2025-06-18T11:03:14.530Z
Modified
2026-04-03T13:14:35.564925566Z
Summary
PCI: microchip: Fix refcount leak in mc_pcie_init_irq_domains()
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50157.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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"