Messages in this thread | | | Subject | Re: [PATCH net v2] sfc: Fix use-after-free due to selftest_work | From | patchwork-bot+netdevbpf@kernel ... | Date | Mon, 17 Apr 2023 07:30:17 +0000 |
| |
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
| |