From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8CCC3559F5 for ; Wed, 19 Nov 2025 11:58:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763553511; cv=none; b=s9/zxDOPgi51DSjaTXdNlTebhjQOb+wQieHl+IePlAmn06xNzVKpaAbJaCOocGwlR88wMjAyrsYQqwcVL8e7yBMrEgzKqRfgmUbK5V9YJEoxDKbW7VNjPAfCxq2G8DU+VnvPnd4lU0+mtvrHnt0QRrkOgK8sFNOsXrzEI1C0PJE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763553511; c=relaxed/simple; bh=w+L/RyOawREGOxpeYoDJ1oiVXZR0ho6Gxk55+bGzHLE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HBv9t4icjcqJTvXjRN3rrlvgdMmZVU6jchWZ+jEH4NuJxbZp/hpC5kGRGWHdpCUfMi34xSVJfMx5dghJ3Fm1TTwbvWZ9D0Cn9Bw64MB/top/8+6BOL1617DMsEJQR5sijoNCWhz6FqGp9Mw015m5ll/KaatcSBETiAQFyAu/MV8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5206BFEC; Wed, 19 Nov 2025 03:58:20 -0800 (PST) Received: from arm.com (arrakis.cambridge.arm.com [10.1.197.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B439B3F740; Wed, 19 Nov 2025 03:58:25 -0800 (PST) Date: Wed, 19 Nov 2025 11:58:23 +0000 From: Catalin Marinas To: "David Hildenbrand (Red Hat)" Cc: "Longia, Amandeep Kaur" , Linux Kernel Mailing List , akpm@linux-foundation.org, lance.yang@linux.dev, will@kernel.org, b-padhi@ti.com, aishwarya.tcv@arm.com, broonie@kernel.org, Raghavendra.KodsaraThimmappa@amd.com, Jan Polensky Subject: Re: [BUG] General Protection Faults During Git Clone and Kernel Build on Latest Kernel Message-ID: References: <9401208f-2db1-4397-a615-a03fd7520e53@amd.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: On Mon, Nov 17, 2025 at 01:24:43PM +0100, David Hildenbrand (Red Hat) wrote: > On 17.11.25 13:08, Longia, Amandeep Kaur wrote: > > Hi all, > > > > We've encountered critical issues while running our CI pipeline on the > > latest kernel (v6.18-rc6), which involves cloning multiple repositories > > for testing and building the kernel. During this process, we observed > > two major issues: > > Hi, > > I observed something similar while testing on Friday between rc4 (good) and > rc5+ (bad). > > I'm sure this it the known issue of adfb6609c6809e107ded9a1cd46f519c882e64ea > we discussed already here [1]. > > > @Jan, can you send the fix out today? Otherwise I can take care of this so > we get this fixed asap. > > [1] https://lkml.kernel.org/r/20251109003613.1461433-1-japo@linux.ibm.com In the worst case, I think Andrew can just revert commit adfb6609c680 ("mm/huge_memory: initialise the tags of the huge zero folio"), we can fix it properly with a cc stable afterwards. BTW, another quick fix (pretty much what arm64 does when MTE is off): -------8<-------------------------- diff --git a/include/linux/highmem.h b/include/linux/highmem.h index 105cc4c00cc3..2b848a66f150 100644 --- a/include/linux/highmem.h +++ b/include/linux/highmem.h @@ -253,6 +253,7 @@ static inline void clear_highpage_kasan_tagged(struct page *page) static inline void tag_clear_highpage(struct page *page) { + clear_highpage(page); } #endif