Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6dedbd1d544389d6ab1727423348572a11e9df5d before 75358732af9b26acfe3e609943290bcba13330fc; affected 6dedbd1d544389d6ab1727423348572a11e9df5d before cf112a52d758092ca3d5ebdad51dd17bda5ba3e5; affected 6dedbd1d544389d6ab1727423348572a11e9df5d before 61cd8cd3b6b33c7eae3b45cf783b114f2ae53528; affected 6dedbd1d544389d6ab1727423348572a11e9df5d before 3f83c4cf1b78331c23876977aa7b9151aff2f9e1; affected 6dedbd1d544389d6ab1727423348572a11e9df5d before fa220c05d282e7479abe08b54e3bdffd06c25e97 |
| Linux / Linux | affected 5.10; unaffected 0 before 5.10; unaffected 5.10.137 through 5.10.*; unaffected 5.15.61 through 5.15.*; unaffected 5.18.18 through 5.18.*; unaffected 5.19.2 through 5.19.*; unaffected 6.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/75358732af9b26acfe3e609943290bcba13330fc
- https://git.kernel.org/stable/c/cf112a52d758092ca3d5ebdad51dd17bda5ba3e5
- https://git.kernel.org/stable/c/61cd8cd3b6b33c7eae3b45cf783b114f2ae53528
- https://git.kernel.org/stable/c/3f83c4cf1b78331c23876977aa7b9151aff2f9e1
- https://git.kernel.org/stable/c/fa220c05d282e7479abe08b54e3bdffd06c25e97