# CVE-2026-64038: hwmon: (lm90) Stop work before releasing hwmon device

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.11% (percentile 0, 2026-11-28)
- **CWE:** CWE-362
- **Published:** 2026-07-19T15:39:26.071Z
- **Modified:** 2026-10-30T13:19:30.120Z

## Who should check

- Anyone running Linux \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< 1decb2c1762f77910de787fbf9b3afb40cc1d646; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< 1fe96176636cb17906680c098688b144bd9c1c45; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< 5c116abf208dd97c4ceb76c5c50c9bc34a017796; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< c98107817b0f6cdf51adc5e84e75c39ee25d8b28; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< 479e297526aeb19c745eac5c1897f455f83dc5f8; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< b09a45601094c7f4ec4db8090b825fa61e169d93
- Anyone running Linux 6.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

hwmon: (lm90) Stop work before releasing hwmon device

Sashiko reports:

In lm90\_probe(), the devm action to cancel the alert\_work and report\_work
(lm90\_restore\_conf) is registered in lm90\_init\_client() before
devm\_hwmon\_device\_register\_with\_info() is called.

Because devm executes cleanup actions in reverse order during module
unbind or probe failure, the hwmon device is unregistered and freed first.

If lm90\_alert\_work() or lm90\_report\_alarms() runs in the window between
the hwmon device being freed and the delayed works being cancelled,
lm90\_update\_alarms() will dereference the freed data-\>hwmon\_dev here.

Fix the problem by canceling the workers separately after registering
the hwmon device and before registering the interrupt handler. This ensures
that the workers are canceled after interrupts are disabled and before
the hwmon device is released. Add "shutdown" flag to indicate that device
shutdown is in progress to prevent workers from being re-armed.

## Affected and fixed versions

- Linux: \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< 1decb2c1762f77910de787fbf9b3afb40cc1d646; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< 1fe96176636cb17906680c098688b144bd9c1c45; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< 5c116abf208dd97c4ceb76c5c50c9bc34a017796; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< c98107817b0f6cdf51adc5e84e75c39ee25d8b28; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< 479e297526aeb19c745eac5c1897f455f83dc5f8; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< b09a45601094c7f4ec4db8090b825fa61e169d93 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-64038.md
Affected: Linux >= f6d0775119fb905fb02eafa98d575cf8ee792d46, < 1decb2c1762f77910de787fbf9b3afb40cc1d646; >= f6d0775119fb905fb02eafa98d575cf8ee792d46, < 1fe96176636cb17906680c098688b144bd9c1c45; >= f6d0775119fb905fb02eafa98d575cf8ee792d46, < 5c116abf208dd97c4ceb76c5c50c9bc34a017796; >= f6d0775119fb905fb02eafa…
Fixed in: Linux 1decb2c1762f77910de787fbf9b3afb40cc1d646, Linux 1fe96176636cb17906680c098688b144bd9c1c45, Linux 5c116abf208dd97c4ceb76c5c50c9bc34a017796, Linux 479e297526aeb19c745eac5c1897f455f83dc5f8

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-64038 being exploited?

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

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

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< 1decb2c1762f77910de787fbf9b3afb40cc1d646; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< 1fe96176636cb17906680c098688b144bd9c1c45; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< 5c116abf208dd97c4ceb76c5c50c9bc34a017796; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< c98107817b0f6cdf51adc5e84e75c39ee25d8b28; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< 479e297526aeb19c745eac5c1897f455f83dc5f8; \>= f6d0775119fb905fb02eafa98d575cf8ee792d46, \< b09a45601094c7f4ec4db8090b825fa61e169d93; Linux 6.0.

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

Yes. Fixed in Linux 1decb2c1762f77910de787fbf9b3afb40cc1d646, Linux 1fe96176636cb17906680c098688b144bd9c1c45, Linux 5c116abf208dd97c4ceb76c5c50c9bc34a017796, Linux 479e297526aeb19c745eac5c1897f455f83dc5f8. No fix listed yet: follow the vendor advisory.

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

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

- patch: <https://git.kernel.org/stable/c/c98107817b0f6cdf51adc5e84e75c39ee25d8b28>
- patch: <https://git.kernel.org/stable/c/479e297526aeb19c745eac5c1897f455f83dc5f8>
- patch: <https://git.kernel.org/stable/c/b09a45601094c7f4ec4db8090b825fa61e169d93>
- other: <https://git.kernel.org/stable/c/1decb2c1762f77910de787fbf9b3afb40cc1d646>
- other: <https://git.kernel.org/stable/c/1fe96176636cb17906680c098688b144bd9c1c45>
- other: <https://git.kernel.org/stable/c/5c116abf208dd97c4ceb76c5c50c9bc34a017796>

## 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-64038>

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