Underflow Fix in Linux Kernel's hwmon Module
CVE-2024-46758
Currently unrated 🤨
Summary
In the Linux kernel, the following vulnerability has been resolved: hwmon: (lm95234) 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.
Affected Version(s)
Linux < 93f0f5721d0c
Linux < 438453dfbbdc
Linux < 59c1fb9874a0
Timeline
Vulnerability published.
Vulnerability Reserved.
Collectors
NVD DatabaseMitre Database