From: patchwork-bot+netdevbpf@kernel.org
To: Ding Hui <dinghui@sangfor.com.cn>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, ecree.xilinx@gmail.com,
habetsm.xilinx@gmail.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, pengdonglin@sangfor.com.cn,
huangcun@sangfor.com.cn
Subject: Re: [PATCH net v2] sfc: Fix use-after-free due to selftest_work
Date: Mon, 17 Apr 2023 07:30:17 +0000 [thread overview]
Message-ID: <168171661777.7386.17158832087507893738.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20230414152306.18150-1-dinghui@sangfor.com.cn>
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:
On Fri, 14 Apr 2023 23:23:06 +0800 you wrote:
> There is a use-after-free scenario that is:
>
> When the NIC is down, user set mac address or vlan tag to VF,
> the xxx_set_vf_mac() or xxx_set_vf_vlan() will invoke efx_net_stop()
> and efx_net_open(), since netif_running() is false, the port will not
> start and keep port_enabled false, but selftest_work is scheduled
> in efx_net_open().
>
> [...]
Here is the summary with links:
- [net,v2] sfc: Fix use-after-free due to selftest_work
https://git.kernel.org/netdev/net/c/a80bb8e7233b
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:[~2023-04-17 7:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-14 15:23 Ding Hui
2023-04-17 7:30 ` 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=168171661777.7386.17158832087507893738.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=dinghui@sangfor.com.cn \
--cc=ecree.xilinx@gmail.com \
--cc=edumazet@google.com \
--cc=habetsm.xilinx@gmail.com \
--cc=huangcun@sangfor.com.cn \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pengdonglin@sangfor.com.cn \
/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
all inboxes | Powered by JetHome®