# CVE-2026-80660: hwmon: (occ) unregister sysfs devices outside occ lock

> 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-26)
- **Published:** 2026-08-28T06:49:04.992Z
- **Modified:** 2026-08-28T08:16:51.160Z

## Who should check

- Anyone running Linux \>= 849b0156d9960da628a06756bb920d9571c15e66, \< 2a4c80ff3571498ec6a916273304b6650026b1b0; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< e7fd81e9fb1fe476d2131fec66c1138457810ed4; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< 2092952f22a7da98e76e84139ae202b1fc7ba899; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< f0aad157576da199c146c1bb266442befa7912ca; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< 7ee43ec8e6774774abbe9dc3027225e01bc964a5; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< e31408734332b8cc611342cdaaab6ba492180156; bc8a32726774286325b0cb0daab55b682cafc1ef; \>= 5.15.216, \< 5.16
- Anyone running Linux 5.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

hwmon: (occ) unregister sysfs devices outside occ lock

occ\_active(false) and occ\_shutdown() unregister sysfs-backed devices while
occ-\>lock is held.  hwmon\_device\_unregister() and sysfs\_remove\_group() can
wait for active sysfs callbacks to drain, and those callbacks can enter the
OCC update path and try to take occ-\>lock again.  That gives the unregister
paths the lock ordering occ-\>lock -\> sysfs callback drain, while a callback
has the opposite edge sysfs callback -\> occ-\>lock.

This issue was found by our static analysis tool and then manually
reviewed against the current tree.

The grounded PoC kept the real unregister and callback carrier:

  occ\_shutdown()
  hwmon\_device\_unregister()
  occ\_show\_temp\_1()
  occ\_update\_response()

Lockdep reported the circular dependency with occ\_shutdown() already
holding the OCC mutex and hwmon\_device\_unregister() waiting on the sysfs
side:

  WARNING: possible circular locking dependency detected
  ... (sysfs\_lock) ... at: hwmon\_device\_unregister+0x12/0x30 \[vuln\_msv\]
  ... (&test\_occ.lock) ... at: occ\_shutdown.constprop.0+0xe/0x40 \[vuln\_msv\]
  occ\_update\_response.isra.0+0xb/0x20 \[vuln\_msv\]
  occ\_show\_temp\_1.constprop.0.isra.0+0x23/0x40 \[vuln\_msv\]
  \*\*\* DEADLOCK \*\*\*

Serialize hwmon registration and removal with a separate hwmon\_lock.
Under that lock, detach occ-\>hwmon and update occ-\>active while occ-\>lock
is held so concurrent OCC state changes still see a stable state, then
drop occ-\>lock before calling hwmon\_device\_unregister().  Remove the
driver sysfs group before taking occ-\>lock in occ\_shutdown(), so draining
the driver attributes cannot wait while the OCC mutex is held.  Also make
OCC update callbacks return -ENODEV after deactivation, so callbacks that
already passed sysfs active protection do not poll the hardware after
teardown has detached the hwmon device.

## Affected and fixed versions

- Linux: \>= 849b0156d9960da628a06756bb920d9571c15e66, \< 2a4c80ff3571498ec6a916273304b6650026b1b0; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< e7fd81e9fb1fe476d2131fec66c1138457810ed4; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< 2092952f22a7da98e76e84139ae202b1fc7ba899; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< f0aad157576da199c146c1bb266442befa7912ca; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< 7ee43ec8e6774774abbe9dc3027225e01bc964a5; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< e31408734332b8cc611342cdaaab6ba492180156; bc8a32726774286325b0cb0daab55b682cafc1ef; \>= 5.15.216, \< 5.16 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 5.16 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-80660. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80660.md
Affected: Linux >= 849b0156d9960da628a06756bb920d9571c15e66, < 2a4c80ff3571498ec6a916273304b6650026b1b0; >= 849b0156d9960da628a06756bb920d9571c15e66, < e7fd81e9fb1fe476d2131fec66c1138457810ed4; >= 849b0156d9960da628a06756bb920d9571c15e66, < 2092952f22a7da98e76e84139ae202b1fc7ba899; >= 849b0156d9960da628a0675…
Fixed in: Linux 2a4c80ff3571498ec6a916273304b6650026b1b0, Linux 2092952f22a7da98e76e84139ae202b1fc7ba899, Linux 7ee43ec8e6774774abbe9dc3027225e01bc964a5, Linux 5.16

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-80660 being exploited?

There is no confirmed exploitation: CVE-2026-80660 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-26).

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

It has no CVSS score yet. Unknown.

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

Linux \>= 849b0156d9960da628a06756bb920d9571c15e66, \< 2a4c80ff3571498ec6a916273304b6650026b1b0; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< e7fd81e9fb1fe476d2131fec66c1138457810ed4; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< 2092952f22a7da98e76e84139ae202b1fc7ba899; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< f0aad157576da199c146c1bb266442befa7912ca; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< 7ee43ec8e6774774abbe9dc3027225e01bc964a5; \>= 849b0156d9960da628a06756bb920d9571c15e66, \< e31408734332b8cc611342cdaaab6ba492180156; bc8a32726774286325b0cb0daab55b682cafc1ef; \>= 5.15.216, \< 5.16; Linux 5.19.

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

Yes. Fixed in Linux 2a4c80ff3571498ec6a916273304b6650026b1b0, Linux 2092952f22a7da98e76e84139ae202b1fc7ba899, Linux 7ee43ec8e6774774abbe9dc3027225e01bc964a5, Linux 5.16. Upgrade Linux to 5.16 or later.

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

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/2a4c80ff3571498ec6a916273304b6650026b1b0>
- other: <https://git.kernel.org/stable/c/e7fd81e9fb1fe476d2131fec66c1138457810ed4>
- other: <https://git.kernel.org/stable/c/2092952f22a7da98e76e84139ae202b1fc7ba899>
- other: <https://git.kernel.org/stable/c/f0aad157576da199c146c1bb266442befa7912ca>
- other: <https://git.kernel.org/stable/c/7ee43ec8e6774774abbe9dc3027225e01bc964a5>
- other: <https://git.kernel.org/stable/c/e31408734332b8cc611342cdaaab6ba492180156>

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

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