[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165300901772.19017.10175085376155326113.git-patchwork-notify@kernel.org>
Date: Fri, 20 May 2022 01:10:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Duoming Zhou <duoming@....edu.cn>
Cc: krzysztof.kozlowski@...aro.org, netdev@...r.kernel.org,
davem@...emloft.net, gregkh@...uxfoundation.org,
alexander.deucher@....com, broonie@...nel.org,
linux-kernel@...r.kernel.org, kuba@...nel.org, edumazet@...gle.com,
pabeni@...hat.com
Subject: Re: [PATCH net v3] NFC: hci: fix sleep in atomic context bugs in
nfc_hci_hcp_message_tx
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 18 May 2022 19:57:33 +0800 you wrote:
> There are sleep in atomic context bugs when the request to secure
> element of st21nfca is timeout. The root cause is that kzalloc and
> alloc_skb with GFP_KERNEL parameter and mutex_lock are called in
> st21nfca_se_wt_timeout which is a timer handler. The call tree shows
> the execution paths that could lead to bugs:
>
> (Interrupt context)
> st21nfca_se_wt_timeout
> nfc_hci_send_event
> nfc_hci_hcp_message_tx
> kzalloc(..., GFP_KERNEL) //may sleep
> alloc_skb(..., GFP_KERNEL) //may sleep
> mutex_lock() //may sleep
>
> [...]
Here is the summary with links:
- [net,v3] NFC: hci: fix sleep in atomic context bugs in nfc_hci_hcp_message_tx
https://git.kernel.org/netdev/net/c/b413b0cb0086
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