CVE-2026-98198

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
06/10/2026
Last modified:
30/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> hwmon: (pwm-fan) Stop RPM timer before freeing tach data<br /> <br /> sample_timer() rearms the RPM timer and accesses the devm-managed<br /> ctx-&gt;tachs and ctx-&gt;pulses_per_revolution arrays. The cleanup action<br /> which stops the timer is registered before those arrays are allocated.<br /> <br /> Since devres releases entries in reverse order, driver detach can free<br /> the arrays before pwm_fan_cleanup() shuts down the timer. A timer expiry<br /> in that window accesses the freed tach data.<br /> <br /> With a KASAN kernel, a test-only kprobe delayed entry to<br /> pwm_fan_cleanup() while normal sysfs unbind ran. Each of three runs<br /> reported three four-byte reads and two four-byte writes in sample_timer()<br /> after its backing devm allocations had been freed. The helper did not<br /> invoke the timer callback, cleanup actions or free functions.<br /> <br /> With the fix, three matching unbind runs completed without KASAN, BUG,<br /> WARNING, Oops or panic. Instrumentation confirmed that timer retirement<br /> completed before the first timer backing allocation was released.<br /> <br /> Split timer retirement from the power cleanup and register its devres<br /> action after the timer backing data and IRQ actions are installed. This<br /> preserves the early power rollback action while ensuring the timer is<br /> retired before its backing data is released. Use timer_shutdown_sync()<br /> because the callback can rearm itself.

Impact