Thread View: linux.kernel.netdev
2 messages
2 total messages
Started by Simon Horman
Tue, 03 Nov 2026 12:43
Re: [PATCH net v4 1/4] net: make room for the tunnel header in skb_segment_list()
Author: Simon Horman
Date: Tue, 03 Nov 2026 12:43
Date: Tue, 03 Nov 2026 12:43
15 lines
8621 bytes
8621 bytes
On Sun, Nov 01, 2026 at 05:42:29PM +0100, Julius Bairaktaris wrote:
> skb_segment_list() pushes each frag_list member back to the outer MAC
> header and copies the tunnel headers in front of it, but never checks
> that the member has the headroom. A fraglist GRO packet forwarded into
> a tunnel and segmented in software then hits skb_under_panic() on IPIP,
> and on VXLAN the copy writes before the member's head (KASAN:
> slab-out-of-bounds write in skb_segment_list()).
>
> Call skb_cow_head() on each member before pushing it.
>
> Fixes: 3a1296a38d0c ("net: Support GRO/GSO fraglist chaining.")
> Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Re: [PATCH net v4 1/4] net: make room for the tunnel header in skb_segment_list()
Author: Eric Dumazet
Date: Tue, 03 Nov 2026 13:05
Date: Tue, 03 Nov 2026 13:05
22 lines
9998 bytes
9998 bytes
Le mar. 3 nov. 2026 ร 13:43, Simon Horman <horms@kernel.org> a รฉcrit :
>
> On Sun, Nov 01, 2026 at 05:42:29PM +0100, Julius Bairaktaris wrote:
> > skb_segment_list() pushes each frag_list member back to the outer MAC
> > header and copies the tunnel headers in front of it, but never checks
> > that the member has the headroom. A fraglist GRO packet forwarded into
> > a tunnel and segmented in software then hits skb_under_panic() on IPIP,
> > and on VXLAN the copy writes before the member's head (KASAN:
> > slab-out-of-bounds write in skb_segment_list()).
> >
> > Call skb_cow_head() on each member before pushing it.
> >
> > Fixes: 3a1296a38d0c ("net: Support GRO/GSO fraglist chaining.")
> > Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
>
> Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@kernel.org>
Thanks!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads