CVE-2025-71111
publishedhwmon: (w83791d) Convert macros to functions to avoid TOCTOU
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9873964d6eb24bd0205394f9b791de9eddbcb855 to < 3dceb68f6ad33156032ef4da21a93d84059cca6d · 9873964d6eb24bd0205394f9b791de9eddbcb855 to < bf5b03227f2e6d4360004886d268f9df8993ef8f · 9873964d6eb24bd0205394f9b791de9eddbcb855 to < f2b579a0c37c0df19603d719894a942a295f634a · 9873964d6eb24bd0205394f9b791de9eddbcb855 to < f94800fbc26ccf7c81eb791707b038a57aa39a18 · 9873964d6eb24bd0205394f9b791de9eddbcb855 to < a9fb6e8835a22f5796c1182ed612daed3fd273af · 9873964d6eb24bd0205394f9b791de9eddbcb855 to < c8cf0c2bdcccc6634b6915ff793b844e12436680 · 9873964d6eb24bd0205394f9b791de9eddbcb855 to < 670d7ef945d3a84683594429aea6ab2cdfa5ceb4 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.18 (affected) · 0 to < 2.6.18 (unaffected · semver) · 5.10.248 through 5.10.* (unaffected · semver) · 5.15.198 through 5.15.* (unaffected · semver) · 6.1.160 through 6.1.* (unaffected · semver) · 6.6.120 through 6.6.* (unaffected · semver) · 6.12.64 through 6.12.* (unaffected · semver) · 6.18.3 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2026-113 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.162-1 | DSA-6127-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Debian | bullseye | linux | Advisory build | 5.10.249-1 | DLA-4475-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.162-1~deb11u1 | DLA-4476-1 |
| Debian | trixie | linux | Advisory build | 6.12.69-1 | DSA-6126-1 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-318.199.3.2.el8uek | ELSA-2026-50145 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el9uek | ELSA-2026-50145 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el9uek | ELSA-2026-50145 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el9uek | ELSA-2026-50145 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el9uek | ELSA-2026-50145 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-318.199.3.2.el9uek | ELSA-2026-50145 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el9uek | ELSA-2026-50145 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-318.199.3.2.el9uek | ELSA-2026-50145 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-318.199.3.2.el9uek | ELSA-2026-50145 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: hwmon: (w83791d) Convert macros to functions to avoid TOCTOU The macro FAN_FROM_REG evaluates its arguments multiple times. When used in lockless contexts involving shared driver data, this leads to Time-of-Check to Time-of-Use (TOCTOU) race conditions, potentially causing divide-by-zero errors. Convert the macro to a static function. This guarantees that arguments are evaluated only once (pass-by-value), preventing the race conditions. Additionally, in store_fan_div, move the calculation of the minimum limit inside the update lock. This ensures that the read-modify-write sequence operates on consistent data. Adhere to the principle of minimal changes by only converting macros that evaluate arguments multiple times and are used in lockless contexts.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9873964d6eb24bd0205394f9b791de9eddbcb855 to < 3dceb68f6ad33156032ef4da21a93d84059cca6d (affected · git)9873964d6eb24bd0205394f9b791de9eddbcb855 to < bf5b03227f2e6d4360004886d268f9df8993ef8f (affected · git)9873964d6eb24bd0205394f9b791de9eddbcb855 to < f2b579a0c37c0df19603d719894a942a295f634a (affected · git)9873964d6eb24bd0205394f9b791de9eddbcb855 to < f94800fbc26ccf7c81eb791707b038a57aa39a18 (affected · git)9873964d6eb24bd0205394f9b791de9eddbcb855 to < a9fb6e8835a22f5796c1182ed612daed3fd273af (affected · git)9873964d6eb24bd0205394f9b791de9eddbcb855 to < c8cf0c2bdcccc6634b6915ff793b844e12436680 (affected · git)9873964d6eb24bd0205394f9b791de9eddbcb855 to < 670d7ef945d3a84683594429aea6ab2cdfa5ceb4 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.18 (affected)0 to < 2.6.18 (unaffected · semver)5.10.248 through 5.10.* (unaffected · semver)5.15.198 through 5.15.* (unaffected · semver)6.1.160 through 6.1.* (unaffected · semver)6.6.120 through 6.6.* (unaffected · semver)6.12.64 through 6.12.* (unaffected · semver)6.18.3 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
7- https://git.kernel.org/stable/c/3dceb68f6ad33156032ef4da21a93d84059cca6d
- https://git.kernel.org/stable/c/670d7ef945d3a84683594429aea6ab2cdfa5ceb4
- https://git.kernel.org/stable/c/a9fb6e8835a22f5796c1182ed612daed3fd273af
- https://git.kernel.org/stable/c/bf5b03227f2e6d4360004886d268f9df8993ef8f
- https://git.kernel.org/stable/c/c8cf0c2bdcccc6634b6915ff793b844e12436680
- https://git.kernel.org/stable/c/f2b579a0c37c0df19603d719894a942a295f634a
- https://git.kernel.org/stable/c/f94800fbc26ccf7c81eb791707b038a57aa39a18
Provider assertions
2Linux · cna
hwmon: (w83791d) Convert macros to functions to avoid TOCTOU
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8396906d540613c2753d103382cfd3737886e44360e8c159d3b307545f73dceb
- Ingested
- 19 Oct 2026, 18:27:05 UTC
- Source record
- Official CVE record