CVE-2026-90311
thermal: hwmon: Remove hwmon class device along with its parent
Check your servers for CVE-2026-90311
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-90311 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:
thermal: hwmon: Remove hwmon class device along with its parent
The current code creates one hwmon device per thermal zone type and that device is registered under the first thermal zone of the given type.
That turns out to be problematic when the thermal zone holding the hwmon device is removed.
For example, say that there are two ACPI thermal zones on a system
/sys/devices/virtual/thermal/thermal_zone0/ /sys/devices/virtual/thermal/thermal_zone1/
The current code registers a hwmon class device for thermal_zone0 only:
/sys/devices/virtual/thermal/thermal_zone0/hwmon0/
because the type is "acpitz" for both of them, but it adds a sysfs attribute that belongs to thermal_zone1 under it:
/sys/devices/virtual/thermal/thermal_zone0/hwmon0/temp2_input
There is also
/sys/devices/virtual/thermal/thermal_zone0/hwmon0/temp1_input
which belongs to thermal_zone0.
When thermal_zone0 is removed, say because the ACPI thermal driver is unbound from the underlying platform device, thermal_remove_hwmon_sysfs() skips the removal of hwmon0 because of the temp2_input attribute belonging to thermal_zone1 which effectively prevents thermal_zone0 removal from making progress.
Address this by making thermal_remove_hwmon_sysfs() remove the entire hwmon class device interface for the given thermal zone type when the thermal zone device holding it is removed.
To prevent races with thermal_add_hwmon_sysfs() that may interfere with this, carry out the entire addition and removal of hwmon sysfs interfaces for thermal zones under thermal_hwmon_list_lock.
Also adjust the layout of the labels in thermal_add_hwmon_sysfs() to the current kernel coding style to align with the new "unlock" label.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, before e67dad2cff9e4fedce69e752d515ef651d745a90 affected from f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, before df002834cfd880b800fa607135e4bb2e403ce187 affected from f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, before 23094544b8e8c43909fd61ca8866ecfe38093ae8 affected from f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, before 9b405b3e7e131ee85dd78b9cc951b41f0828a333 affected from f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, before 4fa8915f40f744c6db2a3c25b2ae7d2dd64c77b4 affected from f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, before 2b57e24d34b2dfc43c81942bb359d6315bf302fb
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 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.57 up to and including 6.18.* unaffected from 7.2.6 up to and including 7.2.* unaffected 7.3 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-90311 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90311
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-90311
trivy image --scanners vuln IMAGE | grep CVE-2026-90311
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/e67dad2cff9e4fedce69e752d515ef651d745a90 git.kernel.org
- https://git.kernel.org/stable/c/df002834cfd880b800fa607135e4bb2e403ce187 git.kernel.org
- https://git.kernel.org/stable/c/23094544b8e8c43909fd61ca8866ecfe38093ae8 git.kernel.org
- https://git.kernel.org/stable/c/9b405b3e7e131ee85dd78b9cc951b41f0828a333 git.kernel.org
- https://git.kernel.org/stable/c/4fa8915f40f744c6db2a3c25b2ae7d2dd64c77b4 git.kernel.org
- https://git.kernel.org/stable/c/2b57e24d34b2dfc43c81942bb359d6315bf302fb git.kernel.org
Source: the record CVE-2026-90311 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