In the Linux kernel, the following vulnerability has been resolved: w1: ds28e04: 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, which was merged shortly afterwards, takes the mutex of the master in the callbacks of its eeprom and pio files 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/afa720aeb9329b10f973ab396e5ad802f7650ccd
https://git.kernel.org/stable/c/aac3a44c3fba9e2851d82ecc591dc9c789626b33
https://git.kernel.org/stable/c/80cc9955c6cd67fa90761b6a2774e6716ddd5791
https://git.kernel.org/stable/c/7b0171379709997b83f907b9554b96d007709cdd
https://git.kernel.org/stable/c/5bc51235d0ad4a4991e38f4e9dc3440738296850
https://git.kernel.org/stable/c/1a19a2fb4a37e427062f1a67647f236919aae096