VDB

CVE-2026-90311

CVE-2026-90311 PUBLISHED

thermal: hwmon: Remove hwmon class device along with its parent

Reported by linux · Published September 17, 2026

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.

EPSS 0.22% · 11.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxe67dad2cff9e4fedce69e752d515ef651d745a90, df002834cfd880b800fa607135e4bb2e403ce187, 9b405b3e7e131ee85dd78b9cc951b41f0828a333, 4fa8915f40f744c6db2a3c25b2ae7d2dd64c77b4, 2b57e24d34b2dfc43c81942bb359d6315bf302fb, 23094544b8e8c43909fd61ca8866ecfe38093ae8

Risk scores

EPSS Score
0.22%
11.9th percentile

Affected products

VendorProductVersions
LinuxLinuxf6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5
LinuxLinux4.19, 0, 6.1.191
LinuxLinux7.3, 0, 6.1.191
linuxlinux_kernel4.19, 4.19, 4.19

Timeline

  • Sep 17, 2026 Coalition ESS Score
  • Sep 17, 2026 CVE Published
  • Sep 18, 2026 EPSS Score (13 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-90311
vulnetix vdb fixes CVE-2026-90311

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-90311/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›