Re: [PATCH] Bluetooth: msft: Lock failed probe cleanup against feature readers
From: patchwork-bot+bluetooth
Date: Wed Oct 07 2026 - 13:34:13 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Tue, 6 Oct 2026 22:41:57 +0800 you wrote:
> The MSFT data must remain allocated while msft_get_features() reads
> its features. read_adv_mon_features() protects that access with
> hdev->lock, but msft_do_open() clears hdev->msft_data and frees the
> object without that lock when read_supported_features() fails.
>
> After a successful probe, the data survives a normal close. A later
> open can fail the probe while a management feature request is running.
> hci_mgmt_cmd() permits requests during HCI_INIT, and the opener's
> hdev->req_lock does not serialize the management reader:
>
> [...]
Here is the summary with links:
- Bluetooth: msft: Lock failed probe cleanup against feature readers
https://git.kernel.org/bluetooth/bluetooth-next/c/9cb04e601a89
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html