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

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 19% of CVEs (2026-11-30)
- Published: 2024-09-18T07:12:18.920Z
- Modified: 2026-10-15T01:18:53.033Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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; 3.15 (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.*; from 6.6.51 up to 6.6.*; from 6.10.10 up to 6.10.*; from 6.11 up to *)
- 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

## References

- <https://git.kernel.org/stable/c/05419d0056dcf7088687e561bb583cc06deba777> (patch)
- <https://git.kernel.org/stable/c/7645d783df23878342d5d8d22030c3861d2d5426> (patch)
- <https://git.kernel.org/stable/c/2a3add62f183459a057336381ef3a896da01ce38> (patch)
- <https://git.kernel.org/stable/c/019ef2d396363ecddc46e826153a842f8603799b> (patch)
- <https://git.kernel.org/stable/c/f7f5101af5b47a331cdbfa42ba64c507b47dd1fe> (patch)
- <https://git.kernel.org/stable/c/6891b11a0c6227ca7ed15786928a07b1c0e4d4af> (patch)
- <https://git.kernel.org/stable/c/b0bdb43852bf7f55ba02f0cbf00b4ea7ca897bff> (patch)
- <https://git.kernel.org/stable/c/8cad724c8537fe3e0da8004646abc00290adae40> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

- CVE List: [CVE-2024-46759](https://www.cve.org/CVERecord?id=CVE-2024-46759), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-46759](https://nvd.nist.gov/vuln/detail/CVE-2024-46759), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-46759 · Whole record: https://cve.day/CVE-2024-46759.json · Rebuilt by cve.day 2026-11-25T22:58:45.558Z
