From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Vyukov Subject: Re: KASAN: use-after-free Read in __list_add_valid (5) Date: Wed, 20 Feb 2019 16:42:47 +0100 Message-ID: References: <089e0825fc78410eaa056845781e@google.com> <20180513230237.GG677@sol.localdomain> <20180704232629.GJ725@sol.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <20180704232629.GJ725@sol.localdomain> Sender: linux-kernel-owner@vger.kernel.org To: Eric Biggers Cc: Roland Dreier , linux-rdma@vger.kernel.org, Doug Ledford , Jason Gunthorpe , rds-devel@oss.oracle.com, syzbot , LKML , syzkaller-bugs List-Id: linux-rdma@vger.kernel.org On Thu, Jul 5, 2018 at 1:26 AM Eric Biggers wrote: > > On Tue, May 15, 2018 at 01:49:23PM -0700, Roland Dreier wrote: > > > Still reproducible on Linus' tree (commit 66e1c94db3cd4e) and on linux-next > > > (next-20180511). Here's a simplified reproducer: > > > > Thanks! That's a fantastic test case. > > > > The issue is a race where rdma_listen() sees invalid state in the > > middle of an rdma_bind_addr() call that will ultimately fail. I'll > > send a proposed patch shortly. > > > > - R. > > Ping; there's still no fix merged for this. The reproducer also works as an > unprivileged user. I don't see any patch similar to the tested one being merged. But this stopped happening, so let's do: #syz fix: ucma: fix a use-after-free in ucma_resolve_ip()