Re: [PATCH] Bluetooth: L2CAP: cancel pending_rx_work before taking conn->lock

From: patchwork-bot+bluetooth

Date: Mon Jun 22 2026 - 13:02:42 EST


Hello:

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

On Wed, 17 Jun 2026 23:36:13 +0800 you wrote:
> l2cap_conn_del() takes conn->lock and then calls cancel_work_sync() for
> pending_rx_work. process_pending_rx() takes the same mutex, so teardown
> can deadlock against the worker it is flushing.
>
> This issue was found by our static analysis tool and then manually
> reviewed against the current tree.
>
> [...]

Here is the summary with links:
- Bluetooth: L2CAP: cancel pending_rx_work before taking conn->lock
https://git.kernel.org/bluetooth/bluetooth-next/c/cfa697b22dad

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