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).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (Feedly). The EPSS score is approximately 0.018% (0.000180), reflecting very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. High attack complexity — requiring precise timing and specific hardware — significantly limits practical exploitability.

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

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.162-1

Fixed

sid

linux: 6.18.3-1

Fixed

trixie

linux: 6.12.69-1

Fixed

Ubuntu

Fixed

bionic (esm-infra)

linux

Affected

bionic (fips-updates)

linux-fips

Affected

bionic (fips)

linux-fips

Affected

devel

linux

Not Affected

focal

linux-azure-fde-5.15

Not Affected

focal (esm-infra)

linux

Affected

focal (fips-updates)

linux-fips

Affected

focal (fips)

linux-fips

Affected

RHEL / CentOS

Affected

RHEL 8

kernel-rt.src

Affected

RHEL 9

kernel-rt.src

Affected

RHEL 10

kernel.src

Affected

Source: This 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-99099NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-modules
NoYesOct 26, 2026
CVE-2026-99098NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug
NoYesOct 26, 2026
CVE-2026-99097NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-core
NoYesOct 26, 2026
CVE-2026-99096NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesOct 26, 2026
CVE-2026-99094NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-core
NoYesOct 26, 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

Additional Wiz resources

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