7.8high
hwmon: (adc128d818) Fix underflows seen when writing limit attributes
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.34% (higher than 20% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 before 05419d0056dcf7088687e561bb583cc06deba777, from b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 before 7645d783df23878342d5d8d22030c3861d2d5426, from b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 before 2a3add62f183459a057336381ef3a896da01ce38, from b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 before 019ef2d396363ecddc46e826153a842f8603799b, from b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 before f7f5101af5b47a331cdbfa42ba64c507b47dd1fe, from b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 before 6891b11a0c6227ca7ed15786928a07b1c0e4d4af, from b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 before b0bdb43852bf7f55ba02f0cbf00b4ea7ca897bff, from b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 before 8cad724c8537fe3e0da8004646abc00290adae40 and 1 more Not affected: before 3.15, from 4.19.322 up to 4.19.*, from 5.4.284 up to 5.4.*, from 5.10.226 up to 5.10.*, from 5.15.167 up to 5.15.*, from 6.1.110 up to 6.1.* | CVE List |
| linux linux_kernel | before 4.19.322, from 4.20 before 5.4.284, from 5.5 before 5.10.226, from 5.11 before 5.15.167, from 5.16 before 6.1.110, from 6.2 before 6.6.51, from 6.7 before 6.10.10 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: hwmon: (adc128d818) Se corrigen los desbordamientos de línea observados al escribir los atributos de límite DIV_ROUND_CLOSEST() después de que kstrtol() genere un desbordamiento de línea si el usuario proporciona un número negativo grande, como -9223372036854775808. Se soluciona reordenando las operaciones clamp_val() y DIV_ROUND_CLOSEST().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-46759 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-46759 changed 2026-10-15 | Public domain |