Re: [PATCH] Bluetooth: ISO: clear iso_data always when detaching conn from hcon

From: patchwork-bot+bluetooth

Date: Tue Jul 21 2026 - 15:54:05 EST


Hello:

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

On Mon, 20 Jul 2026 17:53:33 +0300 you wrote:
> When setting conn->hcon = NULL, also conn->hcon->iso_data = NULL is
> necessary, otherwise later iso_conn_free() will UAF.
>
> Fix clearing of iso_data in iso_sock_disconn()
>
> Fixes KASAN: slab-use-after-free in iso_conn_hold_unless_zero on
> iso_sock_release() followed by hci_abort_conn_sync().
>
> [...]

Here is the summary with links:
- Bluetooth: ISO: clear iso_data always when detaching conn from hcon
https://git.kernel.org/bluetooth/bluetooth-next/c/e824c0bbe0ec

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