Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50157

PCI: microchip: Fix refcount leak in mc_pcie_init_irq_domains()

Description

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 6f15a9c9f94133bee0d861a4bf25e10aaa95219d to < c0ad5c7e68d10f6f8ffb0f4329e3c19404fbca58affected
  • 6f15a9c9f94133bee0d861a4bf25e10aaa95219d to < 6cd5f93b5c6a66c68a91dbc604a78207252ecd43affected
  • 6f15a9c9f94133bee0d861a4bf25e10aaa95219d to < 880ece912b958a0c92cc0baa8e906fb9b49a4b53affected
  • 6f15a9c9f94133bee0d861a4bf25e10aaa95219d to < f030304fdeb87ec8f1b518c73703214aec6cc24aaffected

Linux Linux

Default version status: affected

  • 5.12affected
  • 0 to < 5.12unaffected
  • 5.15.61 to ≤ 5.15.*unaffected
  • 5.18.18 to ≤ 5.18.*unaffected
  • 5.19.2 to ≤ 5.19.*unaffected
  • 6.0 to ≤ *unaffected

References