PT-2026-166832
CVE-2026-142977
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo 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:
w1: netlink: drop the slave after the bus is unlocked
w1 process cb() executes the commands of a netlink message with bus mutex
held, and drops the reference to the slave which the message was
addressed to before it unlocks the mutex. If the slave has been detached
in the meantime, this is the last reference, and w1 unref slave() tears
the slave down on the spot. That waits
-
in device unregister(), for the sysfs callbacks of the slave which are running, and
-
in w1 therm remove slave(), for the readers which have taken a reference to the family data,
and both kinds take bus mutex to talk to the slave. Whoever is waiting
for the mutex at that moment is never going to finish, and neither is the
thread of the bus master.
Unlock the bus first. The reference keeps the slave, and with it the
master, alive until then.
Found an issue in the description? Have something to add? Feel free to write us 👾