CVE-2026-139447: xhci: dbc: lock the minor IDR on registration failure
In the Linux kernel, the following vulnerability has been resolved:
xhci: dbc: lock the minor IDR on registration failure
dbcttyminors is protected by dbcttyminorslock 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 Software
Event History
Frequently Asked Questions
What conditions are needed for the race to occur?
An xHCI DbC instance must take the registration error path while another DbC instance's separate event work item updates the shared dbc_tty_minors IDR. The error-path removal previously occurred without the mutex that protects normal allocation and removal operations.
Are normal device removals affected by the missing lock?
Normal device removal already takes dbc_tty_minors_lock. The missing lock was limited to removal of the minor-IDR entry during registration failure.