Skip to main content
← All vulnerabilities
CVE-2024-46759

hwmon: (adc128d818) Fix underflows seen when writing limit attributes

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.19.322, 5.4.284, 5.10.226, 5.15.167, 6.1.110, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 · fixed in 05419d0056dcf7088687e561bb583cc06deba777; From b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 · fixed in 7645d783df23878342d5d8d22030c3861d2d5426; From b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 · fixed in 2a3add62f183459a057336381ef3a896da01ce38; From b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 · fixed in 019ef2d396363ecddc46e826153a842f8603799b; From b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 · fixed in f7f5101af5b47a331cdbfa42ba64c507b47dd1fe; From b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 · fixed in 6891b11a0c6227ca7ed15786928a07b1c0e4d4af; From b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 · fixed in b0bdb43852bf7f55ba02f0cbf00b4ea7ca897bff; From b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 · fixed in 8cad724c8537fe3e0da8004646abc00290adae40

  • Linux Linux

    3.15

  • KernelLinux

    From 3.15.0 · fixed in 4.19.322; From 4.20.0 · fixed in 5.4.284; From 5.5.0 · fixed in 5.10.226; From 5.11.0 · fixed in 5.15.167; From 5.16.0 · fixed in 6.1.110; From 6.2.0 · fixed in 6.6.51; From 6.7.0 · fixed in 6.10.10

References 8

git.kernel.org