{"id":"CVE-2022-50582","aliases":["CVE-2022-50582"],"related":[],"kind":"vulnerability","state":"published","title":"regulator: core: Prevent integer underflow","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: core: Prevent integer underflow\n\nBy using a ratio of delay to poll_enabled_time that is not integer\ntime_remaining underflows and does not exit the loop as expected.\nAs delay could be derived from DT and poll_enabled_time is defined\nin the driver this can easily happen.\n\nUse a signed iterator to make sure that the loop exits once\nthe remaining time is negative.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: core: Prevent integer underflow\n\nBy using a ratio of delay to poll_enabled_time that is not integer\ntime_remaining underflows and does not exit the loop as expected.\nAs delay could be derived from DT and poll_enabled_time is defined\nin the driver this can easily happen.\n\nUse a signed iterator to make sure that the loop exits once\nthe remaining time is negative.","source":"cvelist"}],"published":"2025-10-22T13:23:34.037Z","modified":"2026-06-17T05:23:50.030Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5","fixed":"b051d9bf98bd9cea312b228e264eb6542a9beb67","status":"affected"},{"type":"git","introduced":"f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5","fixed":"e33da263e9658bfe870ea7836fbbd72f246d7dbd","status":"affected"},{"type":"git","introduced":"f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5","fixed":"9f2395316e4845466cb9b5b9b15a171a2c91913c","status":"affected"},{"type":"git","introduced":"f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5","fixed":"bfe602d9a349360e60e9051c9cafb9fef204524d","status":"affected"},{"type":"git","introduced":"f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5","fixed":"8d8e16592022c9650df8aedfe6552ed478d7135b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.9","status":"unaffected"},{"type":"semver","introduced":"5.10.150","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b051d9bf98bd9cea312b228e264eb6542a9beb67","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e33da263e9658bfe870ea7836fbbd72f246d7dbd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f2395316e4845466cb9b5b9b15a171a2c91913c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfe602d9a349360e60e9051c9cafb9fef204524d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8d8e16592022c9650df8aedfe6552ed478d7135b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50582","url":"https://www.cve.org/CVERecord?id=CVE-2022-50582","licence":"CVE Terms of Use","modified":"2026-05-11T19:22:12.734Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50582","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50582","licence":"Public domain","modified":"2026-06-17T05:23:50.030Z"}],"updatedAt":"2026-11-25T22:58:21.281Z","epss":{"score":0.00214,"percentile":0.12451,"date":"2026-12-01T12:00:22.000Z"}}