Re: [PATCH v4 02/33] Bluetooth: btusb: Fix MediaTek ISO claim locking
From: Oliver Neukum
Date: Tue Nov 24 2026 - 05:39:58 EST
On 24.11.26 10:43, Leon Romanovsky wrote:
From: Leon Romanovsky <leonro@xxxxxxxxxx>Hi,
MediaTek ISO claims are performed from HCI setup work outside USB probe.
Locking only the interface does not protect the claim against teardown
of the parent device. Unconditionally waiting for the parent lock can
deadlock with disconnect while it drains the setup work.
your patch raises a question. Can usb_claim_interface() ever be
used safely outside probe() without this kind of locking?
If the answer to that is negative, should the locking be integrated into
usbcore?
Regards
Oliver