Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp912763imu; Fri, 9 Nov 2018 08:02:59 -0800 (PST) X-Google-Smtp-Source: AJdET5eqaPFiVYu2+ZShdw1EP6BzPS4/2Rm0GrxFuYePlMkVzU4s5MQsM5Ozv1FGZJxtLUNnnWJw X-Received: by 2002:a63:a552:: with SMTP id r18mr7934939pgu.176.1541779379076; Fri, 09 Nov 2018 08:02:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541779379; cv=none; d=google.com; s=arc-20160816; b=LdAvRK9jt/hB/Db5i9EY667r6P+i0KkfI6bRoZEFtrKlhRfZtVDSzThE2BZbnY33PT B0DargcQ0Dewz8ftMmkIAua1WuhDAWB+NwRlOt0tZnax/uvyjqy8CQvoTj65nJELEXhn 2vfgt59VyvGcLFPzRZ/xxJ5OgIX6YjQTQxsOUWku2VB71ccimQpsceQ9tTkIGaInYpc3 p6xLl4rBT5guyrPUzjEbYmbxK3SJ1IDL/ZHQIV6VBO+/zWxHQqWnimFfmqMzWZQqcvh6 TvwnjhwqBM5YnMS3dBtUzEQhiDkqh+938B65IOXkGYZFGNSDhI/HoN4GNjGXCTQE/HZt VkPw== 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; bh=2t5LTpN1qGbbDERUe7zPOkEnYoUQuGaGYUybSc2E9Wc=; b=WDOq1BEwK1yh7Zzq8dP1z8V+jyy5cc3590V0YYPlNFfbegcGXdOsrlRcqMUO3XC5n3 Xip4yzip/d7mtSf1MXmFNgJgZv81/bZ2L74COGi0GqlFxRSSgGQmoe1Tvgn2H6vvQ3tB rWwgT+zRe3zjny4Z7TTIyuR0JOnoRDi4D7hqowx757rSLfSH7zJXTdEm+7FTplnJ/O4v DzY1j6qJp9zKvgdQnOWKqK3TQEQY+3778g2evrWMgupaaThikLiN36nv4vSZM0s2RKhK zxbMdc8hiVyGQrRPllvVv0Usa6i5u6RvUvSrRkOFcHeCGF0x/YJJXGjnponRLHZF1M3g SngA== 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 b12-v6si7884942plr.175.2018.11.09.08.02.02; Fri, 09 Nov 2018 08:02:59 -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 S1728384AbeKJBkJ (ORCPT + 99 others); Fri, 9 Nov 2018 20:40:09 -0500 Received: from foss.arm.com ([217.140.101.70]:33822 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727784AbeKJBkI (ORCPT ); Fri, 9 Nov 2018 20:40:08 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D822B80D; Fri, 9 Nov 2018 07:58:58 -0800 (PST) Received: from brain-police (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8DA8A3F5BD; Fri, 9 Nov 2018 07:58:58 -0800 (PST) Date: Fri, 9 Nov 2018 15:58:56 +0000 From: Will Deacon To: Jan Glauber Cc: Alexander Viro , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: dcache_readdir NULL inode oops Message-ID: <20181109155856.GC2091@brain-police> References: <20181109143744.GA12128@hc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181109143744.GA12128@hc> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 09, 2018 at 02:37:51PM +0000, Jan Glauber wrote: > I'm seeing the following oops reproducible with upstream kernel on arm64 > (ThunderX2): [...] > It happens after 1-3 hours of running 'stress-ng --dev 128'. This testcase > does a scandir of /dev and then calls random stuff like ioctl, lseek, > open/close etc. on the entries. I assume no files are deleted under /dev > during the testcase. > > The NULL pointer is the inode pointer of next. The next dentry->d_flags is > DCACHE_RCUACCESS when this happens. > > Any hints on how to further debug this? Can you reproduce the issue with vanilla -rc1 and do you have a "known good" kernel? Will