CVE-2026-99718Linux
NVD
Vulnerability Summary
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.
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 & Patched Versions
- Linux >= 73bc1b885daeb684fbcd16cc4e979cac6a831b12 and < 31e2d1d0085ca261e42e9ecbbce200de1801d8e5
- Linux >= 73bc1b885daeb684fbcd16cc4e979cac6a831b12 and < d112d6e815ca4314eb3636f8b37cf0d84cd33a8b
- Linux >= 73bc1b885daeb684fbcd16cc4e979cac6a831b12 and < f27cb64b04af01370fbe2d23ba9aeb3401d6def8
- Linux >= 73bc1b885daeb684fbcd16cc4e979cac6a831b12 and < c7dcea6bdc6c36c649c1fdd29909b232bcac28c9
- Linux >= 73bc1b885daeb684fbcd16cc4e979cac6a831b12 and < 3f6bd7aeea5c3bd5ced9e23184155065f551ea96
- Linux >= 73bc1b885daeb684fbcd16cc4e979cac6a831b12 and < 61bc4514b8e99e9733c04de028885f6fc906d628
- Linux 5.18
- Linux 31e2d1d0085ca261e42e9ecbbce200de1801d8e5
- Linux d112d6e815ca4314eb3636f8b37cf0d84cd33a8b
- Linux f27cb64b04af01370fbe2d23ba9aeb3401d6def8
- Linux c7dcea6bdc6c36c649c1fdd29909b232bcac28c9
- Linux 3f6bd7aeea5c3bd5ced9e23184155065f551ea96
- Linux 61bc4514b8e99e9733c04de028885f6fc906d628
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 20, 2026Published
- Nov 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99718. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/31e2d1d0085ca261e42e9ecbbce200de1801d8e5
- Referencehttps://git.kernel.org/stable/c/3f6bd7aeea5c3bd5ced9e23184155065f551ea96
- Referencehttps://git.kernel.org/stable/c/61bc4514b8e99e9733c04de028885f6fc906d628
- Referencehttps://git.kernel.org/stable/c/c7dcea6bdc6c36c649c1fdd29909b232bcac28c9
- Referencehttps://git.kernel.org/stable/c/d112d6e815ca4314eb3636f8b37cf0d84cd33a8b
- Referencehttps://git.kernel.org/stable/c/f27cb64b04af01370fbe2d23ba9aeb3401d6def8
Data last checked: Nov 24, 2026 07:07 UTC