Re: [PATCH net] ipv6: Fix out-of-bounds access in ipv6_find_tlv()

From: patchwork-bot+netdevbpf
Date: Wed May 24 2023 - 03:50:29 EST


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Tue, 23 May 2023 08:29:44 +0000 you wrote:
> optlen is fetched without checking whether there is more than one byte to parse.
> It can lead to out-of-bounds access.
>
> Found by InfoTeCS on behalf of Linux Verification Center
> (linuxtesting.org) with SVACE.
>
> Fixes: 3c73a0368e99 ("ipv6: Update ipv6 static library with newly needed functions")
> Signed-off-by: Gavrilov Ilia <Ilia.Gavrilov@xxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net] ipv6: Fix out-of-bounds access in ipv6_find_tlv()
https://git.kernel.org/netdev/net/c/878ecb0897f4

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