[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180601.102843.1873090277840412224.davem@davemloft.net>
Date: Fri, 01 Jun 2018 10:28:43 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: ktkhai@...tuozzo.com
Cc: ebiggers@...gle.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, syzkaller-bugs@...glegroups.com,
tom@...ntonium.net, viro@...IV.linux.org.uk, edumazet@...gle.com
Subject: Re: [PATCH net] kcm: Fix use-after-free caused by clonned sockets
From: Kirill Tkhai <ktkhai@...tuozzo.com>
Date: Fri, 1 Jun 2018 14:30:38 +0300
> (resend for properly queueing in patchwork)
>
> kcm_clone() creates kernel socket, which does not take net counter.
> Thus, the net may die before the socket is completely destructed,
> i.e. kcm_exit_net() is executed before kcm_done().
>
> Reported-by: syzbot+5f1a04e374a635efc426@...kaller.appspotmail.com
> Signed-off-by: Kirill Tkhai <ktkhai@...tuozzo.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists