- Home
- Vulnerabilities
- CVE-2022-50157
CVE-2022-50157
In the Linux kernel, the following vulnerability has been resolved: PCI: microchip: Fix refcount leak in…
Low
25/100
Summary
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 products and versions
Linux (3 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Linux kernel | from 5.12 (included) to 5.15.61 (excluded) |
— | NVD |
| Linux kernel | from 5.16 (included) to 5.18.18 (excluded) |
— | NVD |
| Linux kernel | from 5.19 (included) to 5.19.2 (excluded) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://git.kernel.org/stable/c/6cd5f93b5c6a66c68a91dbc604a78207252ecd43Patch
- https://git.kernel.org/stable/c/880ece912b958a0c92cc0baa8e906fb9b49a4b53Patch
- https://git.kernel.org/stable/c/c0ad5c7e68d10f6f8ffb0f4329e3c19404fbca58Patch
- https://git.kernel.org/stable/c/f030304fdeb87ec8f1b518c73703214aec6cc24aPatch
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Weakness
- NVD-CWE-Other · Non classé