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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9E3D2D21699 for ; Tue, 15 Oct 2024 12:51:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CW0ZD8Did1c4BUxvpyPs4HwsnU4pcIh+v+oOD+LqfX8=; b=b3KbBHAJfiP6ppi38VFpvKz9ap /zq3icDD8zP2MeMI3v3pzUZeJmnYPVW2x+DZma/ayFypPC5zm94X2TnpZ7yKx4P3bnMbRKpFDqEKT JJeOYqiiS/h2Cyr7fXpbF6WEeF6LKBT1WqjjZCko8heBVF5rHEQyt9R6LAt+SQtaRJwIp8JwfS8lW vqElwNF46EgI0Q33R2H645P7CYmnXYg46lFkl2hq2oO+W39iY1pbmyA1wTdxTdRK8ywK97wTys6AB LY1+DbBG3Nx0m5m35ijdDMtHC93y7TtURzH1JayJvg0zQZgfEwxriz3W4/eXQFsslgMuXjHY6Oy5/ Up9kW6bw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0h0r-00000008FER-3kKT; Tue, 15 Oct 2024 12:50:58 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0gpZ-00000008CJW-2Alf for linux-arm-kernel@lists.infradead.org; Tue, 15 Oct 2024 12:39:18 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id D89FAA4259E; Tue, 15 Oct 2024 12:39:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 683A1C4CEC6; Tue, 15 Oct 2024 12:39:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728995956; bh=e2QA9KcgtrJ8qw+0ksp2Ed9LkFKZ/Fnpb0ZXoxI/s5I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JwV3hPt4bT0YLluSmDGMDvgSXiESq+zgVIOoOZX3xVf7YsVH3vTzXP4F4MlCXiCvQ qdXu089G/hxdFXNpdUNNgPIc+KXWQCCMSx20wDee1i33zURVk5pUluYLPxdRK7uXBw TxAqBVkQfQXCWFQbqw75TA9yNfaV7fYJit//mIhmZ2TKF3Pg5rM1g3UAfB+FT2g5t3 RESvNVZnplAc1Gzu1zGkK+eE+95/VGEywpH/PR+UbKKJ2IIzgmnUU24Cv53mqKIl8D U/MndD9Q7Uzf/9ZYAI/Knw2ckXmfeDnnEcJHOV5kN4ZbZ+vyHiNnRZ9p6SmYKncllX pU90uIFI8olmA== From: Will Deacon To: linux-arm-kernel@lists.infradead.org, Will Deacon Cc: catalin.marinas@arm.com, kernel-team@android.com, linux-kernel@vger.kernel.org, ryabinin.a.a@gmail.com, glider@google.com, kasan-dev@googlegroups.com, Andrey Konovalov , Mark Rutland , syzbot+908886656a02769af987@syzkaller.appspotmail.com Subject: Re: [PATCH] kasan: Disable Software Tag-Based KASAN with GCC Date: Tue, 15 Oct 2024 13:39:08 +0100 Message-Id: <172898869113.658437.16326042568646594201.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20241014161100.18034-1-will@kernel.org> References: <20241014161100.18034-1-will@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241015_053917_647668_E0C9C837 X-CRM114-Status: UNSURE ( 7.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 14 Oct 2024 17:11:00 +0100, Will Deacon wrote: > Syzbot reports a KASAN failure early during boot on arm64 when building > with GCC 12.2.0 and using the Software Tag-Based KASAN mode: > > | BUG: KASAN: invalid-access in smp_build_mpidr_hash arch/arm64/kernel/setup.c:133 [inline] > | BUG: KASAN: invalid-access in setup_arch+0x984/0xd60 arch/arm64/kernel/setup.c:356 > | Write of size 4 at addr 03ff800086867e00 by task swapper/0 > | Pointer tag: [03], memory tag: [fe] > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] kasan: Disable Software Tag-Based KASAN with GCC https://git.kernel.org/arm64/c/7aed6a2c51ff Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev