[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164461980935.21006.7068640188485858438.git-patchwork-notify@kernel.org>
Date: Fri, 11 Feb 2022 22:50:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jeremy Kerr <jk@...econstruct.com.au>
Cc: netdev@...r.kernel.org, matt@...econstruct.com.au,
davem@...emloft.net, kuba@...nel.org
Subject: Re: [PATCH net] mctp: serial: Cancel pending work from ndo_uninit handler
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 11 Feb 2022 09:15:52 +0800 you wrote:
> We cannot do the cancel_work_sync from after the unregister_netdev, as
> the dev pointer is no longer valid, causing a uaf on ldisc unregister
> (or device close).
>
> Instead, do the cancel_work_sync from the ndo_uninit op, where the dev
> still exists, but the queue has stopped.
>
> [...]
Here is the summary with links:
- [net] mctp: serial: Cancel pending work from ndo_uninit handler
https://git.kernel.org/netdev/net/c/6c342ce2239c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists