High · published September 18, 2024
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (adc128d818) Fix underflows seen when writing limit attributes
DIV_ROUND_CLOSEST() after kstrtol() results in an underflow if a large
negative number such as -9223372036854775808 is provided by the user.
Fix it by reordering clamp_val() and DIV_ROUND_CLOSEST() operations.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | < 4.19.322 | 4.19.322 |
| linux/linux_kernel | ≥ 4.20, < 5.4.284 | 5.4.284 |
| linux/linux_kernel | ≥ 5.5, < 5.10.226 | 5.10.226 |
| linux/linux_kernel | ≥ 5.11, < 5.15.167 | 5.15.167 |
| linux/linux_kernel | ≥ 5.16, < 6.1.110 | 6.1.110 |
| linux/linux_kernel | ≥ 6.2, < 6.6.51 | 6.6.51 |
| linux/linux_kernel | ≥ 6.7, < 6.10.10 | 6.10.10 |