Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp14318imm; Wed, 4 Jul 2018 16:27:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcbsnNiJgSJ0PqQULR1gHVE40KGA4EYv2nA6PT4FKxVlIxuGgys5WQHtsPbml8RSJQW7Bt1 X-Received: by 2002:a65:448a:: with SMTP id l10-v6mr3471903pgq.382.1530746850535; Wed, 04 Jul 2018 16:27:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530746850; cv=none; d=google.com; s=arc-20160816; b=e1M/uq1YB1r/bvlSgfM4hbgK8FGgqvUJyJBykUWwsT5RdKzIBeGjYQoMqHwOO8ZsOU s6r6zl4oCVtCgM5mzSjam/rEqOOGuNiPzPlSSyOkgkjHSXtLs1QgC/mBEr8YSSLJt76T x12ZhOTBkV3EWWAxTeguCbBKYrMT+jQilaZh43/w4apzBkmZZ0HkXTEmBN9+PPBc4j0t byzvlj1DueZ+wcjJ7in/t07JQ8Fjxow2AMvhB1d1iX1f43jV6a4Qws2vjmEiqhxF9n4z vDd5uewGsylkNgdxUr/f56agG5oZeItkwkGr/M6C5yRR74+dcT5D8uCyiq5OZAnbwbaU KVww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=/2KLFC75M4siEtt8eWsx8jM/QdSvtfAit+Y049fcjGg=; b=UtHSHBOI1Jn8LqTATVDFdKmsLhXLFJ67HMdrFs8wC3h31UMdWeRXlSu9cGPxheiBgr f39Ayj22pA03bYvEO/hlMopnK0fd9RXeTOHOfukGEouO+YIwq71YQvpu2h0fg074PFeq V2MajRlP2uFCPBc5UPdEga/vvnPlnt0sYAr/Wm7osTGxVK+I4ZQYvNFJcGXeO4myILaW aFdw8GwQUl/MWWxEl+uIpuNXz2/0s9ORmgvutLSazvtbMC3Bdx1J9gYxflOc6UAqs/rw Thvw5Bx8sfpCmtjyRfO9V4v5ZShZb35WqVgvZ1CNH6nlMS82VPflsvTcPqU4Qnya9bs9 x68w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RgVhUp2R; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j3-v6si4920346pfg.306.2018.07.04.16.27.13; Wed, 04 Jul 2018 16:27:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RgVhUp2R; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752962AbeGDX0d (ORCPT + 99 others); Wed, 4 Jul 2018 19:26:33 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:34068 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752881AbeGDX0c (ORCPT ); Wed, 4 Jul 2018 19:26:32 -0400 Received: by mail-pf0-f196.google.com with SMTP id e10-v6so3685592pfn.1; Wed, 04 Jul 2018 16:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=/2KLFC75M4siEtt8eWsx8jM/QdSvtfAit+Y049fcjGg=; b=RgVhUp2RT1WJ32xF4S6BKaYPhuB1KJrcW6GwP1NP2jHNlquz7tcQkBSyvtYzmTOh/D DT+ZrBr3+d52ESFdYjGFQZM9UNRxDXkKEXSypoCZezm0iE+D8+1JwBTKGl3cHfzAJR1G 06Oewx+/Z7TcVaNINMLe5i6eX/J/pg6UedZ9449GxlcqSFlTwU2XxS3Lfdj14PM4yybx 34p6oPzOG5ouZB2j/Sgs3XYuodzvF3JXXi5fXQ7Ug0x3Oa1pRQ9wkx099CkGKxQkI+p6 mtYdllkKNt42j0W69jfIw9RxrwPeQ15bsJvBUAW6PoS8z/ckZdi9Vc+599hfkTwWBGEk gbOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/2KLFC75M4siEtt8eWsx8jM/QdSvtfAit+Y049fcjGg=; b=b12UlkKztmbPKgrwWmJ5VNDNx21lnO4+26QdduyLs6P3y/hsn1aSC5GPm3VjlVgx6p UEyK20w4z1QF6aYVlS+8xmmor43Fs8+ZlabavpMdW3gBNpx/FN+CQaUlzKkdGqQkWaxE jZ3Qn4cSJMn6MGma5cnQ1rJwh8fIxmjw9RfPobEogU14IWGVUV57q7WeKk8nYjj9F3SI CogCK2M/ALcpLpP1rVr7oRDzO83j1DRFUnLY+lX5sOjgNHNLhpImnDK+jpAMd7rcoSji Ajf0OGiT68EqYLeJd1ne7GaLtrLgITJfB0Epj8gRTm3pS8/mZHA7P6LiQ/IKMh6XW1Mz I3Eg== X-Gm-Message-State: APt69E0av75CCJTlhe/wmdvHuT9LMDSbJ+Tn+OOo9Rc++6dtyuOVC7vH WbSk6Gg06rweevEUlBnP3vk= X-Received: by 2002:a62:bd03:: with SMTP id a3-v6mr3955979pff.138.1530746791411; Wed, 04 Jul 2018 16:26:31 -0700 (PDT) Received: from sol.localdomain (c-67-185-97-198.hsd1.wa.comcast.net. [67.185.97.198]) by smtp.gmail.com with ESMTPSA id 67-v6sm9478456pfm.171.2018.07.04.16.26.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 04 Jul 2018 16:26:30 -0700 (PDT) Date: Wed, 4 Jul 2018 16:26:29 -0700 From: Eric Biggers To: Roland Dreier Cc: linux-rdma@vger.kernel.org, Doug Ledford , Jason Gunthorpe , rds-devel@oss.oracle.com, syzbot , LKML , syzkaller-bugs@googlegroups.com Subject: Re: KASAN: use-after-free Read in __list_add_valid (5) Message-ID: <20180704232629.GJ725@sol.localdomain> References: <089e0825fc78410eaa056845781e@google.com> <20180513230237.GG677@sol.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. - Eric