Re: [PATCH REPOST net] amt: fix use-after-free in AMT delayed works

From: patchwork-bot+netdevbpf

Date: Thu Jul 23 2026 - 10:19:02 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Wed, 22 Jul 2026 19:39:19 +0800 you wrote:
> When an AMT device is removed, pending delayed works can still access
> the freed amt_dev structure, which may result in kernel crashes or
> memory corruption.
>
> amt_dev_stop() cancels req_wq and discovery_wq with
> cancel_delayed_work_sync(), but these works can be scheduled again
> from event_wq after the cancellation. This allows delayed works to
> access the freed amt_dev structure after the netdev has been released.
>
> [...]

Here is the summary with links:
- [REPOST,net] amt: fix use-after-free in AMT delayed works
https://git.kernel.org/netdev/net/c/ea20c44935d6

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html