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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux