From: patchwork-bot+netdevbpf@kernel.org
To: Dongliang Mu <mudongliangabcd@gmail.com>
Cc: steve.glendinning@shawell.net, davem@davemloft.net,
kuba@kernel.org, paskripkin@gmail.com, netdev@vger.kernel.org,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] net: usb: fix possible use-after-free in smsc75xx_bind
Date: Wed, 16 Jun 2021 19:40:03 +0000 [thread overview]
Message-ID: <162387240395.6512.4732760148089343108.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210616024833.2761919-1-mudongliangabcd@gmail.com>
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
prev parent reply other threads:[~2021-06-16 19:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-16 2:48 [PATCH v2] net: usb: fix possible use-after-free in smsc75xx_bind Dongliang Mu
2021-06-16 19:40 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=162387240395.6512.4732760148089343108.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mudongliangabcd@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=paskripkin@gmail.com \
--cc=steve.glendinning@shawell.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox