mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset (Linux Linux)

CVE-2022-50155
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: mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset of_find_node_by_path() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. 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 bb17230c61a6424b622e92006ec52ba23aa5a967 < 762475464982b15014f364ec0cf2a843407f5af1 ; affected bb17230c61a6424b622e92006ec52ba23aa5a967 < 3193c3a3f4fca65cb06d9d48d07fb96bc1f5b2bd ; affected bb17230c61a6424b622e92006ec52ba23aa5a967 < 01bc3840d943cf725dea6ca13e11ffda82bad49a ; affected bb17230c61a6424b622e92006ec52ba23aa5a967 < e607879b0da18c451de5e91daf239cc2f2f8ff2d
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; 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