Messages in this thread | | | Subject | Re: [PATCH net] NFC: netlink: fix sleep in atomic bug when firmware download timeout | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 05 May 2022 08:50:12 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by Paolo Abeni <pabeni@redhat.com>:
On Wed, 4 May 2022 13:58:47 +0800 you wrote: > There are sleep in atomic bug that could cause kernel panic during > firmware download process. The root cause is that nlmsg_new with > GFP_KERNEL parameter is called in fw_dnld_timeout which is a timer > handler. The call trace is shown below: > > BUG: sleeping function called from invalid context at include/linux/sched/mm.h:265 > Call Trace: > kmem_cache_alloc_node > __alloc_skb > nfc_genl_fw_download_done > call_timer_fn > __run_timers.part.0 > run_timer_softirq > __do_softirq > ... > > [...]
Here is the summary with links: - [net] NFC: netlink: fix sleep in atomic bug when firmware download timeout https://git.kernel.org/netdev/net/c/4071bf121d59
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |