CVE-2022-50121
remoteproc: k3-r5: Fix refcount leak in k3_r5_cluster_of_init
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 products
Linux · LinuxWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
https://git.kernel.org/stable/c/3f83c4cf1b78331c23876977aa7b9151aff2f9e1https://git.kernel.org/stable/c/61cd8cd3b6b33c7eae3b45cf783b114f2ae53528https://git.kernel.org/stable/c/75358732af9b26acfe3e609943290bcba13330fchttps://git.kernel.org/stable/c/cf112a52d758092ca3d5ebdad51dd17bda5ba3e5https://git.kernel.org/stable/c/fa220c05d282e7479abe08b54e3bdffd06c25e97