Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp5700430rdb; Sun, 31 Dec 2023 12:59:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFt5WIBbB/5B7KxLWQeH/tuRGPRZmzHyRmR2txlb5phYCBZddCdbFkxBaFnWOxUv20kUZXN X-Received: by 2002:a05:6e02:1845:b0:35f:f01e:bb26 with SMTP id b5-20020a056e02184500b0035ff01ebb26mr16556886ilv.51.1704056358701; Sun, 31 Dec 2023 12:59:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704056358; cv=none; d=google.com; s=arc-20160816; b=iKl9NYxt4pe9I2ncvspOnzVXXxBW4rVv9lgnAB6H0ZxoxWckt5cQatVAKs0slV6DcI 1InRxABsqNyaMUyQnSlp9eT0oEnaouSMxzBNWKXhCBZSjKDjdHwN8coIFTEa5mcgz425 SumpuIiDfZ58xINRR0McSJ5IENquRj9q8CDRjBVsm1mE/Sn+00onoI6CcnOIgZ8F/wg9 RRAqrAJrCQYjNA271ZfK6XXysPN+/LaUBnHI6UEkiLi/JYJIc0j7mt4sQtAIA16+0FlF 0cx3fGmfO/ockOhtxwBrxLF2+S8snboy9orocuKJLkbWbPggo/1c6TjYzXkh29Sfl5YK jPwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=OBpnVhlNs2ssovfDtUSVXqlWqzvDlYhVgo5wBqppX0w=; fh=MuvLizTYD37khvl3f/S2+VzSkx0yD4XVcaVgqLsymzI=; b=t+YXZ/aVEzqBtZ5IGCh3uGmYEkSlPNL3qKqwH4mNcKqWDOz0aBRgkzCU4LM3l+usoP 7vXV0yay1kyN0jBhjBzBk8/hNuLBIfRSn3NSaNGunI9CRfZ5O9EnPEKOibUXekuVGdC5 2wacQbnNrdIb5fpQ4+f4JJZWQ4mJhEZ6daX2kdSxoxVNOB3Ve120mJRtXb15rZwwcGV4 nxTZ+Tnm7HNoYyJkf5MeRNDrQSo/Zn0yuNxGqZem6GrdxlAnGVLZGYAVTivGOxGNy6o5 yK++B7A7YBeLn0aLZM1oIoeH9kjyeytKWs08hDlofeoxTOp36JvZhB8Jed0F63MEGzkv BF8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=hbWqIqfv; spf=pass (google.com: domain of linux-kernel+bounces-13784-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13784-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n18-20020a170902d2d200b001d433130553si14524408plc.251.2023.12.31.12.59.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Dec 2023 12:59:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13784-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=hbWqIqfv; spf=pass (google.com: domain of linux-kernel+bounces-13784-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13784-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4C5BB28252D for ; Sun, 31 Dec 2023 20:59:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6B16BE66; Sun, 31 Dec 2023 20:59:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="hbWqIqfv" X-Original-To: linux-kernel@vger.kernel.org Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C5C7BA2B; Sun, 31 Dec 2023 20:59:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=OBpnVhlNs2ssovfDtUSVXqlWqzvDlYhVgo5wBqppX0w=; b=hbWqIqfvraHATw/bQQnskCHNgG OwRbsDQXiI80s09hM7xdg1hwKfJF2ITc2QSz+EHCP4pj8rskFiyBAs8J1Bmdje4vjshlkvX3dy+do 1O0bWUrkYVL9dhdpNLCiyVmsx2T9Q0Sp8ukb9gVkzJjdqZnkfGQw/7FVds1VVHtro7fpPiVZRG7vA zIBmeKgZ46Lg5438e0sjgpcbt3B0WAuuMyoJpHvjZ5+BABVstjUR/imy2xVir7hf/TxenFUgeo4iF yflGzup5Vnup1HoARpBkw61c4ncEtKjF3uEafT91NGfjVR4TWndsFSI7PeDsxAOr/0sit2+uDdVlB UF1Q1iAw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1rK2tg-00843F-Cj; Sun, 31 Dec 2023 20:59:00 +0000 Date: Sun, 31 Dec 2023 20:59:00 +0000 From: Matthew Wilcox To: Genes Lists Cc: linux-kernel@vger.kernel.org, Andrew Morton , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: Re: 6.6.8 stable: crash in folio_mark_dirty Message-ID: References: <8bb29431064fc1f70a42edef75a8788dd4a0eecc.camel@sapience.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8bb29431064fc1f70a42edef75a8788dd4a0eecc.camel@sapience.com> On Sat, Dec 30, 2023 at 10:23:26AM -0500, Genes Lists wrote: > Apologies in advance, but I cannot git bisect this since machine was > running for 10 days on 6.6.8 before this happened. This problem simply doesn't make sense. There's just no way we shoud be able to get a not-uptodate folio into the page tables. We do have one pending patch which fixes a situation in which we can get some very odd-looking situations due to reusing a page which has been freed. I appreciate your ability to reproduce this is likely nil, but if you could add https://lore.kernel.org/all/20231220214715.912B4C433CA@smtp.kernel.org/ to your kernel, it might make things more stable for you.