Re: [PATCH net v2] net: qcom/emac: Fix use after free bug in emac_remove due to race condition

From: Jakub Kicinski
Date: Mon Mar 20 2023 - 15:30:58 EST


On Mon, 20 Mar 2023 09:20:17 +0000 patchwork-bot+netdevbpf@xxxxxxxxxx
wrote:
> Here is the summary with links:
> - [net,v2] net: qcom/emac: Fix use after free bug in emac_remove due to race condition
> https://git.kernel.org/netdev/net/c/6b6bc5b8bd2d

Don't think this is correct FWIW, randomly shutting things down without
holding any locks and before unregister_netdev() is called has got to
be racy. Oh, eh.