Received: by 10.213.65.68 with SMTP id h4csp2066735imn; Sun, 1 Apr 2018 23:46:07 -0700 (PDT) X-Google-Smtp-Source: AIpwx48Apojt4aF9mUWE2a7oOFF1bfoUQjGSKn2IoMTmQ/mh1BkfizoGenzf9jP0s4ewZ4AlRwLZ X-Received: by 2002:a17:902:2a43:: with SMTP id i61-v6mr8774525plb.54.1522651567761; Sun, 01 Apr 2018 23:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522651567; cv=none; d=google.com; s=arc-20160816; b=rIocANfZysdL7blAYZlDtqcrXcsaGjgNcuRZoQOMd/VBUNCdihO8QwaEO3TRyem2Wv dhQcOZzHpsvhUuQ99pv4akjYW5Kvuq+L4mV+vduUjewb5tF7c/EqQKsZTIWmv0yZJGH0 BbBXrdrj62Xc02DAjmEr6en00ErKHCSfm+rSJaGEgDH5sypNE+PGzRKpYRXMxv4KZyO4 RFEuPzPh5MAFiwMVFA8hIlcWDtFuONxbNaU5fI/RB/TK9fgn4Y+z1bZ/0H8swbteiNUd dJvzbGq152246s5xxMd4W+Ce5dk1aGZRCXfmKevmrQneAmQKn3u9ewB+F5olqpAYFQa4 5W1g== 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:arc-authentication-results; bh=OCYtsbDcMcYuS7VkqqrvzDI2URgFCXHkT3egKpGodzc=; b=iCvpBHPaLogELhZ4sPUWN//jdEaMiRcBsKZdrupwUVElJ/kiChRDml6aLFOT1ISSQr HiUcPIv8yFP+m5BAkD3jJ8WJj18hUNeVmn2hc2bf7fOXV7D00PdacpHS/fHQNOWc8nI5 xZQkMm8hLtQ0YcY8rzBYGSjGxHVZCXqfC9VpkOcod7lgrA87KkaN7MDXw/3ADESfgdF8 lE4sShGWsjwVsxCpsPZG+idiseYCQ98B13QRWAk1kFgfNid5P5vtAsMMadD32F+t5nKj j4dhwT8cUvNGdMjlMe83VMG9WrGZdE6DlS0qzNGPBYaqLAp3Lm9W+9LVac9gDM3h1LoP a+vw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g6-v6si10205927plp.605.2018.04.01.23.45.51; Sun, 01 Apr 2018 23:46:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754138AbeDBGoo (ORCPT + 99 others); Mon, 2 Apr 2018 02:44:44 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:49974 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752150AbeDBGom (ORCPT ); Mon, 2 Apr 2018 02:44:42 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.87 #1 (Red Hat Linux)) id 1f2tCn-0005Q2-D2; Mon, 02 Apr 2018 06:44:37 +0000 Date: Mon, 2 Apr 2018 07:44:37 +0100 From: Al Viro To: Eric Biggers Cc: syzbot , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, linux-nfs@vger.kernel.org Subject: Re: BUG: corrupted list in __dentry_kill Message-ID: <20180402064437.GB30522@ZenIV.linux.org.uk> References: <001a11447acaa9eec40568bd5438@google.com> <20180401033519.GZ30522@ZenIV.linux.org.uk> <20180401200531.GA30522@ZenIV.linux.org.uk> <20180401210508.GA743@sol.localdomain> <20180401214854.GB743@sol.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180401214854.GB743@sol.localdomain> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 01, 2018 at 02:48:54PM -0700, Eric Biggers wrote: > [+Cc linux-nfs] > > > > [ 42.965515] net/sunrpc/rpc_pipe.c: __rpc_create_common failed to allocate inode for dentry blocklayout > > [ 42.967234] net/sunrpc/rpc_pipe.c: rpc_mkpipe_dentry() failed to create pipe nfs/blocklayout (errno = -12) AFAICS, there's nothing to zero nn->bl_device_pipe->dentry after nfs4blocklayout_unregister_sb(), is there? If nothing else, what's going to happen after mount/umount/mount with failing nfs4blocklayout_register_sb()? AFAICS, we'll have stale pointer to dentry sitting in nn->bl_device_pipe->dentry, and call rpc_unlink() on it while cleaning up after the failing mount. I don't think that's all there is to it, but it does smell like a bug.