Re: [PATCH v2 net] octeontx2-af: npc: Fix size of entry2cntr_map

From: patchwork-bot+netdevbpf

Date: Sat Jun 13 2026 - 05:00:42 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Wed, 10 Jun 2026 07:53:44 +0530 you wrote:
> KASAN prints below splat. This is caused by allocating counter for
> reserved mcam entry for cpt 2nd pass entry. But mcam->entry2cntr_map
> is not allocated for reserved entries.
>
> BUG: KASAN: slab-out-of-bounds in npc_map_mcam_entry_and_cntr+0xb0/0x1a0
> Write of size 2 at addr ffff0001033e7ffe by task kworker/0:1/14
>
> [...]

Here is the summary with links:
- [v2,net] octeontx2-af: npc: Fix size of entry2cntr_map
https://git.kernel.org/netdev/net/c/f9cd6fabe0e7

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html