CVE-2022-50582 — Integer Underflow (Wrap or Wraparound) in Linux
Severity
5.5MEDIUM
No vectorEPSS
0.0%
top 91.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedOct 22
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.
Affected Packages4 packages
▶CVEListV5linux/linuxf7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5 — b051d9bf98bd9cea312b228e264eb6542a9beb67+5
🔴Vulnerability Details
3OSV▶
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↗2025-10-22
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↗2025-10-22