Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
0fbeae70ee7ce98e18a47337cd1f205dd88589e9 to < 1e446e8f8c763be3de7d0362e024cdf46194ffefaffected0fbeae70ee7ce98e18a47337cd1f205dd88589e9 to < 637c11e3d8d43a7ee654591cda8d17c55a9234faaffected0fbeae70ee7ce98e18a47337cd1f205dd88589e9 to < e2baf8ea13fb4b10bec2c4751aea05c00dabcd0faffected0fbeae70ee7ce98e18a47337cd1f205dd88589e9 to < 3e1441a4d06d35a314961e40057bd1f0106bbc14affected0fbeae70ee7ce98e18a47337cd1f205dd88589e9 to < 22cb337370e6539b0418832c6040e9b00c1b74caaffected0fbeae70ee7ce98e18a47337cd1f205dd88589e9 to < a935b64548fcfe1d5b4dbdd31dddfb0d7019367faffected0fbeae70ee7ce98e18a47337cd1f205dd88589e9 to < fa11039d6cdff84584a3ef8cc1f5e1b56e045da2affected
Linux Linux
Default version status: affected
5.11affected0 to < 5.11unaffected5.15.212 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.96 to ≤ 6.12.*unaffected6.18.39 to ≤ 6.18.*unaffected7.1.4 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/1e446e8f8c763be3de7d0362e024cdf46194ffef ↗
- https://git.kernel.org/stable/c/637c11e3d8d43a7ee654591cda8d17c55a9234fa ↗
- https://git.kernel.org/stable/c/e2baf8ea13fb4b10bec2c4751aea05c00dabcd0f ↗
- https://git.kernel.org/stable/c/3e1441a4d06d35a314961e40057bd1f0106bbc14 ↗
- https://git.kernel.org/stable/c/22cb337370e6539b0418832c6040e9b00c1b74ca ↗
- https://git.kernel.org/stable/c/a935b64548fcfe1d5b4dbdd31dddfb0d7019367f ↗
- https://git.kernel.org/stable/c/fa11039d6cdff84584a3ef8cc1f5e1b56e045da2 ↗