CVE-2025-71111
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-71111 is a Time-of-Check to Time-of-Use (TOCTOU) race condition vulnerability in the Linux kernel's w83791d hardware monitoring (hwmon) driver. The flaw exists in the FAN_FROM_REG macro, which evaluates its arguments multiple times in lockless contexts involving shared driver data, potentially causing divide-by-zero kernel errors. It was published on January 14, 2026, and affects a wide range of Linux kernel versions from 2.6.18 through pre-patched stable releases across multiple branches. The vulnerability carries a CVSS v3.1 base score of 4.7 (Medium) (Feedly, kernel.org patches).

Technical details

The root cause is classified as CWE-367 (Time-of-check Time-of-use Race Condition). The FAN_FROM_REG macro in the w83791d hwmon driver evaluates its arguments multiple times; when invoked in lockless contexts where shared driver data can be concurrently modified, a race window opens between the check and use of a divisor value, potentially resulting in a divide-by-zero kernel panic. Additionally, the store_fan_div function performed a read-modify-write sequence outside the update lock, allowing inconsistent data to be used in calculations. The fix converts the macro to a static inline function (ensuring single argument evaluation) and moves the minimum limit calculation inside the update lock (Feedly). Exploitation requires local access, low privileges, and precise timing, making attack complexity high.

Impact

Successful exploitation results in a kernel divide-by-zero error, causing a kernel panic and system crash — a denial-of-service condition. There is no impact on confidentiality or integrity; only availability is affected. The vulnerability is limited to systems equipped with Winbond W83791D hardware monitoring chips, which are typically found in older server and embedded hardware platforms (Feedly).

Indicators of compromise

  • Logs: Unexpected kernel panic messages in /var/log/kern.log or dmesg output referencing divide-by-zero errors in the w83791d hwmon driver module.
  • Process/System: Sudden system reboots or kernel oops traces involving w83791d or hwmon subsystem stack frames.
  • Hardware: Presence of Winbond W83791D hardware monitoring chip (identifiable via sensors-detect or lspci/lsmod showing w83791d module loaded).

Mitigation and workarounds

Apply the appropriate patched Linux kernel version for your branch: before 5.10.248, before 5.15.198, before 6.1.160, before 6.6.120, before 6.12.64, or before 6.18.3. Patches are available via the stable kernel tree on git.kernel.org across multiple branches (kernel.org patches). Debian LTS users should apply the update referenced in DLA-4475-1, and Amazon Linux 2 users should apply ALAS2KERNEL-5.10-2026-113. As a temporary workaround where patching is not immediately possible, unloading the w83791d kernel module (rmmod w83791d) on systems where hardware monitoring is not critical will eliminate the attack surface.

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-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 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