CVE-2026-45875: mfd: arizona: Fix regulator resource leak on wm5102_clear_write_sequencer() failure
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-45875 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.2 with commit 1c1c6bba57f51331f64f32d0ce9a0f9883041205 and fixed in 5.10.252 with commit 54eafc1b0dbcf79c5f8b6dc8d9e92e56b9384c0a Issue introduced in 4.2 with commit 1c1c6bba57f51331f64f32d0ce9a0f9883041205 and fixed in 5.15.202 with commit 933c5463873582baaecf5c38401ec4095b1c6269 Issue introduced in 4.2 with commit 1c1c6bba57f51331f64f32d0ce9a0f9883041205 and fixed in 6.1.165 with commit 445cec7b4fbb1546836ae8e332d158e8d37d0fb6 Issue introduced in 4.2 with commit 1c1c6bba57f51331f64f32d0ce9a0f9883041205 and fixed in 6.6.128 with commit 3ea01691738b0decb63ea2705d2cdf27f6f26fc0 Issue introduced in 4.2 with commit 1c1c6bba57f51331f64f32d0ce9a0f9883041205 and fixed in 6.12.75 with commit e0527c09bcf1e6beeb685a7f4177683866b8609c Issue introduced in 4.2 with commit 1c1c6bba57f51331f64f32d0ce9a0f9883041205 and fixed in 6.18.14 with commit 5a4923726a165593d7601834a6fb2a10ab47b85d Issue introduced in 4.2 with commit 1c1c6bba57f51331f64f32d0ce9a0f9883041205 and fixed in 6.19.4 with commit 2049820d1e635e467d795237fd40287213d92349 Issue introduced in 4.2 with commit 1c1c6bba57f51331f64f32d0ce9a0f9883041205 and fixed in 7.0 with commit 4feb753ba6e5e5bbaba868b841a2db41c21e56fa
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-45875
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/mfd/arizona-core.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/54eafc1b0dbcf79c5f8b6dc8d9e92e56b9384c0a https://git.kernel.org/stable/c/933c5463873582baaecf5c38401ec4095b1c6269 https://git.kernel.org/stable/c/445cec7b4fbb1546836ae8e332d158e8d37d0fb6 https://git.kernel.org/stable/c/3ea01691738b0decb63ea2705d2cdf27f6f26fc0 https://git.kernel.org/stable/c/e0527c09bcf1e6beeb685a7f4177683866b8609c https://git.kernel.org/stable/c/5a4923726a165593d7601834a6fb2a10ab47b85d https://git.kernel.org/stable/c/2049820d1e635e467d795237fd40287213d92349 https://git.kernel.org/stable/c/4feb753ba6e5e5bbaba868b841a2db41c21e56fa