PT-2026-152598

CVE-2026-99718

·

Published

2026-11-20

·

Updated

2026-11-20

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

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.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾