[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180528.231025.531764810373423405.davem@davemloft.net>
Date: Mon, 28 May 2018 23:10:25 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: m.xhonneux@...il.com
Cc: netdev@...r.kernel.org, dlebrun@...gle.com
Subject: Re: [PATCH net] ipv6: sr: fix memory OOB access in
seg6_do_srh_encap/inline
From: Mathieu Xhonneux <m.xhonneux@...il.com>
Date: Fri, 25 May 2018 13:29:41 +0100
> seg6_do_srh_encap and seg6_do_srh_inline can possibly do an
> out-of-bounds access when adding the SRH to the packet. This no longer
> happen when expanding the skb not only by the size of the SRH (+
> outer IPv6 header), but also by skb->mac_len.
...
> Fixes: 6c8702c60b88 ("ipv6: sr: add support for SRH encapsulation and injection with lwtunnels")
> Signed-off-by: David Lebrun <dlebrun@...gle.com>
> Signed-off-by: Mathieu Xhonneux <m.xhonneux@...il.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists