[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175788120699.3542932.13056520453321329364.git-patchwork-notify@kernel.org>
Date: Sun, 14 Sep 2025 20:20:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kamal Heib <kheib@...hat.com>
Cc: netdev@...r.kernel.org, vburru@...vell.com, sedara@...vell.com,
srasheed@...vell.com, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, michal.swiatkowski@...ux.intel.com, horms@...nel.org
Subject: Re: [PATCH net v3] octeon_ep: Validate the VF ID
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 11 Sep 2025 18:36:10 -0400 you wrote:
> Add a helper to validate the VF ID and use it in the VF ndo ops to
> prevent accessing out-of-range entries.
>
> Without this check, users can run commands such as:
>
> # ip link show dev enp135s0
> 2: enp135s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
> link/ether 00:00:00:01:01:00 brd ff:ff:ff:ff:ff:ff
> vf 0 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state enable, trust off
> vf 1 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state enable, trust off
> # ip link set dev enp135s0 vf 4 mac 00:00:00:00:00:14
> # echo $?
> 0
>
> [...]
Here is the summary with links:
- [net,v3] octeon_ep: Validate the VF ID
https://git.kernel.org/netdev/net/c/af82e857df5d
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