Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp321038pxp; Wed, 9 Mar 2022 03:46:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyslC4dgM41aVKnTTRpcOrifwMBJet55wenb0zIXjNEVvqkQ7Env99gvFTeZ+0+BtMUnLYo X-Received: by 2002:a63:2250:0:b0:372:c564:621b with SMTP id t16-20020a632250000000b00372c564621bmr18286400pgm.601.1646826381219; Wed, 09 Mar 2022 03:46:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646826381; cv=none; d=google.com; s=arc-20160816; b=Y9dQbj2YWIYqU7S3yJSfKTR+uk3u61uk0nspl6PA4C9H3a4bHblIvhVjjHpsGsFjFx bhDXBkvWML9wZT9nJ03detSzOTf6EyUZyH0lfIKjMSfI9ctCvxKVAi9no4A2IDI6cFW8 diZh4dqgP7B2QMUmTaaVhNilS/byLDfRlOM2THoGqOjRIGfQiywBT+WD4XHJGOgb8y+6 essx8W6DBmKMATaC3Hq3XHOUFzxIovUH4ZS2hqPoKCQ+3pc5ukfISXefKpzbGjVasDSR +E1yYTV1+2neReFcveG1gpPD+kW/Wp+aQOLPPjOqAva2S250jLrsDK8C6lbdgrOP/rVc AFgA== 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=GvTSs4P6z3GIxElft6y3pJ5+df73IMKa3LB60AFyHIo=; b=BqWZbs0EE/2uHzcrHY8aiwZ7EdchWTPuBaYtS9v8QZidyueJ+oXgYjH547yQEpv99g oBjPg69HfnjALL9+KPE1sKZCzIhSqFoAFY4bE5I845L7vF2QQe7SMmAVT/ggnfhfgnoM gdEbp0l6d27+KNb9J+8UN6u+5Vl6k4YmPbqS+3DpxAUUUkgfkbsTEuxmVdMXH3Rs02I3 Nk++NAg1BWmwLzLbNeEY6359AK4SVqlYTPdEB3mrGoXRl4v2UZFvap3VqYMZd0t2fwEN iKZ5T5LCZD0HcLrduFxI8/B1veTLqFhGE8Axt+Jk6zzmCiBTn7VqfISk8QN+Z5mhQmT9 fZrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aErSMPJJ; 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 s24-20020a17090a5d1800b001bf5531ee72si1583493pji.15.2022.03.09.03.45.51; Wed, 09 Mar 2022 03:46:21 -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=aErSMPJJ; 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 S231479AbiCIKrv (ORCPT + 99 others); Wed, 9 Mar 2022 05:47:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231433AbiCIKrq (ORCPT ); Wed, 9 Mar 2022 05:47:46 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D55C6C941; Wed, 9 Mar 2022 02:46:48 -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 ams.source.kernel.org (Postfix) with ESMTPS id C878BB82021; Wed, 9 Mar 2022 10:46:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E3B8C340F5; Wed, 9 Mar 2022 10:46:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646822805; bh=GvTSs4P6z3GIxElft6y3pJ5+df73IMKa3LB60AFyHIo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=aErSMPJJ6BLrUbfxJ4lK0iPuz5ZuRX8lqChT4uFXgldtX75U6Qr9UF9jajFgG84mp 9CPa16zaTn6UbfEgN9IoDS8ZYf+nMiDaDfl+QCFpc8JWV8ldt7SdBhhgO/0U9XCz9I ntncqIBXDiF2WfbW2rHZIdjX6tFXtZAEvwboN27Du4f+3MU7MxFWW18CHbOWuci9hs YrO7DJc2IRWpMc7W4dGPoo3rbg5mLqSHXpQgSuK5BPai26DOFtpBgDlnW5n+1QG39C hVDx7ZGfsLbpbVJA45FWQjaU2VoN+02ua/ClUNlteYNfAKHbCAv8JyKR018tahxO0M dt71slNyClHkA== Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-2d07ae0b1c4so17630087b3.11; Wed, 09 Mar 2022 02:46:45 -0800 (PST) X-Gm-Message-State: AOAM530fbUalr2mYeELCCLc9Fm95ALfggsmHKw4NfbuIB72XRgZxeQaH EJmy6RtwU1OdOnbGZ1CXhaVY6wCZG3p6Gw6288E= X-Received: by 2002:a81:e90c:0:b0:2db:d63e:56ff with SMTP id d12-20020a81e90c000000b002dbd63e56ffmr16991596ywm.60.1646822804316; Wed, 09 Mar 2022 02:46:44 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ard Biesheuvel Date: Wed, 9 Mar 2022 11:46:33 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [next] arm: Internal error: Oops: 5 PC is at __read_once_word_nocheck To: "Russell King (Oracle)" Cc: Naresh Kamboju , 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 Wed, 9 Mar 2022 at 11:37, Russell King (Oracle) wrote: > > On Wed, Mar 09, 2022 at 03:18:12PM +0530, Naresh Kamboju wrote: > > While boting linux next-20220308 on BeagleBoard-X15 and qemu arm the following > > kernel crash reported which is CONFIG_KASAN enabled build [1] & [2]. > > The unwinder is currently broken in linux-next. Please try reverting > 532319b9c418 ("ARM: unwind: disregard unwind info before stack frame is > set up") > Yeah. This is the same spot Corentin hit before, where the double dereference of vsp is not guarded by anything like get_kernel_nofault(). We should probably fix that, but that doesn't address the underlying issue, of course. I'm a bit puzzled, though, that this appears now, and didn't before. Naresh, I take it you did not see this occurring on earlier linux-nexts? I'll try to reproduce this, and see if I can make sense of it. In the mean time, please do the revert Russell suggested, and if that doesn't help, maybe try a bisect?