[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171021.014434.726585284125917383.davem@davemloft.net>
Date: Sat, 21 Oct 2017 01:44:34 +0100 (WEST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, ycheng@...gle.com, edumazet@...gle.com
Subject: Re: [PATCH net-next] tcp: fix tcp_send_syn_data()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 18 Oct 2017 14:20:30 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> syn_data was allocated by sk_stream_alloc_skb(), meaning
> its destructor and _skb_refdst fields are mangled.
>
> We need to call tcp_skb_tsorted_anchor_cleanup() before
> calling kfree_skb() or kernel crashes.
>
> Bug was reported by syzkaller bot.
>
> Fixes: e2080072ed2d ("tcp: new list for sent but unacked skbs for RACK recovery")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Dmitry Vyukov <dvyukov@...gle.com>
Applied.
Powered by blists - more mailing lists