Re: [PATCH v2] net: usb: fix possible use-after-free in smsc75xx_bind

[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, 16 Jun 2021 10:48:33 +0800 you wrote:
> The commit 46a8b29c6306 ("net: usb: fix memory leak in smsc75xx_bind")
> fails to clean up the work scheduled in smsc75xx_reset->
> smsc75xx_set_multicast, which leads to use-after-free if the work is
> scheduled to start after the deallocation. In addition, this patch
> also removes a dangling pointer - dev->data[0].
> 
> This patch calls cancel_work_sync to cancel the scheduled work and set
> the dangling pointer to NULL.
> 
> [...]

Here is the summary with links:
  - [v2] net: usb: fix possible use-after-free in smsc75xx_bind
    https://git.kernel.org/netdev/net/c/56b786d86694

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





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux