In the Linux kernel, the following vulnerability has been resolved: xhci: dbc: lock the minor IDR on registration failure dbc_tty_minors is protected by dbc_tty_minors_lock when entries are allocated and during normal device removal. The registration error path removes an entry without taking that lock. Different DbC instances have separate event work items, so this removal can race with an IDR update for another instance. Take the same mutex around the error-path removal.
https://git.kernel.org/stable/c/fb342305bb990b9de7abd17c809a9cbda7340eef
https://git.kernel.org/stable/c/f5bb1677f78ce41094e0d69d962d482efc6ce2d1
https://git.kernel.org/stable/c/a438bbc58ff6f8cc7327d7ba2fe58c89dc3992b3
https://git.kernel.org/stable/c/575b718df8d6475bb0cb94cf7f5f1599c23c2235
https://git.kernel.org/stable/c/5416385033e80146fb8448943ac6e69c5b4b0ddc
https://git.kernel.org/stable/c/47f4e983b5de7616fb11d5f537fc9a605387d136
https://git.kernel.org/stable/c/22d26e097fedff1b0fd50e8a31a240c864c00e42