Thread (5 messages) flat view 5 messages, 3 authors, 2021-11-18

Re: [PATCH v2] ipv6: check return value of ipv6_skip_exthdr

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-18 11:51:14
Also in: lkml

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

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

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