Fix Underflows in hwmon Kernelmodule
CVE-2024-46759
Currently unrated 🤨
Summary
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.
Affected Version(s)
Linux < 05419d0056dc
Linux < 7645d783df23
Linux < 2a3add62f183
Timeline
Vulnerability published.
Vulnerability Reserved.
Collectors
NVD DatabaseMitre Database