Re: [PATCH net] ipv6: sr: fix out-of-bounds access in SRH validation

2017-04-20 Thread David Miller
From: David Lebrun Date: Tue, 18 Apr 2017 17:59:49 +0200 > This patch fixes an out-of-bounds access in seg6_validate_srh() when the > trailing data is less than sizeof(struct sr6_tlv). > > Reported-by: Andrey Konovalov > Cc: Andrey Konovalov > Signed-off-by: David Lebrun Applied, but please

[PATCH net] ipv6: sr: fix out-of-bounds access in SRH validation

2017-04-18 Thread David Lebrun
This patch fixes an out-of-bounds access in seg6_validate_srh() when the trailing data is less than sizeof(struct sr6_tlv). Reported-by: Andrey Konovalov Cc: Andrey Konovalov Signed-off-by: David Lebrun --- net/ipv6/seg6.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv6/seg6.c