Messages in this thread | | | Subject | Re: [PATCH net] net: usb: lan78xx: reorder cleanup operations to avoid UAF bugs | From | patchwork-bot+netdevbpf@kernel ... | Date | Mon, 31 Jul 2023 09:00:19 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (main) by David S. Miller <davem@davemloft.net>:
On Wed, 26 Jul 2023 16:14:07 +0800 you wrote: > The timer dev->stat_monitor can schedule the delayed work dev->wq and > the delayed work dev->wq can also arm the dev->stat_monitor timer. > > When the device is detaching, the net_device will be deallocated. but > the net_device private data could still be dereferenced in delayed work > or timer handler. As a result, the UAF bugs will happen. > > [...]
Here is the summary with links: - [net] net: usb: lan78xx: reorder cleanup operations to avoid UAF bugs https://git.kernel.org/netdev/net/c/1e7417c188d0
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |