Bug 2535368 (CVE-2026-89936) - CVE-2026-89936 kernel: iio: dac: m62332: Fix regulator reference count imbalance
Summary: CVE-2026-89936 kernel: iio: dac: m62332: Fix regulator reference count imbalance
Keywords:
Status: NEW
Alias: CVE-2026-89936
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-16 12:22 UTC by OSIDB Bzimport
Modified: 2026-10-27 19:28 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-16 12:22:39 UTC
In the Linux kernel, the following vulnerability has been resolved:

iio: dac: m62332: Fix regulator reference count imbalance

m62332_set_value() enables the Vcc regulator on every write of a
non-zero value and disables it on every write of zero, without tracking
the channel's current state. Because the regulator is reference counted,
changing a channel directly from one non-zero value to another enables
it more than once, while a later write of zero disables it only once.
The reference count never returns to zero and the regulator is left
enabled indefinitely.

Only enable the regulator on the transition from zero to non-zero, and
only disable it on the transition from non-zero to zero, using the
previously stored channel value to detect the edge. Balance the
regulator on the I2C error path so the reference count stays consistent
if the write fails.


Note You need to log in before you can comment on or make changes to this bug.