---
cve: "CVE-2021-47098"
severity: "LOW"
cvss: 3.1
epss: "22%"
vendor: "Linux"
kev: false
exploited: false
published: "2024-03-04 18:15:08"
tags: [cve, security, low]
source: tsecurity.de CVE-Dossier
exported: "2026-09-15T06:17:15+02:00"
---

# CVE-2021-47098

> 3.1 LOW

## Beschreibung

In the Linux kernel, the following vulnerability has been resolved:

hwmon: (lm90) Prevent integer overflow/underflow in hysteresis calculations

Commit b50aa49638c7 ("hwmon: (lm90) Prevent integer underflows of
temperature calculations") addressed a number of underflow situations
when writing temperature limits. However, it missed one situation, seen
when an attempt is made to set the hysteresis value to MAX_LONG and the
critical temperature limit is negative.

Use clamp_val() when setting the hysteresis temperature to ensure that
the provided value can never overflow or underflow.

## Referenzen

- <https://git.kernel.org/stable/c/d105f30bea9104c590a9e5b495cb8a49bdfe405f>
- <https://git.kernel.org/stable/c/55840b9eae5367b5d5b29619dc2fb7e4596dba46>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2021-47098) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
