Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2356637rwb; Thu, 27 Jul 2023 06:11:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlHxEX0DcjYkQqqtN49DJWuGkAbS2DqD8fmAum3/DqG5ZSUI3MoVOTeRKo/yZJ/wbzsOOark X-Received: by 2002:a05:6a00:3a03:b0:678:5629:fd43 with SMTP id fj3-20020a056a003a0300b006785629fd43mr4454929pfb.9.1690463493228; Thu, 27 Jul 2023 06:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690463493; cv=none; d=google.com; s=arc-20160816; b=KmiS6BGDWzgn8kbAJVr1T5Q26Sl9dliuZuiXEva72K9Q7PiKslzoaqqqHLOP6IBihU 1zbO8H8s0FB6FbGrqgC5CL2tQRYn6873O7pn/ysamlRoGZF+0HjowjqblRKwhOL8lKox xINYwuhN0FbaQiNOKS7rOYHdEEs8XVJZyQwS21pnK7maXfjfftetK+P9gYGYQ5NSOLIz A4r16LyW/wH+eQcico1nguWj8h9z9va0lcMbwhHZSuMwF0WxvDX0TSpiL7EMrDFIWw5x 7NRh2EHn0DQ2vUr0jShVeDF/qADvl3TV79GAentk3sjJ4sJ+A9RqM5kqBSfRjMr0Qrb/ SOyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0SHwtlLfdLykm91VDjKonBsfjtpcmLBc8lJqYZToBcg=; fh=cuvfJsLr5Z07IDLEH5mJXZ0y31p00jJv7eUbZUtg3Ss=; b=U3jqIKuXWABI0CSqIyDiCnuJqHcIIiM9ai7cLlf/Lu7fPbexoElnr2z7YtbP5L+7H7 b6dhttB03MaX/6gelND8aX7Y25pVrAmfKUPKd5ZKVs+lIAIvpdFI1hdFHgFNnJeAA66X WEVVu2FsDAzqM8gQCwHQnVetJRHjlKTICPlW2AHK0DhJVThdgFFDT9OWpXhM9hiX0ULx ih5XM8hVDAHnRBb7v+HTeZzVlrTqcQpIY1P6ecDhncftykFUsRmIrqnLexguuhUyAWIC i2u4ixvCMu/4M0nCXHBsxx4TDKlZajQ3KFNXzGljoufs04EqkjtKMxpG/AmREF3OaD99 ujjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=D9EKpOfh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020a056a000b8600b00686bb182aedsi1405888pfj.69.2023.07.27.06.11.20; Thu, 27 Jul 2023 06:11:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=D9EKpOfh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234216AbjG0M2m (ORCPT + 99 others); Thu, 27 Jul 2023 08:28:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234529AbjG0M2M (ORCPT ); Thu, 27 Jul 2023 08:28:12 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B80530CA; Thu, 27 Jul 2023 05:27:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=0SHwtlLfdLykm91VDjKonBsfjtpcmLBc8lJqYZToBcg=; b=D9EKpOfhiN9nSQhGjNtFFOB/5J IvoEznWKphYvGec9XS3FDaLewEcIxHC3ECqpdiPtciChaSPmdJnvaaQTPRIcMWw53ITYejobJi1QD vF6RYxVTJ3bvRt63gOVBNbGgp11XHjkqwdarkDR9IGkOdUJ38OS3rQ6MrlumhKynj1UUvgTQy1ErQ ErRrW5vmoqqJfnmFf5OZfpiFG1v8O9ZhhpIyWeO4gdB/EFnqNBgXl9y71BYZtOHKEu0bA+htek+sC qn09JvHVWJ7ohLt1iFUvG869wEVjKgh3981XyKTBB9xlkOAmc8TyXWMaH03xAAuswqgRqa8Wqp4HJ m+CVd12Q==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qP060-007Sp6-P9; Thu, 27 Jul 2023 12:27:56 +0000 Date: Thu, 27 Jul 2023 13:27:56 +0100 From: Matthew Wilcox To: Daniel Dao Cc: linux-fsdevel@vger.kernel.org, Dave Chinner , kernel-team , linux-kernel , djwong@kernel.org Subject: Re: Kernel NULL pointer deref and data corruptions with xfs on 6.1 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 27, 2023 at 11:25:33AM +0100, Daniel Dao wrote: > On Thu, Jul 27, 2023 at 4:27 AM Matthew Wilcox wrote: > > > > On Fri, Jul 21, 2023 at 11:49:04AM +0100, Daniel Dao wrote: > > > We do not have a reproducer yet, but we now have more debugging data > > > which hopefully > > > should help narrow this down. Details as followed: > > > > > > 1. Kernel NULL pointer deferencences in __filemap_get_folio > > > > > > This happened on a few different hosts, with a few different repeated addresses. > > > The addresses are 0000000000000036, 0000000000000076, > > > 00000000000000f6. This looks > > > like the xarray is corrupted and we were trying to do some work on a > > > sibling entry. > > > > I think I have a fix for this one. Please try the attached. > > For some reason I do not see the attached patch. Can you resend it, or > is it the same > one as in https://bugzilla.kernel.org/show_bug.cgi?id=216646#c31 ? Yes, that's the one, sorry.