cxl: Fix refcount leak in cxl_calc_capp_routing (Linux Linux)

CVE-2022-50311
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: cxl: Fix refcount leak in cxl_calc_capp_routing of_get_next_parent() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. This function only calls of_node_put() in normal path, missing it in the error path. 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 f24be42aab37c6d07c05126673138e06223a6399 < c9bebc503881c1391f6c4f820134884adecf1519 ; affected f24be42aab37c6d07c05126673138e06223a6399 < ee870f72465015327ad96204b0e92450d04870cd ; affected f24be42aab37c6d07c05126673138e06223a6399 < f2d60f6ba173cded65081cee690b67802395a479 ; affected f24be42aab37c6d07c05126673138e06223a6399 < 81c8bbf5b2b5f0c8030fff1716c00849cda8571a ; affected f24be42aab37c6d07c05126673138e06223a6399 < 6a310e8db5409676b4b3e6c1f54dff174e4fd04d ; affected f24be42aab37c6d07c05126673138e06223a6399 < 651e8bc9d0418c20a1989b7c078c64c2a6346fa3
Linux · Linuxaffected 4.12 ; unaffected 0 < 4.12 ; unaffected 4.14.303 ≤ 4.14.* ; unaffected 4.19.270 ≤ 4.19.* ; unaffected 5.4.229 ≤ 5.4.* ; unaffected 5.10.163 ≤ 5.10.*

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