CVE-2026-98198hwmon: (pwm-fan) Stop RPM timer before freeing tach data
Updated under an hour ago ()
Does this affect you?
It affects Linux. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
In the Linux kernel, the following vulnerability has been resolved: hwmon: (pwm-fan) Stop RPM timer before freeing tach data sample_timer() rearms the RPM timer and accesses the devm-managed ctx->tachs and ctx->pulses_per_revolution arrays. The cleanup action which stops the timer is registered before those arrays are allocated. Since devres releases entries in reverse order, driver detach can free the arrays before pwm_fan_cleanup() shuts down the timer. A timer expiry in that window accesses the freed tach data. With a KASAN kernel, a test-only kprobe delayed entry to pwm_fan_cleanup() while normal sysfs unbind ran. Each of three runs reported three four-byte reads and two four-byte writes in sample_timer() after its backing devm allocations had been freed. The helper did not invoke the timer callback, cleanup actions or free functions. With the fix, three matching unbind runs completed without KASAN, BUG, WARNING, Oops or panic. Instrumentation confirmed that timer retirement completed before the first timer backing allocation was released. Split timer retirement from the power cleanup and register its devres action after the timer backing data and IRQ actions are installed. This preserves the early power rollback action while ensuring the timer is retired before its backing data is released. Use timer_shutdown_sync() because the callback can rearm itself.
- CVSS
- Not yet scored
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Received
- Record last updated
- Oct 6, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | 01695410d4529e38fea6159fa9f1260c598290b0 builds before 1e824fdb14a187ce56697e803b02b1e86243a755; from 01695410d4529e38fea6159fa9f1260c598290b0 before a5ce3fe5335a24d0220958c6866830a6d5fa1cc0; from 01695410d4529e38fea6159fa9f1260c598290b0 before b48339b0a577783e4590a69e4cd2f2760ce33154; 01695410d4529e38fea6159fa9f1260c598290b0 builds before 26d5ff79768548efb1e604bb6e8697c101e06269 | CNA record |
References
- https://git.kernel.org/stable/c/1e824fdb14a187ce56697e803b02b1e86243a755
- https://git.kernel.org/stable/c/a5ce3fe5335a24d0220958c6866830a6d5fa1cc0
- https://git.kernel.org/stable/c/b48339b0a577783e4590a69e4cd2f2760ce33154
- https://git.kernel.org/stable/c/26d5ff79768548efb1e604bb6e8697c101e06269
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.