CVE-2026-64038
hwmon: (lm90) Stop work before releasing hwmon device
Check your servers for CVE-2026-64038
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64038 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.11%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 0.43% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f6d0775119fb905fb02eafa98d575cf8ee792d46, before 1decb2c1762f77910de787fbf9b3afb40cc1d646 affected from f6d0775119fb905fb02eafa98d575cf8ee792d46, before 1fe96176636cb17906680c098688b144bd9c1c45 affected from f6d0775119fb905fb02eafa98d575cf8ee792d46, before 5c116abf208dd97c4ceb76c5c50c9bc34a017796 affected from f6d0775119fb905fb02eafa98d575cf8ee792d46, before c98107817b0f6cdf51adc5e84e75c39ee25d8b28 affected from f6d0775119fb905fb02eafa98d575cf8ee792d46, before 479e297526aeb19c745eac5c1897f455f83dc5f8 affected from f6d0775119fb905fb02eafa98d575cf8ee792d46, before b09a45601094c7f4ec4db8090b825fa61e169d93
Other versions: unaffected
|
| Linux |
affected 6.0 unaffected before 6.0 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.114 up to and including 6.12.* unaffected from 6.18.34 up to and including 6.18.* unaffected from 7.0.11 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64038 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64038
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-64038
trivy image --scanners vuln IMAGE | grep CVE-2026-64038
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/1decb2c1762f77910de787fbf9b3afb40cc1d646 git.kernel.org
- https://git.kernel.org/stable/c/1fe96176636cb17906680c098688b144bd9c1c45 git.kernel.org
- https://git.kernel.org/stable/c/5c116abf208dd97c4ceb76c5c50c9bc34a017796 git.kernel.org
- https://git.kernel.org/stable/c/c98107817b0f6cdf51adc5e84e75c39ee25d8b28 git.kernel.org
- https://git.kernel.org/stable/c/479e297526aeb19c745eac5c1897f455f83dc5f8 git.kernel.org
- https://git.kernel.org/stable/c/b09a45601094c7f4ec4db8090b825fa61e169d93 git.kernel.org
Source: the record CVE-2026-64038 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse