# CVE-2026-99718: hwmon: (peci/dimmtemp) Fix devres leak and UAF on concurrent unbind

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **Published:** 2026-11-20T05:50:56.106Z
- **Modified:** 2026-11-23T08:18:12.463Z

## Who should check

- Anyone running Linux \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< 31e2d1d0085ca261e42e9ecbbce200de1801d8e5; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< d112d6e815ca4314eb3636f8b37cf0d84cd33a8b; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< f27cb64b04af01370fbe2d23ba9aeb3401d6def8; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< c7dcea6bdc6c36c649c1fdd29909b232bcac28c9; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< 3f6bd7aeea5c3bd5ced9e23184155065f551ea96; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< 61bc4514b8e99e9733c04de028885f6fc906d628
- Anyone running Linux 5.18

## Description

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

hwmon: (peci/dimmtemp) Fix devres leak and UAF on concurrent unbind

When a peci\_dimmtemp device is unbound concurrently with its delayed
initialization work (detect\_work), newly allocated devm resources and
the hwmon device are leaked, leading to a use-after-free when reading
the lingering hwmon sysfs attributes.

In peci\_dimmtemp\_probe(), detect\_work is registered for cancellation via
devm\_delayed\_work\_autocancel(). During driver detach, devres\_release\_all()
first moves all existing entries from dev-\>devres\_head onto a local todo
list before invoking their release callbacks in reverse order. If
create\_dimm\_temp\_info\_delayed() is already running when
devm\_delayed\_work\_drop() calls cancel\_delayed\_work\_sync(),
create\_dimm\_temp\_info() can allocate dimmtemp\_label strings via
devm\_kzalloc()/devm\_kasprintf() and register the hwmon device via
devm\_hwmon\_device\_register\_with\_info(), appending new devres entries to
the now-empty dev-\>devres\_head. Once the work finishes,
devres\_release\_all() frees priv and priv-\>name from the local todo list
without re-evaluating dev-\>devres\_head, leaving the late devres
allocations and registered hwmon device behind with a dangling priv
pointer.

Cancel detect\_work synchronously in a driver .remove() callback instead
of relying on devm\_delayed\_work\_autocancel() so that the work is fully
drained before devres\_release\_all() detaches dev-\>devres\_head, allowing
any devm resources registered by the delayed work to be released in
proper reverse order. Also only schedule detect\_work when
check\_populated\_dimms() returns -EAGAIN so that probe failure paths do
not leave delayed work pending.

## Affected and fixed versions

- Linux: \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< 31e2d1d0085ca261e42e9ecbbce200de1801d8e5; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< d112d6e815ca4314eb3636f8b37cf0d84cd33a8b; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< f27cb64b04af01370fbe2d23ba9aeb3401d6def8; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< c7dcea6bdc6c36c649c1fdd29909b232bcac28c9; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< 3f6bd7aeea5c3bd5ced9e23184155065f551ea96; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< 61bc4514b8e99e9733c04de028885f6fc906d628 (cvelist)
- Linux: 5.18 (cvelist)

## Technologies

Linux kernel

## Mitigation

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

Details: https://flawdb.com/CVE-2026-99718.md
Affected: Linux >= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, < 31e2d1d0085ca261e42e9ecbbce200de1801d8e5; >= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, < d112d6e815ca4314eb3636f8b37cf0d84cd33a8b; >= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, < f27cb64b04af01370fbe2d23ba9aeb3401d6def8; >= 73bc1b885daeb684fbcd16c…
Fixed in: Linux 31e2d1d0085ca261e42e9ecbbce200de1801d8e5, Linux 3f6bd7aeea5c3bd5ced9e23184155065f551ea96, Linux 61bc4514b8e99e9733c04de028885f6fc906d628

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< 31e2d1d0085ca261e42e9ecbbce200de1801d8e5; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< d112d6e815ca4314eb3636f8b37cf0d84cd33a8b; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< f27cb64b04af01370fbe2d23ba9aeb3401d6def8; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< c7dcea6bdc6c36c649c1fdd29909b232bcac28c9; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< 3f6bd7aeea5c3bd5ced9e23184155065f551ea96; \>= 73bc1b885daeb684fbcd16cc4e979cac6a831b12, \< 61bc4514b8e99e9733c04de028885f6fc906d628; Linux 5.18.

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

Yes. Fixed in Linux 31e2d1d0085ca261e42e9ecbbce200de1801d8e5, Linux 3f6bd7aeea5c3bd5ced9e23184155065f551ea96, Linux 61bc4514b8e99e9733c04de028885f6fc906d628. Upgrade Linux to 61bc4514b8e99e9733c04de028885f6fc906d628 or later.

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

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/31e2d1d0085ca261e42e9ecbbce200de1801d8e5>
- other: <https://git.kernel.org/stable/c/d112d6e815ca4314eb3636f8b37cf0d84cd33a8b>
- other: <https://git.kernel.org/stable/c/f27cb64b04af01370fbe2d23ba9aeb3401d6def8>
- other: <https://git.kernel.org/stable/c/c7dcea6bdc6c36c649c1fdd29909b232bcac28c9>
- other: <https://git.kernel.org/stable/c/3f6bd7aeea5c3bd5ced9e23184155065f551ea96>
- other: <https://git.kernel.org/stable/c/61bc4514b8e99e9733c04de028885f6fc906d628>

## 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-99718>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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