Re: [PATCH] nfc: nfcsim: fix use after free during module unload

From: patchwork-bot+netdevbpf
Date: Wed Jul 28 2021 - 05:30:22 EST


Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Wed, 28 Jul 2021 08:49:09 +0200 you wrote:
> There is a use after free memory corruption during module exit:
> - nfcsim_exit()
> - nfcsim_device_free(dev0)
> - nfc_digital_unregister_device()
> This iterates over command queue and frees all commands,
> - dev->up = false
> - nfcsim_link_shutdown()
> - nfcsim_link_recv_wake()
> This wakes the sleeping thread nfcsim_link_recv_skb().
>
> [...]

Here is the summary with links:
- nfc: nfcsim: fix use after free during module unload
https://git.kernel.org/netdev/net/c/5e7b30d24a5b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html