Thread (2 messages) flat view 2 messages, 1 author, 2017-01-06

Re: [PATCH net] dccp: fix option range in dccp_parse_options()

From: Eric Dumazet <hidden>
Date: 2017-01-06 17:14:31

On Fri, 2017-01-06 at 08:43 -0800, Eric Dumazet wrote:
From: Eric Dumazet <edumazet@google.com>

dccp_parse_options() improperly parses 12 or 16 bytes in excess,
because it forgets to subtract DCCP header len.

This causes various issues, since these 12/16 bytes are part of the
payload and this might not even be present in skb->head, as
dccp_invalid_packet() only pulled everything but payload.

KASAN complains since we might access uninitialized data.
Scratch that.

Never send a patch before first coffee in the morning ;)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help