From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08B1CC33CA9 for ; Mon, 13 Jan 2020 19:23:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D649D20CC7 for ; Mon, 13 Jan 2020 19:23:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728738AbgAMTXU (ORCPT ); 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-next-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-next@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.