---
title: "CVE-2021-47098"
canonical_url: "https://pkgseek.com/security/CVE-2021-47098"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-47098

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.

CVE-2021-47098 is rated MEDIUM, with 69 indexed affected package builds across 3 distributions.

- **Severity / Score**: MEDIUM
- **Affected builds**: 69
- **Affected distros**: 3
- **Distros with fixed_in**: Oracle Linux, Red Hat Enterprise Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 9 | bpftool | 7.3.0-427.42.1.el9_4 | 7.4.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-abi-stablelists | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-devel | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-devel-matched | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-modules | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-modules-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-modules-extra | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-debug-uki-virt | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-devel | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-devel-matched | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-doc | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-headers | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-modules | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-modules-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-modules-extra | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-tools | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-tools-libs | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | kernel-uki-virt | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | perf | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | python3-perf | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | rtla | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Oracle Linux | 9 | rv | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | bpftool | 7.3.0-427.42.1.el9_4 | 7.4.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-abi-stablelists | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-devel | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-devel-matched | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-modules | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-modules-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-modules-extra | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-uki-virt | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-devel | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-devel-matched | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-doc | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-headers | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-modules | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-modules-core | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-modules-extra | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-tools | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-tools-libs | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | kernel-uki-virt | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | perf | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | python3-perf | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | rtla | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Red Hat Enterprise Linux | 9.8 | rv | 5.14.0-427.42.1.el9_4 | 5.14.0-503.11.1.el9_5 |
| Ubuntu | focal | linux-buildinfo-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-headers-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-image-unsigned-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-modules-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-headers-5.6.0-1007 | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-tools-5.6.0-1007 | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-tools-common | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-tools-host | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-tools-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | jammy | linux-buildinfo-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-headers-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-image-unsigned-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-modules-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-oem-5.17-headers-5.17.0-1003 | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-oem-5.17-tools-5.17.0-1003 | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-oem-5.17-tools-host | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-tools-5.17.0-1003-oem | 5.17.0-1003.3 | — |
