hwmon: (adc128d818) Fix underflows seen when writing limit attributes
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b4c9c1a7987ef07d8345bf9d19f36d97423b6b25 · < 6891b11a0c6227ca7ed15786928a07b1c0e4d4af| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s adc128d818 hardware-monitoring driver can underflow when a user writes a large negative number to a limit attribute. This requires the ability to write that attribute; the input does not specify any further impact.
Engineers running Linux kernels with the adc128d818 hardware-monitoring driver should check whether their kernel includes the fix; affected versions are not specified.