# CVE-2026-90311: thermal: hwmon: Remove hwmon class device along with its parent

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-28)
- **Published:** 2026-09-17T16:08:31.645Z
- **Modified:** 2026-10-30T13:20:49.410Z

## Who should check

- Anyone running Linux \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< e67dad2cff9e4fedce69e752d515ef651d745a90; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< df002834cfd880b800fa607135e4bb2e403ce187; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< 23094544b8e8c43909fd61ca8866ecfe38093ae8; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< 9b405b3e7e131ee85dd78b9cc951b41f0828a333; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< 4fa8915f40f744c6db2a3c25b2ae7d2dd64c77b4; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< 2b57e24d34b2dfc43c81942bb359d6315bf302fb
- Anyone running Linux 4.19

## 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.

## Affected and fixed versions

- Linux: \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< e67dad2cff9e4fedce69e752d515ef651d745a90; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< df002834cfd880b800fa607135e4bb2e403ce187; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< 23094544b8e8c43909fd61ca8866ecfe38093ae8; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< 9b405b3e7e131ee85dd78b9cc951b41f0828a333; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< 4fa8915f40f744c6db2a3c25b2ae7d2dd64c77b4; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< 2b57e24d34b2dfc43c81942bb359d6315bf302fb (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- Upgrade Linux to 2b57e24d34b2dfc43c81942bb359d6315bf302fb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90311. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90311.md
Affected: Linux >= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, < e67dad2cff9e4fedce69e752d515ef651d745a90; >= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, < df002834cfd880b800fa607135e4bb2e403ce187; >= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, < 23094544b8e8c43909fd61ca8866ecfe38093ae8; >= f6b6b52ef7a54160c0a4d2b…
Fixed in: Linux 23094544b8e8c43909fd61ca8866ecfe38093ae8, Linux 9b405b3e7e131ee85dd78b9cc951b41f0828a333, Linux 4fa8915f40f744c6db2a3c25b2ae7d2dd64c77b4, Linux 2b57e24d34b2dfc43c81942bb359d6315bf302fb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90311 being exploited?

There is no confirmed exploitation: CVE-2026-90311 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-90311?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-90311?

Linux \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< e67dad2cff9e4fedce69e752d515ef651d745a90; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< df002834cfd880b800fa607135e4bb2e403ce187; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< 23094544b8e8c43909fd61ca8866ecfe38093ae8; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< 9b405b3e7e131ee85dd78b9cc951b41f0828a333; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< 4fa8915f40f744c6db2a3c25b2ae7d2dd64c77b4; \>= f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5, \< 2b57e24d34b2dfc43c81942bb359d6315bf302fb; Linux 4.19.

### Is there a fix for CVE-2026-90311?

Yes. Fixed in Linux 23094544b8e8c43909fd61ca8866ecfe38093ae8, Linux 9b405b3e7e131ee85dd78b9cc951b41f0828a333, Linux 4fa8915f40f744c6db2a3c25b2ae7d2dd64c77b4, Linux 2b57e24d34b2dfc43c81942bb359d6315bf302fb. Upgrade Linux to 2b57e24d34b2dfc43c81942bb359d6315bf302fb or later.

### How do I check if I'm affected by CVE-2026-90311?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e67dad2cff9e4fedce69e752d515ef651d745a90>
- other: <https://git.kernel.org/stable/c/df002834cfd880b800fa607135e4bb2e403ce187>
- other: <https://git.kernel.org/stable/c/23094544b8e8c43909fd61ca8866ecfe38093ae8>
- other: <https://git.kernel.org/stable/c/9b405b3e7e131ee85dd78b9cc951b41f0828a333>
- other: <https://git.kernel.org/stable/c/4fa8915f40f744c6db2a3c25b2ae7d2dd64c77b4>
- other: <https://git.kernel.org/stable/c/2b57e24d34b2dfc43c81942bb359d6315bf302fb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90311>

HTML: <https://flawdb.com/CVE-2026-90311> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90311>
