lkml.org 
[lkml]   [2022]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions()
From
Date
Hello:

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

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@ispras.ru>
> 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


\
 
 \ /
  Last update: 2022-08-18 07:21    [W:0.576 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site