Re: [PATCH net] net: airoha: npu: cancel wdt_work after releasing the WDT IRQ

From: patchwork-bot+netdevbpf

Date: Wed Sep 23 2026 - 22:33:26 EST


Hello:

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

On Mon, 21 Sep 2026 20:09:14 -0400 you wrote:
> airoha_npu_remove() calls cancel_work_sync() on each core's wdt_work,
> but the watchdog IRQ that queues it is requested with devm_request_irq()
> and is freed only after .remove() returns. airoha_npu_wdt_handler() can
> therefore schedule_work() again once the cancel has returned. struct
> airoha_npu, which contains the work, is devm_kzalloc()'d and is freed in
> that same unwind, so the late work dereferences freed memory.
>
> [...]

Here is the summary with links:
- [net] net: airoha: npu: cancel wdt_work after releasing the WDT IRQ
https://git.kernel.org/netdev/net/c/4bdee8060d1e

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