CVE-2022-50582
published 2025-10-22CVE-2022-50582: 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…
PriorityP420medium5.5
EPSS
0.20%
10.2th percentile
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
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.3-1 (bookworm) | linux 6.0.3-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5 < b051d9bf98bd9cea312b228e264eb6542a9beb67 | b051d9bf98bd9cea312b228e264eb6542a9beb67 |
| linux | linux | >= f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5 < e33da263e9658bfe870ea7836fbbd72f246d7dbd | e33da263e9658bfe870ea7836fbbd72f246d7dbd |
| linux | linux | >= f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5 < 9f2395316e4845466cb9b5b9b15a171a2c91913c | 9f2395316e4845466cb9b5b9b15a171a2c91913c |
| linux | linux | >= f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5 < bfe602d9a349360e60e9051c9cafb9fef204524d | bfe602d9a349360e60e9051c9cafb9fef204524d |
| linux | linux | >= f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5 < 8d8e16592022c9650df8aedfe6552ed478d7135b | 8d8e16592022c9650df8aedfe6552ed478d7135b |
| linux | linux_kernel | >= 0 < 5.10.158-1 | 5.10.158-1 |
| linux | linux_kernel | >= 0 < 6.0.3-1 | 6.0.3-1 |
| linux | linux_kernel | >= 0 < 6.0.3-1 | 6.0.3-1 |
| linux | linux_kernel | >= 0 < 6.0.3-1 | 6.0.3-1 |
| linux | linux_kernel | >= 5.11.0 < 5.15.75 | 5.15.75 |
| linux | linux_kernel | >= 5.16.0 < 5.19.17 | 5.19.17 |
| linux | linux_kernel | >= 5.20.0 < 6.0.3 | 6.0.3 |
| linux | linux_kernel | >= 5.9.0 < 5.10.150 | 5.10.150 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: regulator: core: Prevent integer underflow
vendor_redhat·2025-10-22·CVSS 5.5
CVE-2022-50582 [MEDIUM] CWE-191 kernel: regulator: core: Prevent integer underflow
kernel: regulator: core: Prevent integer underflow
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.
Statement: The enable path used an unsigned int time_remaining. When the computed delay went negative, it underflowed and wrapped to a large positive value, preventing the loop from terminating and potentially stalling regulator enable (DoS on the code path, possibly during boot). The fix switches time_re
Debian
CVE-2022-50582: linux - In the Linux kernel, the following vulnerability has been resolved: regulator: ...
vendor_debian·2022
CVE-2022-50582 CVE-2022-50582: linux - In the Linux kernel, the following vulnerability has been resolved: regulator: ...
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.
Scope: local
bookworm: resolved (fixed in 6.0.3-1)
bullseye: resolved (fixed in 5.10.158-1)
forky: resolved (fixed in 6.0.3-1)
sid: resolved (fixed in 6.0.3-1)
trixie: resolved (fixed in 6.0.3-1)
OSV
regulator: core: Prevent integer underflow
osv·2025-10-22
CVE-2022-50582 regulator: core: Prevent integer underflow
regulator: core: Prevent integer underflow
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.
OSV
CVE-2022-50582: In the Linux kernel, the following vulnerability has been resolved: regulator: core: Prevent integer underflow By using a ratio of delay to poll_enabl
osv·2025-10-22
CVE-2022-50582 CVE-2022-50582: In the Linux kernel, the following vulnerability has been resolved: regulator: core: Prevent integer underflow By using a ratio of delay to poll_enabl
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.
GHSA
GHSA-2p3h-3pmw-fjvx: In the Linux kernel, the following vulnerability has been resolved:
regulator: core: Prevent integer underflow
By using a ratio of delay to poll_ena
ghsa_unreviewed·2025-10-22
CVE-2022-50582 GHSA-2p3h-3pmw-fjvx: In the Linux kernel, the following vulnerability has been resolved:
regulator: core: Prevent integer underflow
By using a ratio of delay to poll_ena
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.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/8d8e16592022c9650df8aedfe6552ed478d7135bhttps://git.kernel.org/stable/c/9f2395316e4845466cb9b5b9b15a171a2c91913chttps://git.kernel.org/stable/c/b051d9bf98bd9cea312b228e264eb6542a9beb67https://git.kernel.org/stable/c/bfe602d9a349360e60e9051c9cafb9fef204524dhttps://git.kernel.org/stable/c/e33da263e9658bfe870ea7836fbbd72f246d7dbd
2025-10-22
Published