In the Linux kernel, the following vulnerability has been resolved: w1: ds2805: use the bus mutex to talk on the bus Since commit b02f8bede217 ("W1: split master mutex to avoid deadlocks.") the slave drivers serialise their accesses to the bus with bus_mutex. This driver takes the mutex of the master in the callbacks of its eeprom file instead. That mutex is held while a slave which has disappeared from the bus is removed, which waits for the sysfs callbacks of the slave to return. A callback which is waiting for the mutex at that moment never does: both tasks are stuck, and with them the thread of the bus master. Besides, it does not keep the other slave drivers off the bus, so that two transactions can get mixed up on the wire.
https://git.kernel.org/stable/c/b4ade43362a6634e0f84fe458dcf2a51f54227b6
https://git.kernel.org/stable/c/aba7a61c9f5aa6da518e58d14722d6dc0ffc95f4
https://git.kernel.org/stable/c/a2e52ccce044e13d2695bb1bbdc07942727f28dd
https://git.kernel.org/stable/c/5bda464ec9adfe60232f40f93e553534d2e54438
https://git.kernel.org/stable/c/4701be74cff7ff09e4bc050725501174f9ecc2fe
https://git.kernel.org/stable/c/3403cbd4a388efac6d255a2e6a1f6cc4d33056e0