Bug 2405735 (CVE-2022-50582) - CVE-2022-50582 kernel: regulator: core: Prevent integer underflow
Summary: CVE-2022-50582 kernel: regulator: core: Prevent integer underflow
Keywords:
Status: NEW
Alias: CVE-2022-50582
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-22 14:03 UTC by OSIDB Bzimport
Modified: 2025-10-29 10:24 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-22 14:03:23 UTC
In the Linux kernel, the following vulnerability has been resolved:

regulator: core: Prevent integer underflow

By using a ratio of delay to poll_enabled_time that is not integer
time_remaining underflows and does not exit the loop as expected.
As delay could be derived from DT and poll_enabled_time is defined
in the driver this can easily happen.

Use a signed iterator to make sure that the loop exits once
the remaining time is negative.


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