Messages in this thread | | | Subject | Re: [PATCH v2] ipv6: check return value of ipv6_skip_exthdr | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 18 Nov 2021 11:50:09 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>:
On Wed, 17 Nov 2021 20:06:48 +0100 you wrote: > The offset value is used in pointer math on skb->data. > Since ipv6_skip_exthdr may return -1 the pointer to uh and th > may not point to the actual udp and tcp headers and potentially > overwrite other stuff. This is why I think this should be checked. > > EDIT: added {}'s, thanks Kees > > [...]
Here is the summary with links: - [v2] ipv6: check return value of ipv6_skip_exthdr https://git.kernel.org/netdev/net/c/5f9c55c8066b
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |