Messages in this thread | | | Subject | Re: [PATCH net] octeontx2-af: Fix possible buffer overflow | From | patchwork-bot+netdevbpf@kernel ... | Date | Tue, 28 Nov 2023 10:00:24 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (main) by Paolo Abeni <pabeni@redhat.com>:
On Sat, 25 Nov 2023 00:08:02 +0300 you wrote: > A loop in rvu_mbox_handler_nix_bandprof_free() contains > a break if (idx == MAX_BANDPROF_PER_PFFUNC), > but if idx may reach MAX_BANDPROF_PER_PFFUNC > buffer '(*req->prof_idx)[layer]' overflow happens before that check. > > The patch moves the break to the > beginning of the loop. > > [...]
Here is the summary with links: - [net] octeontx2-af: Fix possible buffer overflow https://git.kernel.org/netdev/net/c/ad31c629ca3c
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |