Re: [PATCH] Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work

From: patchwork-bot+bluetooth
Date: Tue Mar 14 2023 - 19:10:41 EST


Hello:

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

On Thu, 9 Mar 2023 16:07:39 +0800 you wrote:
> In btsdio_probe, &data->work was bound with btsdio_work.In
> btsdio_send_frame, it was started by schedule_work.
>
> If we call btsdio_remove with an unfinished job, there may
> be a race condition and cause UAF bug on hdev.
>
> Fixes: ddbaf13e3609 ("[Bluetooth] Add generic driver for Bluetooth SDIO devices")
> Signed-off-by: Zheng Wang <zyytlz.wz@xxxxxxx>
>
> [...]

Here is the summary with links:
- Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work
https://git.kernel.org/bluetooth/bluetooth-next/c/f132c2d13088

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