[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id:
<171406263301.12899.1823558479194537202.git-patchwork-notify@kernel.org>
Date: Thu, 25 Apr 2024 16:30:33 +0000
From: patchwork-bot+bluetooth@...nel.org
To: Sungwoo Kim <iam@...g-woo.kim>
Cc: daveti@...due.edu, marcel@...tmann.org, johan.hedberg@...il.com,
luiz.dentz@...il.com, linux-bluetooth@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Bluetooth: HCI: fix slab-use-after-free in cmd_sync_work
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@...el.com>:
On Thu, 25 Apr 2024 00:11:28 -0400 you wrote:
> Hello, could you review the UAF bug and its fix?
> The stack trace is at the bottom.
>
> mgmt sync cmd could be used after freed in this scenario:
>
> set_local_name() ... cmd is allocated, set_name_complete() is
> queued in cmd_sync_work.
> hci_error_reset() ... hci device reset.
> hci_dev_close_sync() ... close hdev, at this point, cmd is freed.
> set_name_complete() ... callback from cmd_sync_work. cmd->param causes UAF.
>
> [...]
Here is the summary with links:
- Bluetooth: HCI: fix slab-use-after-free in cmd_sync_work
https://git.kernel.org/bluetooth/bluetooth-next/c/37dd04e4d594
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists