CVE-2022-50582 Details
Description
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.
An integer underflow vulnerability has been identified in the Linux kernel's regulator core. This issue arises when the delay ratio to poll_enabled_time is not an integer, causing the time_remaining variable to underflow and fail to exit its loop as intended. Since the delay can be sourced from the device tree and poll_enabled_time is driver-defined, this underflow can easily occur. The vulnerability affects several versions of the Linux kernel.
The vulnerability has been addressed by modifying the regulator core to use a signed integer for the time_remaining variable, ensuring that the loop correctly exits when the remaining time becomes negative. Users should upgrade to the latest stable version of the Linux kernel where this fix has been applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/8d8e16592022c9650df8aedfe6552ed478d7135b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9f2395316e4845466cb9b5b9b15a171a2c91913c | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b051d9bf98bd9cea312b228e264eb6542a9beb67 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/bfe602d9a349360e60e9051c9cafb9fef204524d | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e33da263e9658bfe870ea7836fbbd72f246d7dbd | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 22, 2025 | New CVE Received | kernel.org |
Volerion