[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161103.162032.1632688241226729817.davem@davemloft.net>
Date: Thu, 03 Nov 2016 16:20:32 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, gerrit@....abdn.ac.uk, dccp@...r.kernel.org
Subject: Re: [PATCH net] ipv6: dccp: fix out of bound access in
dccp_v6_err()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 02 Nov 2016 20:30:48 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> dccp_v6_err() does not use pskb_may_pull() and might access garbage.
>
> We only need 4 bytes at the beginning of the DCCP header, like TCP,
> so the 8 bytes pulled in icmpv6_notify() are more than enough.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied and queue up for -stable.
Thanks Eric.
Powered by blists - more mailing lists