From: patchwork-bot+bluetooth@kernel•org
To: Min Li <lm0963hack@gmail•com>
Cc: luiz.dentz@gmail•com, marcel@holtmann•org,
johan.hedberg@gmail•com, davem@davemloft•net,
edumazet@google•com, kuba@kernel•org, pabeni@redhat•com,
jkosina@suse•cz, hdegoede@redhat•com, david.rheinsberg@gmail•com,
wsa+renesas@sang-engineering•com, linux@weissschuh•net,
linux-bluetooth@vger•kernel.org, netdev@vger•kernel.org,
linux-kernel@vger•kernel.org
Subject: Re: [PATCH v2 1/1] Bluetooth: fix race condition in hidp_session_thread
Date: Tue, 07 Mar 2023 18:40:22 +0000 [thread overview]
Message-ID: <167821442273.6197.2769523000407933945.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20230304142330.7367-1-lm0963hack@gmail.com>
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel•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
prev parent reply other threads:[~2023-03-07 18:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-04 14:23 [PATCH v2 1/1] Bluetooth: fix race condition in hidp_session_thread Min Li
2023-03-07 18:40 ` patchwork-bot+bluetooth [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=167821442273.6197.2769523000407933945.git-patchwork-notify@kernel.org \
--to=patchwork-bot+bluetooth@kernel$(echo .)org \
--cc=davem@davemloft$(echo .)net \
--cc=david.rheinsberg@gmail$(echo .)com \
--cc=edumazet@google$(echo .)com \
--cc=hdegoede@redhat$(echo .)com \
--cc=jkosina@suse$(echo .)cz \
--cc=johan.hedberg@gmail$(echo .)com \
--cc=kuba@kernel$(echo .)org \
--cc=linux-bluetooth@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux@weissschuh$(echo .)net \
--cc=lm0963hack@gmail$(echo .)com \
--cc=luiz.dentz@gmail$(echo .)com \
--cc=marcel@holtmann$(echo .)org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=wsa+renesas@sang-engineering$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox