Re: [PATCH] net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions()

From: patchwork-bot+netdevbpf
Date: Thu Aug 18 2022 - 01:20:33 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Wed, 17 Aug 2022 03:38:45 +0300 you wrote:
> If an error occurs in dsa_devlink_region_create(), then 'priv->regions'
> array will be accessed by negative index '-1'.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Signed-off-by: Rustam Subkhankulov <subkhankulov@xxxxxxxxx>
> Fixes: bf425b82059e ("net: dsa: sja1105: expose static config as devlink region")
>
> [...]

Here is the summary with links:
- net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions()
https://git.kernel.org/netdev/net/c/fd8e899cdb5e

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