[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173801703651.3242514.2748673226443124182.git-patchwork-notify@kernel.org>
Date: Mon, 27 Jan 2025 22:30:36 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Stanislav Fomichev <sdf@...ichev.me>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev, saeedm@...dia.com,
tariqt@...dia.com, leon@...nel.org, andrew+netdev@...n.ch, nathan@...nel.org,
ndesaulniers@...gle.com, morbo@...gle.com, justinstitt@...gle.com,
witu@...dia.com, parav@...dia.com
Subject: Re: [PATCH net] net/mlx5e: add missing cpu_to_node to kvzalloc_node in
mlx5e_open_xdpredirect_sq
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 22 Jan 2025 16:04:07 -0800 you wrote:
> kvzalloc_node is not doing a runtime check on the node argument
> (__alloc_pages_node_noprof does have a VM_BUG_ON, but it expands to
> nothing on !CONFIG_DEBUG_VM builds), so doing any ethtool/netlink
> operation that calls mlx5e_open on a CPU that's larger that MAX_NUMNODES
> triggers OOB access and panic (see the trace below).
>
> Add missing cpu_to_node call to convert cpu id to node id.
>
> [...]
Here is the summary with links:
- [net] net/mlx5e: add missing cpu_to_node to kvzalloc_node in mlx5e_open_xdpredirect_sq
https://git.kernel.org/netdev/net/c/979284535aaf
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