Re: [PATCH net v2] net: stmmac: Fix accessing freed irq affinity_hint
From: patchwork-bot+netdevbpf
Date: Mon Mar 24 2025 - 14:50:05 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 18 Mar 2025 11:24:23 +0800 you wrote:
> The cpumask should not be a local variable, since its pointer is saved
> to irq_desc and may be accessed from procfs.
> To fix it, use the persistent mask cpumask_of(cpu#).
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 8deec94c6040 ("net: stmmac: set IRQ affinity hint for multi MSI vectors")
> Signed-off-by: Qingfang Deng <dqfext@xxxxxxxxx>
>
> [...]
Here is the summary with links:
- [net,v2] net: stmmac: Fix accessing freed irq affinity_hint
https://git.kernel.org/netdev/net/c/c60d101a226f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html