---
id: CVE-2024-46759
title: |-
  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 -9…
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 -9…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-191
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 4.19.322
  - 'linux_kernel >= 4.20, < 5.4.284'
  - 'linux_kernel >= 5.5, < 5.10.226'
  - 'linux_kernel >= 5.11, < 5.15.167'
  - 'linux_kernel >= 5.16, < 6.1.110'
  - 'linux_kernel >= 6.2, < 6.6.51'
  - 'linux_kernel >= 6.7, < 6.10.10'
patched:
  - linux_kernel 6.10.10
published: '2024-09-18'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:18:53.033'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-46759'
references:
  - url: 'https://git.kernel.org/stable/c/019ef2d396363ecddc46e826153a842f8603799b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/05419d0056dcf7088687e561bb583cc06deba777'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2a3add62f183459a057336381ef3a896da01ce38'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6891b11a0c6227ca7ed15786928a07b1c0e4d4af'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7645d783df23878342d5d8d22030c3861d2d5426'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8cad724c8537fe3e0da8004646abc00290adae40'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b0bdb43852bf7f55ba02f0cbf00b4ea7ca897bff'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f7f5101af5b47a331cdbfa42ba64c507b47dd1fe'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-355557.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00282
epssPercentile: 0.20862
ingestedAt: '2026-10-15T03:30:12.743Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-09-29T14:44:21.803153Z'
---

## Overview

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

- `linux_kernel < 4.19.322`
- `linux_kernel >= 4.20, < 5.4.284`
- `linux_kernel >= 5.5, < 5.10.226`
- `linux_kernel >= 5.11, < 5.15.167`
- `linux_kernel >= 5.16, < 6.1.110`
- `linux_kernel >= 6.2, < 6.6.51`
- `linux_kernel >= 6.7, < 6.10.10`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.10.10`
