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 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 648CCC433FF for ; Tue, 13 Aug 2019 09:04:26 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 35CA020840 for ; Tue, 13 Aug 2019 09:04:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tkNK7QLP"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="BVOzItnD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 35CA020840 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=561jEqkYQoe/0E+C6EWdrln/C6LkH0ba6QxR5VHKRTA=; b=tkNK7QLPZoTVkd ZcxTRSbt874d1u7UzT8+0xuqigyndu54IlXo091JC7qnjoW6HUCOpxGCUPM4yJ9Z9dpY5olthOeRp BRXdFNFR2jY9/FN20ar9GefQh/4B81JOAm61IiP50vbmY9JHECFNOUJCCPfHwKayJzglb5Xs70D1d H/GD9owbcqCi/6lakR7t3YzYREQ5HqYC+euF2nuwd/lmWaYn6fh8JO9g0cDqUwD2Doux9GfuGTucw ZjoiD+HcSWdBlsyJtPkfZx9cxytsDJARFy9IzP0aiynZpnVrGK6n9mzphDijb0Maaw6EZ7nLqb01T NPUDWjYhr0woRmVQ+uSQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hxSj5-0008AU-P7; Tue, 13 Aug 2019 09:04:20 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxSgv-0006a3-Hn for linux-arm-kernel@lists.infradead.org; Tue, 13 Aug 2019 09:02:07 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2143C20840; Tue, 13 Aug 2019 09:02:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565686925; bh=lIZNtL4gojHH4sWQIqOF9yVEEqhU5Vt9LRIRR6QoW30=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BVOzItnDYzw85kp2QrS+hvwSTcjym4DShBh8/HxiG9vSmIA2QCl4JkxiF8DU+WJ9C LdTc3VjyV5FgYQoLNEOJ2CYCX+PK387d5j+FX1YyfRmCE8MWU/OSIo8O/q4RzXngsS 4xRq9r4M/VuD9hPc9kgdUtjhAaoRg6ueM4NT/dgY= Date: Tue, 13 Aug 2019 10:02:01 +0100 From: Will Deacon To: Qian Cai Subject: Re: "arm64/for-next/core" causes boot panic Message-ID: <20190813090200.h2rz4xphgnb5j5bc@willie-the-truck> References: <1565646695.8572.6.camel@lca.pw> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1565646695.8572.6.camel@lca.pw> User-Agent: NeoMutt/20170113 (1.7.2) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190813_020205_632009_F12108DD X-CRM114-Status: UNSURE ( 9.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Catalin Marinas , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andrey Konovalov Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Qian, Thanks for the report. On Mon, Aug 12, 2019 at 05:51:35PM -0400, Qian Cai wrote: > Booting today's linux-next on an arm64 server triggers a panic with > CONFIG_KASAN_SW_TAGS=3Dy pointing to this line, Is this the only change on top of defconfig? If not, please can you share your full .config? > kfree()->virt_to_head_page()->compound_head() > = > unsigned long head =3D READ_ONCE(page->compound_head); > = > The bisect so far indicates one of those could be bad, I guess that means the issue is reproducible on the arm64 for-next/core branch. Once I have your .config, I'll give it a go. > [=A0=A0=A0=A00.000000][=A0=A0=A0=A0T0] Unable to handle kernel paging req= uest at virtual address > 0030ffe001e01588 > [=A0=A0=A0=A00.000000][=A0=A0=A0=A0T0] Mem abort info: > [=A0=A0=A0=A00.000000][=A0=A0=A0=A0T0]=A0=A0=A0ESR =3D 0x96000004 > [=A0=A0=A0=A00.000000][=A0=A0=A0=A0T0]=A0=A0=A0EC =3D 0x25: DABT (current= EL), IL =3D 32 bits > [=A0=A0=A0=A00.000000][=A0=A0=A0=A0T0]=A0=A0=A0SET =3D 0, FnV =3D 0 > [=A0=A0=A0=A00.000000][=A0=A0=A0=A0T0]=A0=A0=A0EA =3D 0, S1PTW =3D 0 > [=A0=A0=A0=A00.000000][=A0=A0=A0=A0T0] Data abort info: > [=A0=A0=A0=A00.000000][=A0=A0=A0=A0T0]=A0=A0=A0ISV =3D 0, ISS =3D 0x00000= 004 > [=A0=A0=A0=A00.000000][=A0=A0=A0=A0T0]=A0=A0=A0CM =3D 0, WnR =3D 0 > [=A0=A0=A0=A00.000000][=A0=A0=A0=A0T0] [0030ffe001e01588] address between= user and kernel > address ranges Hmm, nice address... I suppose we're looking at the interaction of 52-bit VA, untagged pointers and KASAN using sw tags. Lovely. Thanks, and please keep us updated on the bisection. Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel