[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167583481717.22246.14172686294681765348.git-patchwork-notify@kernel.org>
Date: Wed, 08 Feb 2023 05:40:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Haiyang Zhang <haiyangz@...rosoft.com>
Cc: linux-hyperv@...r.kernel.org, netdev@...r.kernel.org,
decui@...rosoft.com, kys@...rosoft.com, paulros@...rosoft.com,
olaf@...fle.de, vkuznets@...hat.com, davem@...emloft.net,
wei.liu@...nel.org, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, leon@...nel.org, longli@...rosoft.com,
ssengar@...ux.microsoft.com, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH net,v3] net: mana: Fix accessing freed irq affinity_hint
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Mon, 6 Feb 2023 13:28:49 -0800 you wrote:
> After calling irq_set_affinity_and_hint(), the cpumask pointer is
> saved in desc->affinity_hint, and will be used later when reading
> /proc/irq/<num>/affinity_hint. So the cpumask variable needs to be
> persistent. Otherwise, we are accessing freed memory when reading
> the affinity_hint file.
>
> Also, need to clear affinity_hint before free_irq(), otherwise there
> is a one-time warning and stack trace during module unloading:
>
> [...]
Here is the summary with links:
- [net,v3] net: mana: Fix accessing freed irq affinity_hint
https://git.kernel.org/netdev/net/c/18a048370b06
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