CVE-2021-47098

Severity CVSS v4.0:
Pending analysis
Type:
CWE-190 Integer Overflow or Wraparound
Publication date:
04/03/2024
Last modified:
03/02/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> hwmon: (lm90) Prevent integer overflow/underflow in hysteresis calculations<br /> <br /> Commit b50aa49638c7 ("hwmon: (lm90) Prevent integer underflows of<br /> temperature calculations") addressed a number of underflow situations<br /> when writing temperature limits. However, it missed one situation, seen<br /> when an attempt is made to set the hysteresis value to MAX_LONG and the<br /> critical temperature limit is negative.<br /> <br /> Use clamp_val() when setting the hysteresis temperature to ensure that<br /> the provided value can never overflow or underflow.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.14 (including) 5.15.2 (excluding)
cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc6:*:*:*:*:*:*