[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161129.203801.926114791600466509.davem@davemloft.net>
Date: Tue, 29 Nov 2016 20:38:01 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: andreyknvl@...gle.com, gerrit@....abdn.ac.uk, dccp@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
dvyukov@...gle.com, kcc@...gle.com, edumazet@...gle.com,
syzkaller@...glegroups.com
Subject: Re: [PATCH net] net/dccp: fix use-after-free in dccp_invalid_packet
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 28 Nov 2016 06:26:49 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> pskb_may_pull() can reallocate skb->head, we need to reload dh pointer
> in dccp_invalid_packet() or risk use after free.
>
> Bug found by Andrey Konovalov using syzkaller.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Andrey Konovalov <andreyknvl@...gle.com>
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists