[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162387240395.6512.4732760148089343108.git-patchwork-notify@kernel.org>
Date: Wed, 16 Jun 2021 19:40:03 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Dongliang Mu <mudongliangabcd@...il.com>
Cc: steve.glendinning@...well.net, davem@...emloft.net,
kuba@...nel.org, paskripkin@...il.com, netdev@...r.kernel.org,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] net: usb: fix possible use-after-free in smsc75xx_bind
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
Powered by blists - more mailing lists