regulator: scmi: fix of_node refcount leak in scmi_regulator_probe()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.212, Kernel 6.1.178, Kernel 6.18.39 and 10 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.11 <5.15.212, >=5.16 <6.1.178, >=6.13 <6.18.39, >=6.19 <7.1.4, >=6.2 <6.6.145, >=6.7 <6.12.96, >=0fbeae70ee7ce98e18a47337cd1f205dd88589e9 <22cb337370e6539b0418832c6040e9b00c1b74ca, >=0fbeae70ee7ce98e18a47337cd1f205dd88589e9 <3e1441a4d06d35a314961e40057bd1f0106bbc14, >=0fbeae70ee7ce98e18a47337cd1f205dd88589e9 <637c11e3d8d43a7ee654591cda8d17c55a9234fa, >=0fbeae70ee7ce98e18a47337cd1f205dd88589e9 <a935b64548fcfe1d5b4dbdd31dddfb0d7019367f, >=0fbeae70ee7ce98e18a47337cd1f205dd88589e9 <e2baf8ea13fb4b10bec2c4751aea05c00dabcd0f, >=0fbeae70ee7ce98e18a47337cd1f205dd88589e9 <fa11039d6cdff84584a3ef8cc1f5e1b56e045da2, =5.11, >=0fbeae70ee7ce98e18a47337cd1f205dd88589e9 <1e446e8f8c763be3de7d0362e024cdf46194ffef | 5.15.212, 6.1.178, 6.18.39, 7.1.4, 6.6.145, 6.12.96, 22cb337370e6539b0418832c6040e9b00c1b74ca, 3e1441a4d06d35a314961e40057bd1f0106bbc14, 637c11e3d8d43a7ee654591cda8d17c55a9234fa, a935b64548fcfe1d5b4dbdd31dddfb0d7019367f, e2baf8ea13fb4b10bec2c4751aea05c00dabcd0f, fa11039d6cdff84584a3ef8cc1f5e1b56e045da2, 1e446e8f8c763be3de7d0362e024cdf46194ffef |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.39, >=6.19.0 <7.1.4, >=6.2.0 <6.6.145, >=6.7.0 <6.12.96 | 5.15.212, 6.1.178, 6.18.39, 7.1.4, 6.6.145, 6.12.96 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket