CVEvulnerability

CVE-2021-47098

7.8 HIGH Published 2024-03-04 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-03-04
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-190

Description

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.

Affected configurations

• linux linux kernel (>= 5.14 < 5.15.2) • linux linux kernel 5.16

Related

Weakness · CWE (1)

  • CWE-190 Integer Overflow or Wraparound weakness

References