Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
4b4315ab4a141e79858dc3bdaa665f1e0af57fdb to < 22d26e097fedff1b0fd50e8a31a240c864c00e42affectede1ec140f273e1e30cea7e6d5f50934d877232121 to < 5416385033e80146fb8448943ac6e69c5b4b0ddcaffectede1ec140f273e1e30cea7e6d5f50934d877232121 to < f5bb1677f78ce41094e0d69d962d482efc6ce2d1affectede1ec140f273e1e30cea7e6d5f50934d877232121 to < fb342305bb990b9de7abd17c809a9cbda7340eefaffectede1ec140f273e1e30cea7e6d5f50934d877232121 to < a438bbc58ff6f8cc7327d7ba2fe58c89dc3992b3affectede1ec140f273e1e30cea7e6d5f50934d877232121 to < 575b718df8d6475bb0cb94cf7f5f1599c23c2235affectede1ec140f273e1e30cea7e6d5f50934d877232121 to < 47f4e983b5de7616fb11d5f537fc9a605387d136affected5.15.198 to < 5.15.226affected
Linux Linux
Default version status: affected
5.18affected0 to < 5.18unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/22d26e097fedff1b0fd50e8a31a240c864c00e42 ↗
- https://git.kernel.org/stable/c/5416385033e80146fb8448943ac6e69c5b4b0ddc ↗
- https://git.kernel.org/stable/c/f5bb1677f78ce41094e0d69d962d482efc6ce2d1 ↗
- https://git.kernel.org/stable/c/fb342305bb990b9de7abd17c809a9cbda7340eef ↗
- https://git.kernel.org/stable/c/a438bbc58ff6f8cc7327d7ba2fe58c89dc3992b3 ↗
- https://git.kernel.org/stable/c/575b718df8d6475bb0cb94cf7f5f1599c23c2235 ↗
- https://git.kernel.org/stable/c/47f4e983b5de7616fb11d5f537fc9a605387d136 ↗