Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1974518pxp; Thu, 10 Mar 2022 16:28:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwnVIwaHw8Kj7zXztGqVsVIvpuRrYuQYYomn6A+gazQq06NMwZygJOqDGFZEp3pmzoRypKE X-Received: by 2002:a17:907:7d94:b0:6db:207:c0cd with SMTP id oz20-20020a1709077d9400b006db0207c0cdmr6798778ejc.362.1646958494229; Thu, 10 Mar 2022 16:28:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646958494; cv=none; d=google.com; s=arc-20160816; b=ox2RqaZGBm9UrdY4YCh/IsH+ZIe53+fTm7XIllfImOKTrxFcpCP8xuspjqAmwBhZ+s nCZ5hdw3WzuYLNqD0DdIZB8PSWTXtE03X8oxrf6h03b4elHfjQgM56R3beiwKWbgcGth MBeo1gnJ7Yv+pjABLtMFERO7sls64+SgqwTtnQVjO31HvTd4XJo/pod3bh3WTObKaRA2 QQZOpqcWMkQyVQVDGVco33fPXg4CqrAqm90GY/T25ixChJMsV+xIeN4gGSby2hV8eLC/ pMI4UOs/oKsvfZGsepDeQkBKQ7LOBmF9cwvgh0AKhHWHQbBCSf4Cec6h7t/pUD4Y8nje S1Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=5MEIUZr7gQ32VbXz12XSBQyVzSljQOuGGdxFqo/cd2I=; b=E/XajGEsV1CQt+LUMFdy48S6ipjRcGDarwCQvjVAz+ZRPQj0lDh+dik9nUODvQsPiB RkHasm6ILoI1u7nknFSl5GEPdhovd5W2Aw4yb/1V7Zsy0SPXtphGvZ9wmcDpe9J/YY0J 564doNyVIxbjwetb4Nj8grhvQ7sCw8cobiysZMj4txC4j9Bv/VD8vXHXE/UB4zKNZyE5 wPv0zezpc3nrm2/q++DnD/OCWF9v/eMRlEYstppOiYhHO1XZHfn6TI89+U7qENPZH50j fQm+nybR7DXA25ifU2xcmVZWu4iiYKlYX6T4XG/G1Nouap4IUWp0zzceYmzKnAO9f4W/ l/mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="p1dg6Sx/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e15-20020a50a68f000000b004106cf5538csi4213200edc.110.2022.03.10.16.27.49; Thu, 10 Mar 2022 16:28:14 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b="p1dg6Sx/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239614AbiCJWHe (ORCPT + 99 others); Thu, 10 Mar 2022 17:07:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231720AbiCJWHc (ORCPT ); Thu, 10 Mar 2022 17:07:32 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4D161903F3; Thu, 10 Mar 2022 14:06:30 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 792A361AD2; Thu, 10 Mar 2022 22:06:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC4CCC340E8; Thu, 10 Mar 2022 22:06:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646949989; bh=eXiXxMTG2p/Om9bcg7vYHQ1rDSxu9DHWqWu8LYKN9Cw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=p1dg6Sx/fejHsKvJdRgtiKUvje9NqiawN51CgRUZSCNp/6R/XalgUw2KLkfqIrrsy v4/A4p2RdsudO2mzHINileZfP7V51CY2CSF7I+E1AbBVQvCxnBnet3oWGb3ew1g2C9 /OkadhqCcnT9/x89kSUZXdaFUigsAztBMD//wCJRU0YsA6KRy3bs33422PStf717Bb /Se7oDBaAUne+QCIM80DDgkf6o/mYsOnMdVC+PsHmLGAsiKB3IdP4EzsqghzqloOBE pd3GfONQtHRn+zdJ53l84be1G65Zc2mbPvZ37uR53FgYdgLrN3YPDmjt5Ab/lL5eaz V6AMJ9xcw9Oeg== Received: by mail-yb1-f173.google.com with SMTP id u10so13609167ybd.9; Thu, 10 Mar 2022 14:06:29 -0800 (PST) X-Gm-Message-State: AOAM531+bXxXAi7rFmrf1Q6f00uZYJIOjszd9SpSmkqC7y0UauQNbn4k Yy5GealzxzBRzjpaLMxgAt8OvHL7KYRqdQ1W9DI= X-Received: by 2002:a25:af8e:0:b0:622:c778:c0a2 with SMTP id g14-20020a25af8e000000b00622c778c0a2mr6000960ybh.50.1646949988830; Thu, 10 Mar 2022 14:06:28 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ard Biesheuvel Date: Thu, 10 Mar 2022 23:06:17 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [next] arm: Internal error: Oops: 5 PC is at __read_once_word_nocheck To: Naresh Kamboju Cc: "Russell King (Oracle)" , open list , Linux-Next Mailing List , Linux ARM , Linus Walleij , Arnd Bergmann , Corentin Labbe , Stephen Rothwell Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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, 10 Mar 2022 at 22:50, Naresh Kamboju wrote: > > On Fri, 11 Mar 2022 at 02:55, Ard Biesheuvel wrote: > > > > On Thu, 10 Mar 2022 at 22:18, Naresh Kamboju wrote: > > > > > > Hi Ard and Russell, > > > > > > The boot test pass on linux next-20220310 tag with KASAN=y on BeagleBoard x15 > > > device. but LTP cve tests reproduced the reported kernel crash [1]. > > > From the available historical data I can confirm that this is an > > > intermittent issue on > > > BeagleBoard x15 devices. > > > > > > OTOH, the kernel crash is always reproducible on qemu-arm with KASAN=y > > > while booting which has been known to fail for a long time. > > > > > > From the Ardb tree I have boot tested qemu-arm with KASAN=y the reported > > > kernel crash is always reproducible. > > > > > > The build steps [3] and extra Kconfigs. > > > > > > - Naresh > > > [1] https://lkft.validation.linaro.org/scheduler/job/4701310 > > > [2] https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/log/ > > > [3] https://builds.tuxbuild.com/2661dIAPUjE2DMJvye91He2gus0/tuxmake_reproducer.sh > > > > Thanks Naresh. I'm having trouble to make sense of this, though. The > > linked output log appears to be from a build that lacks my 'ARM: > > entry: fix unwinder problems caused by IRQ stacks' patch, as it > > doesn't show any occurrences of call_with_stack() on any of the call > > stacks. > > > > Do you have a link to the vmlinux and zImage files for this build? > > Yes. > > vmlinux.xz: https://builds.tuxbuild.com/26BmIasJnAyCii0SkgbKarkF369/vmlinux.xz > zImage: https://builds.tuxbuild.com/26BmIasJnAyCii0SkgbKarkF369/zImage > System.map: https://builds.tuxbuild.com/26BmIasJnAyCii0SkgbKarkF369/System.map > Build log: https://builds.tuxbuild.com/26BmIasJnAyCii0SkgbKarkF369/ > This kernel does not appear to have ARM: unwind: set frame.pc correctly for current-thread unwinding ARM: entry: fix unwinder problems caused by IRQ stacks ARM: Revert "unwind: dump exception stack from calling frame" so it is expected that the same issue is still being observed. Could you please try -next with those patches applied?