Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
regulator: scmi: fix of_node refcount leak in scmi_regulator_probe()
In the Linux kernel, the following vulnerability has been resolved: regulator: scmi: fix of_node refcount leak in scmi_regulator_probe() scmi_regulator_probe() calls of_find_node_by_name() which takes a reference on the returned device node. On the error path where process_scmi_regulator_of_node() fails, the function returns without calling of_node_put() on the child node, leaking the reference. Add of_node_put(np) on the error path to properly release the reference.
References
Affected products
Linux
- <a935b64548fcfe1d5b4dbdd31dddfb0d7019367f
- ==5.11
- =<6.18.*
- <22cb337370e6539b0418832c6040e9b00c1b74ca
- <1e446e8f8c763be3de7d0362e024cdf46194ffef
- <e2baf8ea13fb4b10bec2c4751aea05c00dabcd0f
- =<6.12.*
- =<7.1.*
- <3e1441a4d06d35a314961e40057bd1f0106bbc14
- =<6.1.*
- =<*
- <fa11039d6cdff84584a3ef8cc1f5e1b56e045da2
- =<6.6.*
- =<5.15.*
- <637c11e3d8d43a7ee654591cda8d17c55a9234fa
- <5.11