Re: [PATCH] ip6_offload: check segs for NULL in ipv6_gso_segment.

From: David Miller
Date: Fri Dec 02 2016 - 13:37:07 EST


From: Artem Savkov <asavkov@xxxxxxxxxx>
Date: Thu, 1 Dec 2016 14:06:04 +0100

> segs needs to be checked for being NULL in ipv6_gso_segment() before calling
> skb_shinfo(segs), otherwise kernel can run into a NULL-pointer dereference:
...
> Signed-off-by: Artem Savkov <asavkov@xxxxxxxxxx>

Applied and queued up for -stable.