Menu

Star on GitHub · 3.2k

CVE-2025-71111

4.7 · MEDIUM

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.

Published Jan 14, 2026CWE-367EPSS 0.10%

Overview

CVE-2025-71111 is a medium-severity vulnerability. It was published on January 14, 2026 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

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

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-71111?

CVE-2025-71111 is a medium-severity vulnerability. It was published on January 14, 2026 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2025-71111?

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-71111?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-71111?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-71111 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2025

View all