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.

Classification

CVE ID: CVE-2024-46759

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 9.18% (scored less or equal to compared to others)

EPSS Date: 2025-05-07 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2024-46759
https://git.kernel.org/stable/c/05419d0056dcf7088687e561bb583cc06deba777
https://git.kernel.org/stable/c/7645d783df23878342d5d8d22030c3861d2d5426
https://git.kernel.org/stable/c/2a3add62f183459a057336381ef3a896da01ce38
https://git.kernel.org/stable/c/019ef2d396363ecddc46e826153a842f8603799b
https://git.kernel.org/stable/c/f7f5101af5b47a331cdbfa42ba64c507b47dd1fe
https://git.kernel.org/stable/c/6891b11a0c6227ca7ed15786928a07b1c0e4d4af
https://git.kernel.org/stable/c/b0bdb43852bf7f55ba02f0cbf00b4ea7ca897bff
https://git.kernel.org/stable/c/8cad724c8537fe3e0da8004646abc00290adae40

Timeline