4.7

CVE-2025-71111: hwmon: (w83791d) Convert macros to functions to avoid TOCTOU

Modified
AliasesUBUNTU-CVE-2025-71111DEBIAN-CVE-2025-71111
Published 14-01-2026Last modified 19-10-2026

Vulnerability summary

CVE-2025-71111 is a medium (CVSS 4.7) vulnerability in linux. EPSS estimates a 0.10% chance of exploitation in the next 30 days, higher than 1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.7/10
010
Medium · v3.1 (NVD)
EPSS score
0.10%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 47 · Related 43

Timeline

  1. 14-01-2026
    PublishedVulnerability first disclosed.
  2. 19-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.10%

Chance of exploitation in the next 30 days

Percentile

1%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.10% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu156 products
  • linuxAll versions (No fix recorded) | < 5.15.0-173.183 | < 6.8.0-110.110 | < 6.17.0-22.22
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1103.110 | < 6.8.0-1052.55 | < 6.17.0-1012.12
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 9873964d6eb24bd0205394f9b791de9eddbcb855, < 3dceb68f6ad33156032ef4da21a93d84059cca6d | ≥ 9873964d6eb24bd0205394f9b791de9eddbcb855, < bf5b03227f2e6d4360004886d268f9df8993ef8f | ≥ 9873964d6eb24bd0205394f9b791de9eddbcb855, < f2b579a0c37c0df19603d719894a942a295f634a | ≥ 9873964d6eb24bd0205394f9b791de9eddbcb855, < f94800fbc26ccf7c81eb791707b038a57aa39a18 | ≥ 9873964d6eb24bd0205394f9b791de9eddbcb855, < a9fb6e8835a22f5796c1182ed612daed3fd273af | ≥ 9873964d6eb24bd0205394f9b791de9eddbcb855, < c8cf0c2bdcccc6634b6915ff793b844e12436680 | ≥ 9873964d6eb24bd0205394f9b791de9eddbcb855, < 670d7ef945d3a84683594429aea6ab2cdfa5ceb4 | 2.6.18
  • linux_kernel≥ 2.6.18.1, < 5.10.248 | ≥ 5.11, < 5.15.198 | ≥ 5.16, < 6.1.160 | ≥ 6.2, < 6.6.120 | ≥ 6.7, < 6.12.64 | ≥ 6.13, < 6.18.3 | 2.6.18 | 6.19:rc1 | 6.19:rc2 | 6.19:rc3 | 6.19:rc4 | 6.19:rc5 | 6.19:rc6 | 6.19:rc7 | 6.19:rc8
Debian1 product
  • linux< 6.1.162-1 | < 6.12.69-1 | < 6.18.3-1

3 vendors · 159 products

References

40 links
Show all 40 references