soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe() (Linux Linux)

CVE-2022-50703
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.23 % · centile 14 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe() There are two refcount leak bugs in qcom_smsm_probe(): (1) The 'local_node' is escaped out from for_each_child_of_node() as the break of iteration, we should call of_node_put() for it in error path or when it is not used anymore. (2) The 'node' is escaped out from for_each_available_child_of_node() as the 'goto', we should call of_node_put() for it in goto target.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected c97c4090ff72297a878a37715bd301624b71c885 < 1bbe75d466e5118b7d49ef4a346c3ce5742da4e8 ; affected c97c4090ff72297a878a37715bd301624b71c885 < bd4666bf5562fe8e8e5e9bd6fc805d30e1767f43 ; affected c97c4090ff72297a878a37715bd301624b71c885 < 42df28994eba7b56c762f7bbe7efd5611a1cd15b ; affected c97c4090ff72297a878a37715bd301624b71c885 < 1e3ed59370c712df436791efed120f0c082aa9bc ; affected c97c4090ff72297a878a37715bd301624b71c885 < 39781c98ad46b4e85053345dff797240c1ed7935 ; affected c97c4090ff72297a878a37715bd301624b71c885 < 96e0028debdd07a6d582f0dfadf9a3ec2b5fffff
Linux · Linuxaffected 4.5 ; unaffected 0 < 4.5 ; unaffected 4.9.331 ≤ 4.9.* ; unaffected 4.14.296 ≤ 4.14.* ; unaffected 4.19.262 ≤ 4.19.* ; unaffected 5.4.220 ≤ 5.4.*

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