[lvc-project] [PATCH] net: liquidio: fix overflow in octeon_init_instr_queue()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Thu Sep 18 18:00:14 MSK 2025
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Wed, 17 Sep 2025 15:30:58 +0000 you wrote:
> The expression `(conf->instr_type == 64) << iq_no` can overflow because
> `iq_no` may be as high as 64 (`CN23XX_MAX_RINGS_PER_PF`). Casting the
> operand to `u64` ensures correct 64-bit arithmetic.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Cc: stable at vger.kernel.org # v4.2+
> Fixes: f21fb3ed364b ("Add support of Cavium Liquidio ethernet adapters")
> Signed-off-by: Alexey Nepomnyashih <sdl at nppct.ru>
>
> [...]
Here is the summary with links:
- net: liquidio: fix overflow in octeon_init_instr_queue()
https://git.kernel.org/netdev/net/c/cca7b1cfd7b8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the lvc-project
mailing list