remoteproc: k3-r5: Fix refcount leak in k3_r5_cluster_of_init (Linux Linux)

CVE-2022-50121
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 9 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: remoteproc: k3-r5: Fix refcount leak in k3_r5_cluster_of_init Every iteration of for_each_available_child_of_node() decrements the reference count of the previous node. When breaking early from a for_each_available_child_of_node() loop, we need to explicitly call of_node_put() on the child node. Add missing of_node_put() to avoid refcount leak.

References

Scores

VersionScoreVectorScored by
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)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 6dedbd1d544389d6ab1727423348572a11e9df5d < 75358732af9b26acfe3e609943290bcba13330fc ; affected 6dedbd1d544389d6ab1727423348572a11e9df5d < cf112a52d758092ca3d5ebdad51dd17bda5ba3e5 ; affected 6dedbd1d544389d6ab1727423348572a11e9df5d < 61cd8cd3b6b33c7eae3b45cf783b114f2ae53528 ; affected 6dedbd1d544389d6ab1727423348572a11e9df5d < 3f83c4cf1b78331c23876977aa7b9151aff2f9e1 ; affected 6dedbd1d544389d6ab1727423348572a11e9df5d < fa220c05d282e7479abe08b54e3bdffd06c25e97
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.10.137 ≤ 5.10.* ; unaffected 5.15.61 ≤ 5.15.* ; unaffected 5.18.18 ≤ 5.18.* ; unaffected 5.19.2 ≤ 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