# CVE-2026-98198: hwmon: (pwm-fan) Stop RPM timer before freeing tach data

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-10-06T08:44:36.944Z
- **Modified:** 2026-10-30T13:21:12.060Z

## Who should check

- Anyone running Linux \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< 6f890d1fe8325ac8330473428b9a9d6526de1b32; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< 7743183d8b0f6ba88738805c824a255baae674b9; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< d073d306e587c1f35aaf9c07c42e54a3d5895d8f; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< 1e824fdb14a187ce56697e803b02b1e86243a755; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< a5ce3fe5335a24d0220958c6866830a6d5fa1cc0; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< b48339b0a577783e4590a69e4cd2f2760ce33154; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< 26d5ff79768548efb1e604bb6e8697c101e06269
- Anyone running Linux 5.12

## Description

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.

## Affected and fixed versions

- Linux: \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< 6f890d1fe8325ac8330473428b9a9d6526de1b32; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< 7743183d8b0f6ba88738805c824a255baae674b9; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< d073d306e587c1f35aaf9c07c42e54a3d5895d8f; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< 1e824fdb14a187ce56697e803b02b1e86243a755; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< a5ce3fe5335a24d0220958c6866830a6d5fa1cc0; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< b48339b0a577783e4590a69e4cd2f2760ce33154; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< 26d5ff79768548efb1e604bb6e8697c101e06269 (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- Upgrade Linux to 26d5ff79768548efb1e604bb6e8697c101e06269 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98198. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98198.md
Affected: Linux >= 01695410d4529e38fea6159fa9f1260c598290b0, < 6f890d1fe8325ac8330473428b9a9d6526de1b32; >= 01695410d4529e38fea6159fa9f1260c598290b0, < 7743183d8b0f6ba88738805c824a255baae674b9; >= 01695410d4529e38fea6159fa9f1260c598290b0, < d073d306e587c1f35aaf9c07c42e54a3d5895d8f; >= 01695410d4529e38fea6159…
Fixed in: Linux 6f890d1fe8325ac8330473428b9a9d6526de1b32, Linux 7743183d8b0f6ba88738805c824a255baae674b9, Linux 1e824fdb14a187ce56697e803b02b1e86243a755, Linux 26d5ff79768548efb1e604bb6e8697c101e06269

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98198 being exploited?

There is no confirmed exploitation: CVE-2026-98198 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98198?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98198?

Linux \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< 6f890d1fe8325ac8330473428b9a9d6526de1b32; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< 7743183d8b0f6ba88738805c824a255baae674b9; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< d073d306e587c1f35aaf9c07c42e54a3d5895d8f; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< 1e824fdb14a187ce56697e803b02b1e86243a755; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< a5ce3fe5335a24d0220958c6866830a6d5fa1cc0; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< b48339b0a577783e4590a69e4cd2f2760ce33154; \>= 01695410d4529e38fea6159fa9f1260c598290b0, \< 26d5ff79768548efb1e604bb6e8697c101e06269; Linux 5.12.

### Is there a fix for CVE-2026-98198?

Yes. Fixed in Linux 6f890d1fe8325ac8330473428b9a9d6526de1b32, Linux 7743183d8b0f6ba88738805c824a255baae674b9, Linux 1e824fdb14a187ce56697e803b02b1e86243a755, Linux 26d5ff79768548efb1e604bb6e8697c101e06269. Upgrade Linux to 26d5ff79768548efb1e604bb6e8697c101e06269 or later.

### How do I check if I'm affected by CVE-2026-98198?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6f890d1fe8325ac8330473428b9a9d6526de1b32>
- other: <https://git.kernel.org/stable/c/7743183d8b0f6ba88738805c824a255baae674b9>
- other: <https://git.kernel.org/stable/c/d073d306e587c1f35aaf9c07c42e54a3d5895d8f>
- other: <https://git.kernel.org/stable/c/1e824fdb14a187ce56697e803b02b1e86243a755>
- other: <https://git.kernel.org/stable/c/a5ce3fe5335a24d0220958c6866830a6d5fa1cc0>
- other: <https://git.kernel.org/stable/c/b48339b0a577783e4590a69e4cd2f2760ce33154>
- other: <https://git.kernel.org/stable/c/26d5ff79768548efb1e604bb6e8697c101e06269>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98198>

HTML: <https://flawdb.com/CVE-2026-98198> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98198>
