[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1483722870.9712.15.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Fri, 06 Jan 2017 09:14:30 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Andrey Konovalov <andreyknvl@...gle.com>,
Gerrit Renker <gerrit@....abdn.ac.uk>
Subject: Re: [PATCH net] dccp: fix option range in dccp_parse_options()
On Fri, 2017-01-06 at 08:43 -0800, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@...gle.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 ;)
Powered by blists - more mailing lists