[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167821442273.6197.2769523000407933945.git-patchwork-notify@kernel.org>
Date: Tue, 07 Mar 2023 18:40:22 +0000
From: patchwork-bot+bluetooth@...nel.org
To: Min Li <lm0963hack@...il.com>
Cc: luiz.dentz@...il.com, marcel@...tmann.org, johan.hedberg@...il.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, jkosina@...e.cz, hdegoede@...hat.com,
david.rheinsberg@...il.com, wsa+renesas@...g-engineering.com,
linux@...ssschuh.net, linux-bluetooth@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/1] Bluetooth: fix race condition in hidp_session_thread
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@...el.com>:
On Sat, 4 Mar 2023 22:23:30 +0800 you wrote:
> There is a potential race condition in hidp_session_thread that may
> lead to use-after-free. For instance, the timer is active while
> hidp_del_timer is called in hidp_session_thread(). After hidp_session_put,
> then 'session' will be freed, causing kernel panic when hidp_idle_timeout
> is running.
>
> The solution is to use del_timer_sync instead of del_timer.
>
> [...]
Here is the summary with links:
- [v2,1/1] Bluetooth: fix race condition in hidp_session_thread
https://git.kernel.org/bluetooth/bluetooth-next/c/4bbfb9fefadf
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