Re: [PATCH] Bluetooth: hci_sync: Serialize devcoredump reset during device open

From: patchwork-bot+bluetooth

Date: Wed Oct 07 2026 - 13:30:56 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:39:21 +0800 you wrote:
> An ACTIVE devcoredump's buffer cursors must remain valid from the
> packet handler's state check through its copy. hci_devcd_rx() holds
> hdev->lock across that interval, and hci_devcd_reset() requires the
> same lock. However, hci_dev_open_sync() invokes reset without taking
> it.
>
> A registered VHCI controller can collect a dump through its debugfs
> interface while the controller is down. If a successful open overlaps
> with handling a nonempty dump packet, reset can run after the receiver's
> ACTIVE check and before its copy:
>
> [...]

Here is the summary with links:
- Bluetooth: hci_sync: Serialize devcoredump reset during device open
https://git.kernel.org/bluetooth/bluetooth-next/c/860b93123309

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