Re: [PATCH net v3] net: emac: mal: replace devm_request_irq with request_irq to fix probe error race
From: patchwork-bot+netdevbpf
Date: Thu Oct 15 2026 - 21:40:21 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 7 Oct 2026 11:38:21 -0700 you wrote:
> devm_request_irq() is a managed resource: the IRQ is not freed until
> devres_release_all() runs after the probe function returns. In the
> probe error path, free_netdev(mal->dummy_dev) and dcr_unmap() execute
> while the IRQ is still live. If the shared IRQ fires during cleanup,
> the handler accesses unmapped DCR registers (crash) or the already-
> freed dummy_dev (use-after-free).
>
> [...]
Here is the summary with links:
- [net,v3] net: emac: mal: replace devm_request_irq with request_irq to fix probe error race
https://git.kernel.org/netdev/net-next/c/dabe6a847748
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html