Vulnerability record
w1: netlink: drop the slave after the bus is unlocked
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…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources