Re: [PATCH v2] Bluetooth: hci_conn: Don't leak hci_conn when dequeuing its create command

From: patchwork-bot+bluetooth

Date: Fri Dec 04 2026 - 11:10:22 EST


Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:

On Tue, 1 Dec 2026 01:59:27 -0500 you wrote:
> When hci_cancel_connect_sync() dequeues a create connection command,
> hci_abort_conn() returns without queuing abort_conn_sync(). Nothing else
> cleans up the hci_conn, so it is left behind with abort_reason set and
> can no longer be aborted.
>
> If an LE connection made through L2CAP is left like this, the next
> create command for it connects in the controller, but
> hci_conn_set_handle() refuses the handle because abort_reason is set.
> The hci_conn then stays in BT_CONNECT and blocks all other LE connection
> attempts until the adapter is powered off.
>
> [...]

Here is the summary with links:
- [v2] Bluetooth: hci_conn: Don't leak hci_conn when dequeuing its create command
https://git.kernel.org/bluetooth/bluetooth-next/c/2e9a9a7bfe4f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html