{"id":"CVE-2022-50157","aliases":["CVE-2022-50157"],"related":[],"kind":"vulnerability","state":"published","title":"PCI: microchip: Fix refcount leak in mc_pcie_init_irq_domains()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: microchip: Fix refcount leak in mc_pcie_init_irq_domains()\n\nof_get_next_child() returns a node pointer with refcount incremented, so we\nshould use of_node_put() on it when we don't need it anymore.\n\nmc_pcie_init_irq_domains() only calls of_node_put() in the normal path,\nmissing it in some error paths.  Add missing of_node_put() to avoid\nrefcount leak.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: microchip: Fix refcount leak in mc_pcie_init_irq_domains()\n\nof_get_next_child() returns a node pointer with refcount incremented, so we\nshould use of_node_put() on it when we don't need it anymore.\n\nmc_pcie_init_irq_domains() only calls of_node_put() in the normal path,\nmissing it in some error paths.  Add missing of_node_put() to avoid\nrefcount leak.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: PCI: microchip: Se corrige la fuga de recuento de referencias en mc_pcie_init_irq_domains(). of_get_next_child() devuelve un puntero de nodo con el recuento de referencias incrementado, por lo que debemos usar of_node_put() cuando ya no lo necesitemos. mc_pcie_init_irq_domains() solo llama a of_node_put() en la ruta normal, y no lo detecta en algunas rutas con errores. Se añade la falta de of_node_put() para evitar la fuga de recuento de referencias.","source":"nvd"}],"published":"2025-06-18T11:03:14.530Z","modified":"2026-06-17T05:22:52.523Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6f15a9c9f94133bee0d861a4bf25e10aaa95219d","fixed":"c0ad5c7e68d10f6f8ffb0f4329e3c19404fbca58","status":"affected"},{"type":"git","introduced":"6f15a9c9f94133bee0d861a4bf25e10aaa95219d","fixed":"6cd5f93b5c6a66c68a91dbc604a78207252ecd43","status":"affected"},{"type":"git","introduced":"6f15a9c9f94133bee0d861a4bf25e10aaa95219d","fixed":"880ece912b958a0c92cc0baa8e906fb9b49a4b53","status":"affected"},{"type":"git","introduced":"6f15a9c9f94133bee0d861a4bf25e10aaa95219d","fixed":"f030304fdeb87ec8f1b518c73703214aec6cc24a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"5.15.61","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.18","lastAffected":"5.18.*","status":"unaffected"},{"type":"semver","introduced":"5.19.2","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.12","fixed":"5.15.61"},{"status":"affected","introduced":"5.16","fixed":"5.18.18"},{"status":"affected","introduced":"5.19","fixed":"5.19.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c0ad5c7e68d10f6f8ffb0f4329e3c19404fbca58","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6cd5f93b5c6a66c68a91dbc604a78207252ecd43","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/880ece912b958a0c92cc0baa8e906fb9b49a4b53","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f030304fdeb87ec8f1b518c73703214aec6cc24a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50157","url":"https://www.cve.org/CVERecord?id=CVE-2022-50157","licence":"CVE Terms of Use","modified":"2026-05-11T19:13:54.613Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50157","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50157","licence":"Public domain","modified":"2026-06-17T05:22:52.523Z"}],"updatedAt":"2026-11-25T22:58:21.079Z","epss":{"score":0.00202,"percentile":0.10646,"date":"2026-12-01T12:00:22.000Z"}}