[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170116562425.31333.11843125198692560702.git-patchwork-notify@kernel.org>
Date: Tue, 28 Nov 2023 10:00:24 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Elena Salomatkina <elena.salomatkina.cmc@...il.com>
Cc: sgoutham@...vell.com, lcherian@...vell.com, gakula@...vell.com,
jerinj@...vell.com, hkelam@...vell.com, sbhatta@...vell.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org, horms@...nel.org
Subject: Re: [PATCH net] octeontx2-af: Fix possible buffer overflow
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.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
Powered by blists - more mailing lists