What’s Vulnerable › Vulnerabilities

CVE-2024-46759: hwmon: (adc128d818) Fix underflows seen when writing limit attributes

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.322, 5.10.226, 5.15.167, 5.4.284. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-46759 or the next vulnerability affects your stack