Re: [PATCH v4] Bluetooth: RFCOMM: connect the session socket without rfcomm_mutex

From: Mikhail Gavrilov

Date: Tue Sep 29 2026 - 09:25:58 EST


On Tue, Sep 29, 2026 at 5:22 PM Mikhail Gavrilov
<mikhail.v.gavrilov@xxxxxxxxx> wrote:
>
> An RFCOMM connect() issued while a BR/EDR link is being authenticated
> makes lockdep report a circular dependency, and the reported cycle is a
> real AB/BA between rfcomm_mutex and hdev->lock.

syzbot tested this version against its reproducer on v7.3-rc5, no issue:
https://lore.kernel.org/all/6abbb59e.64639fcc.9812d.0003.GAE@xxxxxxxxxx/

Tested-by: syzbot+74071deb72339c215b2e@xxxxxxxxxxxxxxxxxxxxxxxxx

--
Thanks,
Mikhail.