mfd: arizona: Fix regulator resource leak on wm5102_clear_write_sequencer() failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1c1c6bba57f51331f64f32d0ce9a0f9883041205 · < 5a4923726a165593d7601834a6fb2a10ab47b85d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mfd: arizona: Fix regulator resource leak on wm5102_clear_write_sequencer() failure
The wm5102_clear_write_sequencer() helper may return an error and just return, bypassing the cleanup sequence and causing regulators to remain enabled, leading to a resource leak.
Change the direct return to jump to the err_reset label to properly free the resources.
From the CVE record · Linux
In the Linux kernel's arizona driver, an error from wm5102_clear_write_sequencer() can bypass cleanup and leave regulators enabled. The input does not describe how an attacker could trigger the error or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the arizona driver should check their versions; affected versions were not provided.