CVE-2021-47098
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47098 affects the Linux kernel's hardware monitoring (hwmon) subsystem, specifically the lm90 driver. The vulnerability was discovered when an attempt was made to set the hysteresis value to MAX_LONG while the critical temperature limit was negative, leading to potential integer overflow/underflow conditions in hysteresis calculations. This issue was addressed in a fix that was committed to the Linux kernel (Kernel Commit).

Technical details

The vulnerability stems from incomplete protection against integer underflows in temperature calculations. While a previous commit (b50aa49638c7) had addressed several underflow situations when writing temperature limits, it missed the scenario involving hysteresis value settings. The fix implements clamp_val() to ensure the provided value can never overflow or underflow, specifically clamping values between -128000l and 255000l. The vulnerability has been assigned a CVSS v3 base score of 6.0, indicating moderate severity (Red Hat CVE).

Impact

The vulnerability could potentially lead to integer overflow or underflow conditions in the Linux kernel's hardware monitoring subsystem, specifically affecting temperature calculations in systems using the lm90 driver. This could result in incorrect temperature readings or improper thermal management (Red Hat CVE).

Exploitability

The vulnerability requires local access with high privileges to exploit. The attack complexity is rated as low, but privileged access is required, and no user interaction is needed for exploitation (Red Hat CVE).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that implements proper value clamping in the lm90 driver. Users should update their systems to a version that includes the fix. The patch specifically modifies the drivers/hwmon/lm90.c file to use clamp_val() instead of max() for value validation (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64597CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 06, 2026
CVE-2026-68480HIGH8.8
  • Linux Kernel logoLinux Kernel
  • rv
NoYesAug 06, 2026
CVE-2026-64598HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesAug 06, 2026
CVE-2026-64604HIGH7.7
  • Linux Kernel logoLinux Kernel
  • linux-hwe-5.15
NoYesAug 06, 2026
CVE-2026-64603NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.8
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management