Re: [PATCH v2] Bluetooth: hci_sync: Fix advertising data UAFs

From: patchwork-bot+bluetooth

Date: Fri Jul 24 2026 - 15:02:37 EST


Hello:

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

On Thu, 23 Jul 2026 23:34:40 +0800 you wrote:
> hci_find_adv_instance() returns an adv_info pointer that is valid only
> while hdev->lock is held. The advertising command-sync paths perform
> instance lookups without that lock and, in some cases, retain the pointer
> while waiting for a controller response.
>
> An advertising termination event can therefore interleave as follows:
>
> [...]

Here is the summary with links:
- [v2] Bluetooth: hci_sync: Fix advertising data UAFs
https://git.kernel.org/bluetooth/bluetooth-next/c/a3ad01d51d4b

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