CVE-2022-50582
regulator: core: Prevent integer underflow
Check your servers for CVE-2022-50582
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50582 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5, before b051d9bf98bd9cea312b228e264eb6542a9beb67 affected from f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5, before e33da263e9658bfe870ea7836fbbd72f246d7dbd affected from f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5, before 9f2395316e4845466cb9b5b9b15a171a2c91913c affected from f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5, before bfe602d9a349360e60e9051c9cafb9fef204524d affected from f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5, before 8d8e16592022c9650df8aedfe6552ed478d7135b
Other versions: unaffected
|
| Linux |
affected 5.9 unaffected before 5.9 unaffected from 5.10.150 up to and including 5.10.* unaffected from 5.15.75 up to and including 5.15.* unaffected from 5.19.17 up to and including 5.19.* unaffected from 6.0.3 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50582 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50582
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50582
trivy image --scanners vuln IMAGE | grep CVE-2022-50582
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b051d9bf98bd9cea312b228e264eb6542a9beb67 git.kernel.org
- https://git.kernel.org/stable/c/e33da263e9658bfe870ea7836fbbd72f246d7dbd git.kernel.org
- https://git.kernel.org/stable/c/9f2395316e4845466cb9b5b9b15a171a2c91913c git.kernel.org
- https://git.kernel.org/stable/c/bfe602d9a349360e60e9051c9cafb9fef204524d git.kernel.org
- https://git.kernel.org/stable/c/8d8e16592022c9650df8aedfe6552ed478d7135b git.kernel.org
Source: the record CVE-2022-50582 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse