[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176691069757.2288022.17005700112119385808.git-patchwork-notify@kernel.org>
Date: Sun, 28 Dec 2025 08:31:37 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Deepanshu Kartikey <kartikey406@...il.com>
Cc: krzk@...nel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, horms@...nel.org, linma@....edu.cn,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org, stable@...r.kernel.org,
syzbot+4ef89409a235d804c6c2@...kaller.appspotmail.com
Subject: Re: [PATCH v2] net: nfc: fix deadlock between nfc_unregister_device
and
rfkill_fop_write
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Thu, 18 Dec 2025 06:53:54 +0530 you wrote:
> A deadlock can occur between nfc_unregister_device() and rfkill_fop_write()
> due to lock ordering inversion between device_lock and rfkill_global_mutex.
>
> The problematic lock order is:
>
> Thread A (rfkill_fop_write):
> rfkill_fop_write()
> mutex_lock(&rfkill_global_mutex)
> rfkill_set_block()
> nfc_rfkill_set_block()
> nfc_dev_down()
> device_lock(&dev->dev) <- waits for device_lock
>
> [...]
Here is the summary with links:
- [v2] net: nfc: fix deadlock between nfc_unregister_device and rfkill_fop_write
https://git.kernel.org/netdev/net/c/1ab526d97a57
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