Thread (3 messages) flat view 3 messages, 3 authors, 2021-06-24

Re: [PATCH v2 net] ipv6: fix out-of-bound access in ip6_parse_tlv()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-06-24 19:50:08

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Thu, 24 Jun 2021 03:07:20 -0700 you wrote:
From: Eric Dumazet <edumazet@google.com>

First problem is that optlen is fetched without checking
there is more than one byte to parse.

Fix this by taking care of IPV6_TLV_PAD1 before
fetching optlen (under appropriate sanity checks against len)

[...]
Here is the summary with links:
  - [v2,net] ipv6: fix out-of-bound access in ip6_parse_tlv()
    https://git.kernel.org/netdev/net/c/624085a31c1a

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help