[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160527225811.GA23817@gondor.apana.org.au>
Date: Sat, 28 May 2016 06:58:11 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
Baozeng Ding <sploving1@...il.com>,
David Miller <davem@...emloft.net>, chamaken@...il.com,
Daniel Borkmann <daniel@...earbox.net>,
Florian Westphal <fw@...len.de>, dh.herrmann@...il.com,
christophe.ricard@...il.com,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: BUG: net/netlink: KASAN: use-after-free in netlink_sock_destruct
On Fri, May 27, 2016 at 09:19:48AM -0700, Cong Wang wrote:
>
> This one looks different though, this time the bug is
> triggered in netlink_sock_destruct(), where all the sock
> ref should be gone, which means it is impossible to refer
> nlk->cb anywhere else. Hmm... I have no idea how
> could this happen.
netlink_sock_destruct is one of the two exit paths for cb->skb
so this is consistent with the previous trace.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists