In the Linux kernel, the following vulnerability has been resolved:[EOL][EOL]regulator: core: Prevent integer underflow[EOL][EOL]By using a ratio of delay to poll_enabled_time that is not integer[EOL]time_remaining underflows and does not exit the loop as expected.[EOL]As delay could be derived from DT and poll_enabled_time is defined[EOL]in the driver this can easily happen.[EOL][EOL]Use a signed iterator to make sure that the loop exits once[EOL]the remaining time is negative.