CVE-2022-50582 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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.9
해결 버전
- 5.9 미만
- 5.10.150 이상
- 5.15.75 이상
- 5.19.17 이상
- 6.0.3 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/8d8e16592022c9650df8aedfe6552ed478d7135b (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9f2395316e4845466cb9b5b9b15a171a2c91913c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b051d9bf98bd9cea312b228e264eb6542a9beb67 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/bfe602d9a349360e60e9051c9cafb9fef204524d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e33da263e9658bfe870ea7836fbbd72f246d7dbd (새 창)