cbcvebase.
CVE-2025-71111
published 2026-01-14

CVE-2025-71111: In the Linux kernel, the following vulnerability has been resolved: hwmon: (w83791d) Convert macros to functions to avoid TOCTOU The macro FAN_FROM_REG…

PriorityP418medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
EPSS
0.09%
0.5th percentile
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.

Affected

59 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.162-1 (bookworm)linux 6.1.162-1 (bookworm)
debianlinux-6.1< linux 6.1.162-1 (bookworm)linux 6.1.162-1 (bookworm)
linuxlinux
linuxlinux>= 9873964d6eb24bd0205394f9b791de9eddbcb855 < 3dceb68f6ad33156032ef4da21a93d84059cca6d3dceb68f6ad33156032ef4da21a93d84059cca6d
linuxlinux>= 9873964d6eb24bd0205394f9b791de9eddbcb855 < bf5b03227f2e6d4360004886d268f9df8993ef8fbf5b03227f2e6d4360004886d268f9df8993ef8f
linuxlinux>= 9873964d6eb24bd0205394f9b791de9eddbcb855 < f2b579a0c37c0df19603d719894a942a295f634af2b579a0c37c0df19603d719894a942a295f634a
linuxlinux>= 9873964d6eb24bd0205394f9b791de9eddbcb855 < f94800fbc26ccf7c81eb791707b038a57aa39a18f94800fbc26ccf7c81eb791707b038a57aa39a18
linuxlinux>= 9873964d6eb24bd0205394f9b791de9eddbcb855 < a9fb6e8835a22f5796c1182ed612daed3fd273afa9fb6e8835a22f5796c1182ed612daed3fd273af
linuxlinux>= 9873964d6eb24bd0205394f9b791de9eddbcb855 < c8cf0c2bdcccc6634b6915ff793b844e12436680c8cf0c2bdcccc6634b6915ff793b844e12436680
linuxlinux>= 9873964d6eb24bd0205394f9b791de9eddbcb855 < 670d7ef945d3a84683594429aea6ab2cdfa5ceb4670d7ef945d3a84683594429aea6ab2cdfa5ceb4
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.249-15.10.249-1
linuxlinux_kernel>= 0 < 6.1.162-16.1.162-1
linuxlinux_kernel>= 0 < 6.12.69-16.12.69-1
linuxlinux_kernel>= 0 < 6.18.3-16.18.3-1
linuxlinux_kernel>= 0 < 5.15.0-173.1835.15.0-173.183
linuxlinux_kernel>= 2.6.18 < 5.10.2485.10.248
linuxlinux_kernel>= 2.6.18.1 < 5.10.2485.10.248
linuxlinux_kernel>= 5.11 < 5.15.1985.15.198
linuxlinux_kernel>= 5.11.0 < 5.15.1985.15.198
linuxlinux_kernel>= 5.16 < 6.1.1606.1.160
linuxlinux_kernel>= 5.16.0 < 6.1.1606.1.160
linuxlinux_kernel>= 6.13 < 6.18.36.18.3
linuxlinux_kernel>= 6.13.0 < 6.18.36.18.3

CVSS provenance

nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian4.7MEDIUM
vendor_redhat4.7MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.