PCI: microchip: Fix refcount leak in mc_pcie_init_irq_domains() (Linux Linux)

CVE-2022-50157
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.19 % · centile 9 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 6f15a9c9f94133bee0d861a4bf25e10aaa95219d < c0ad5c7e68d10f6f8ffb0f4329e3c19404fbca58 ; affected 6f15a9c9f94133bee0d861a4bf25e10aaa95219d < 6cd5f93b5c6a66c68a91dbc604a78207252ecd43 ; affected 6f15a9c9f94133bee0d861a4bf25e10aaa95219d < 880ece912b958a0c92cc0baa8e906fb9b49a4b53 ; affected 6f15a9c9f94133bee0d861a4bf25e10aaa95219d < f030304fdeb87ec8f1b518c73703214aec6cc24a
Linux · Linuxaffected 5.12 ; unaffected 0 < 5.12 ; unaffected 5.15.61 ≤ 5.15.* ; unaffected 5.18.18 ≤ 5.18.* ; unaffected 5.19.2 ≤ 5.19.* ; unaffected 6.0 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD