Re: [PATCH] ipv6: Prevent overrun when parsing v6 header options

From: David Miller
Date: Mon Dec 28 2020 - 18:04:41 EST


From: Defang Bo <bodefang@xxxxxxx>
Date: Sun, 27 Dec 2020 22:11:35 +0800

> Similar to commit<2423496af35>, the fragmentation code tries to parse the header options in order
> to figure out where to insert the fragment option. Since nexthdr points
> to an invalid option, the calculation of the size of the network header
> can made to be much larger than the linear section of the skb and data
> is read outside of it.
>
> Signed-off-by: Defang Bo <bodefang@xxxxxxx>

Could you please repost this with a proper Fixes: tag, thank you.