CVE-2026-64038·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.11
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.21% — higher than 10% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.11
Fixed in: 7.0.11
How to fix this CVE
Update your Linux kernel to version 7.0.11 or later to resolve a race condition in the lm90 hardware monitoring driver that can cause a use-after-free vulnerability. The fix ensures worker threads are properly canceled before the hwmon device is released, preventing kernel memory access violations during module unload or probe failures. Apply the update through your distribution's package manager and reboot the system.
sudo dnf upgrade kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r (vulnerable if output shows 6.19.x through 7.0.10)
- Verify lm90 module is loaded: lsmod | grep lm90 (if output is empty, driver is not in use on this system)
- Check for hwmon devices: ls -la /sys/class/hwmon/ (shows if lm90 temperature sensor is active)
- Confirm fix installation: uname -r should show 7.0.11 or later after reboot; verify with dmesg | grep -i 'lm90' for driver initialization messages
FAQ
What is CVE-2026-64038?
A use-after-free race condition in the Linux kernel's lm90 hardware monitoring driver where alert work threads can access freed memory if they execute between device unregistration and thread cancellation. This occurs during module unload or probe failure scenarios.
Is CVE-2026-64038 being actively exploited?
No, there is no evidence of active exploitation or public exploits available for this vulnerability. It requires local access and specific timing conditions to trigger.
What versions of Kernel are affected by CVE-2026-64038?
Linux kernel versions 6.19 through 7.0.10 are affected. Version 7.0.11 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-64038?
Run 'uname -r' and compare the output against affected versions 6.19-7.0.10. If your kernel version falls within this range and lm90 module is loaded (check with 'lsmod | grep lm90'), your system is vulnerable.
Does Defensia detect CVE-2026-64038?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-64038 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1decb2c1762f77910de787fbf9b3afb40cc1d646
- https://git.kernel.org/stable/c/1fe96176636cb17906680c098688b144bd9c1c45
- https://git.kernel.org/stable/c/479e297526aeb19c745eac5c1897f455f83dc5f8
- https://git.kernel.org/stable/c/5c116abf208dd97c4ceb76c5c50c9bc34a017796
- https://git.kernel.org/stable/c/b09a45601094c7f4ec4db8090b825fa61e169d93
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64038. Free for 1 server.
Get started free