Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4309200ybl; Mon, 13 Jan 2020 11:24:36 -0800 (PST) X-Google-Smtp-Source: APXvYqxRQiGUzTgFB0z8SOLuEAb2U/l0/07sJRmgvfypt/SEIh2W61KX55pnl2cBozR13c3OYwIa X-Received: by 2002:a9d:6b91:: with SMTP id b17mr14472308otq.321.1578943476629; Mon, 13 Jan 2020 11:24:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578943476; cv=none; d=google.com; s=arc-20160816; b=wJjCaiUvOnneAaEy/q1cvaNXIC+MvNSa2CQ5I9r/PNIHxRkDjGBPjT8GqT7ItqJu67 MpEu7dcsZBZz3NnedJ0W+IabV1/3fiZVvv/Nh6fiUNgV2Vc383wDYLdR0EpekH59Fcrh 5ffwsoQcC5w8nmJo6PZsi/piozf+5MVHCppkDPhHcYh/PXRNculq/qhqG/6WPDgf00Hb 0KXsB+vOIMgVJu0BGN2NJvyvqAuAAVsa+4d5wGiLHG8oCwlQk+iR6i1SbrqCew41NQeq moOwMuSWdjuWXZX6uQhP7z1bZKv56EsIQOIT+nHb0d7kG1UmooQRvQKkd+kIxdWgwzpI bR5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=wdz72K/8w9TbeO03WhKOKFdyoQdv6f9u9q2c5WhsBXw=; b=sHh6h6+ab0+WKWw892sm1EUNT4PNxM6Ah/L57Letk9sgw2wyHB+S5XymDXPf5IQAUy BtykxY4KZCJAideMmHUCOoIZUlT3kHh06kvFEP9SgX0qSaAB+Mw/eUmBsTRLG0M2tgqM Nu7fKnV2PNa2DvbQ/fESgMHUv2HgJ07g5PeWHircsYsEAiluL85u08ePzw3v68ReTZn0 cU9CzY+fnXnur8h2gVQDTS4sr7BXda1AhP39M46xE1KlbWscTeutym+KBsRx+HTZHiSA 5dmXJ4tihJQSYC3/tglMJvHwAabUZfv8rVCmVFdRIerqBZ8+A7CGBDzjq0w6zQ9p097L W/Vg== 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 q1si7391234oti.234.2020.01.13.11.24.24; Mon, 13 Jan 2020 11:24:36 -0800 (PST) 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 S1728800AbgAMTXU (ORCPT + 99 others); Mon, 13 Jan 2020 14:23:20 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:55134 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726435AbgAMTXU (ORCPT ); Mon, 13 Jan 2020 14:23:20 -0500 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1ir5Ix-007UI4-II; Mon, 13 Jan 2020 19:23:15 +0000 Date: Mon, 13 Jan 2020 19:23:15 +0000 From: Al Viro To: "Jason A. Donenfeld" Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List Subject: Re: BUG_ON hit in "reimplement path_mountpoint() with less magic" [Was: Re: linux-next: Tree for Jan 13] Message-ID: <20200113192315.GS8904@ZenIV.linux.org.uk> References: <20200113181457.209ab4a5@canb.auug.org.au> <14674349-1864-2d10-1f09-55b1fb834475@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14674349-1864-2d10-1f09-55b1fb834475@zx2c4.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 13, 2020 at 01:27:34PM -0500, Jason A. Donenfeld wrote: > Hi Al, > > Your "reimplement path_mountpoint() with less magic" commit is causing > oopses on the linux-next tests running on https://build.wireguard.com/ . > Here's one such crash with debug symbols: Check if that persists with the version currently in #fixes (commit 7a955b7363b8). It ought to be fixed there; quick check is to look at fs/namei.c:path_mountpoint() in your tree - it should read if (!err && (nd->flags & LOOKUP_RCU)) err = unlazy_walk(nd); not if (!err) err = unlazy_walk(nd); as in the broken variant.