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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-19 · Modified: 2026-10-30
- Aliases: UBUNTU-CVE-2026-64038, DEBIAN-CVE-2026-64038
- Record: https://cvemate.com/vulnerability/CVE-2026-64038 · JSON: https://cvemate.com/vulnerability/CVE-2026-64038/json

## Description

```text
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.
```

## Signals

- CVSS: 4.7 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.09%, percentile 0.424%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 145)

- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.192-1 \| \< 6.12.115-2 \| \< 7.0.12-1
- debian linux-6.12 (Debian): \< 6.12.115-2~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-151.151 \| \< 7.0.0-28.28
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76 \| \< 7.0.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1074.83 \| \< 7.0.0-1010.10
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 27)

- <https://git.kernel.org/stable/c/c98107817b0f6cdf51adc5e84e75c39ee25d8b28>
- <https://git.kernel.org/stable/c/479e297526aeb19c745eac5c1897f455f83dc5f8>
- <https://git.kernel.org/stable/c/b09a45601094c7f4ec4db8090b825fa61e169d93>
- <https://ubuntu.com/security/CVE-2026-64038>
- <https://www.cve.org/CVERecord?id=CVE-2026-64038>
- <https://git.kernel.org/linus/b09a45601094c7f4ec4db8090b825fa61e169d93>
- <https://ubuntu.com/security/notices/USN-8593-1>
- <https://ubuntu.com/security/notices/USN-8603-1>
- <https://ubuntu.com/security/notices/USN-8618-1>
- <https://ubuntu.com/security/notices/USN-8663-1>
- <https://ubuntu.com/security/notices/USN-8664-1>
- <https://ubuntu.com/security/notices/USN-8728-1>
- <https://ubuntu.com/security/notices/USN-8728-2>
- <https://ubuntu.com/security/notices/USN-8728-3>
- <https://security-tracker.debian.org/tracker/CVE-2026-64038>
- <https://git.kernel.org/stable/c/1fe96176636cb17906680c098688b144bd9c1c45>
- <https://git.kernel.org/stable/c/5c116abf208dd97c4ceb76c5c50c9bc34a017796>
- <https://git.kernel.org/stable/c/1decb2c1762f77910de787fbf9b3afb40cc1d646>
- <https://ubuntu.com/security/notices/USN-9173-1>
- <https://ubuntu.com/security/notices/USN-9175-1>

---

Data as of 2026-12-06T04:32:56.458Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
