Re: [PATCH] Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor()

From: patchwork-bot+bluetooth
Date: Mon Aug 07 2023 - 18:50:33 EST


Hello:

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

On Fri, 4 Aug 2023 11:14:45 -0700 you wrote:
> KSAN reports use-after-free in hci_add_adv_monitor().
>
> While adding an adv monitor,
> hci_add_adv_monitor() calls ->
> msft_add_monitor_pattern() calls ->
> msft_add_monitor_sync() calls ->
> msft_le_monitor_advertisement_cb() calls in an error case ->
> hci_free_adv_monitor() which frees the *moniter.
>
> [...]

Here is the summary with links:
- Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor()
https://git.kernel.org/bluetooth/bluetooth-next/c/34d241ece878

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