CVE-2022-50582

published 22 Oct 2025 · updated 11 May 2026

regulator: core: Prevent integer underflow

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 8d8e16592022c9650df8aedfe6552ed478d7135b, Kernel 9f2395316e4845466cb9b5b9b15a171a2c91913c, Kernel b051d9bf98bd9cea312b228e264eb6542a9beb67 and 2 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.9, >=f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5 <8d8e16592022c9650df8aedfe6552ed478d7135b, >=f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5 <9f2395316e4845466cb9b5b9b15a171a2c91913c, >=f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5 <b051d9bf98bd9cea312b228e264eb6542a9beb67, >=f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5 <bfe602d9a349360e60e9051c9cafb9fef204524d, >=f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5 <e33da263e9658bfe870ea7836fbbd72f246d7dbd8d8e16592022c9650df8aedfe6552ed478d7135b, 9f2395316e4845466cb9b5b9b15a171a2c91913c, b051d9bf98bd9cea312b228e264eb6542a9beb67, bfe602d9a349360e60e9051c9cafb9fef204524d, e33da263e9658bfe870ea7836fbbd72f246d7dbd

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50582 severity on Zeptric[![CVE-2022-50582](https://zeptric.io/badge/cve/CVE-2022-50582.svg)](https://zeptric.io/cve/CVE-2022-50582)