CVE-2022-50582 regulator: core: Prevent integer underflow
An integer underflow in the Linux kernel regulator core can cause an infinite loop, leading to a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50582?
CVE-2022-50582 is a vulnerability in Linux, published on 22 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-50582?
How do I fix CVE-2022-50582?
Apply the vendor's patch.
Is CVE-2022-50582 being exploited?
There is no known exploitation of CVE-2022-50582 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2022-50582, GHSA-2p3h-3pmw-fjvx, UBUNTU-CVE-2022-50582.