CVE-2024-46759 hwmon: (adc128d818) Fix underflows seen when writing limit attributes
A local attacker can trigger an integer underflow in the Linux kernel hwmon driver by writing specific values, potentially causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-46759?
CVE-2024-46759 is a high-severity vulnerability in Linux kernel, published on 18 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-191
Which versions are affected by CVE-2024-46759?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-46759?
Apply the vendor's patch.
Is CVE-2024-46759 being exploited?
There is no known exploitation of CVE-2024-46759 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-49572, BELL-CVE-2024-46759, DEBIAN-CVE-2024-46759, GHSA-58mw-2g79-hjm6, UBUNTU-CVE-2024-46759.