memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings (Linux Linux)

CVE-2022-49676
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.26 % · centile 18 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. This function doesn't call of_node_put() in some error paths. To unify the structure, Add put_node label and goto it on errors.

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:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 6e7674c3c6df565ab47d02b4f2e608e3477cdf86 < 889aad2203e09eed2071ca8985c25e9d6aea5735 ; affected 6e7674c3c6df565ab47d02b4f2e608e3477cdf86 < cde4480b5ab06195b9164184b0c02ced71e601b4 ; affected 6e7674c3c6df565ab47d02b4f2e608e3477cdf86 < bb2a481778c60f912c363e271ae46b55ff8132db ; affected 6e7674c3c6df565ab47d02b4f2e608e3477cdf86 < 1332661e09304b7b8e84e5edc11811ba08d12abe
Linux · Linuxaffected 5.5 ; unaffected 0 < 5.5 ; unaffected 5.10.127 ≤ 5.10.* ; unaffected 5.15.51 ≤ 5.15.* ; unaffected 5.18.8 ≤ 5.18.* ; unaffected 5.19 ≤ *

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