Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 to < 05419d0056dcf7088687e561bb583cc06deba777affected
  • b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 to < 7645d783df23878342d5d8d22030c3861d2d5426affected
  • b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 to < 2a3add62f183459a057336381ef3a896da01ce38affected
  • b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 to < 019ef2d396363ecddc46e826153a842f8603799baffected
  • b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 to < f7f5101af5b47a331cdbfa42ba64c507b47dd1feaffected
  • b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 to < 6891b11a0c6227ca7ed15786928a07b1c0e4d4afaffected
  • b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 to < b0bdb43852bf7f55ba02f0cbf00b4ea7ca897bffaffected
  • b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 to < 8cad724c8537fe3e0da8004646abc00290adae40affected

Linux Linux

Default version status: affected

  • 3.15affected
  • 0 to < 3.15unaffected
  • 4.19.322 to ≤ 4.19.*unaffected
  • 5.4.284 to ≤ 5.4.*unaffected
  • 5.10.226 to ≤ 5.10.*unaffected
  • 5.15.167 to ≤ 5.15.*unaffected
  • 6.1.110 to ≤ 6.1.*unaffected
  • 6.6.51 to ≤ 6.6.*unaffected
  • 6.10.10 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References