Re: [PATCH v2 0/3] Bluetooth: Fix work queued while hci_dev_close_sync() drains

From: patchwork-bot+bluetooth

Date: Tue Nov 17 2026 - 13:51:37 EST


Hello:

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

On Tue, 17 Nov 2026 02:33:41 +0000 you wrote:
> syzbot reports "workqueue: cannot queue hci_conn_timeout on wq hci0"
> from hci_conn_drop() while hci_dev_close_sync() runs drain_workqueue().
>
> v1 made hci_conn_drop() skip queueing disc_work while
> HCI_CMD_DRAIN_WORKQUEUE is set. Sashiko pointed out that this misses
> two cases: a connection delayed work whose timer was armed before close
> can still fire during the drain, and a connection created after
> hci_conn_hash_flush() is never deleted.
>
> [...]

Here is the summary with links:
- [v2,1/3] Bluetooth: hci_conn: Free the unset handle when adding a connection fails
https://git.kernel.org/bluetooth/bluetooth-next/c/1f150a0bb8a1
- [v2,2/3] Bluetooth: hci_conn: Refuse new connections once HCI_UP is cleared
https://git.kernel.org/bluetooth/bluetooth-next/c/56abe5c17b4d
- [v2,3/3] Bluetooth: hci_sync: Disable connection works before draining
https://git.kernel.org/bluetooth/bluetooth-next/c/1ea7a0946b9e

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