[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164947561230.6004.8819802230994446904.git-patchwork-notify@kernel.org>
Date: Sat, 09 Apr 2022 03:40:12 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kai-Heng Feng <kai.heng.feng@...onical.com>
Cc: irusskikh@...vell.com, davem@...emloft.net, kuba@...nel.org,
mario.limonciello@....com, pabeni@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] net: atlantic: Avoid out-of-bounds indexing
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 8 Apr 2022 10:22:04 +0800 you wrote:
> UBSAN warnings are observed on atlantic driver:
> [ 294.432996] UBSAN: array-index-out-of-bounds in /build/linux-Qow4fL/linux-5.15.0/drivers/net/ethernet/aquantia/atlantic/aq_nic.c:484:48
> [ 294.433695] index 8 is out of range for type 'aq_vec_s *[8]'
>
> The ring is dereferenced right before breaking out the loop, to prevent
> that from happening, only use the index in the loop to fix the issue.
>
> [...]
Here is the summary with links:
- [v2] net: atlantic: Avoid out-of-bounds indexing
https://git.kernel.org/netdev/net/c/8d3a6c37d50d
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