Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp3565510rwb; Sun, 30 Jul 2023 10:22:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlEipea05lgOVtVNKvK8FIlUYhU8y01sfExYFtZ98+2C90FjyrHG1MC4MzytJb99NqIt0oBY X-Received: by 2002:a05:6a20:7f9a:b0:13a:43e8:3fb8 with SMTP id d26-20020a056a207f9a00b0013a43e83fb8mr9051920pzj.54.1690737742977; Sun, 30 Jul 2023 10:22:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690737742; cv=none; d=google.com; s=arc-20160816; b=KOCrq8jnaLZ6yJ3JUwaYtYVSnSVoaXWABSSqdRnJGV24fZRFAdTIBMwuPUU6ixLuUu 4SqZJ77+v1jrPpXi/eWskKDueg1bNLIT5JJUv3jKAx13A8v6CTE3gVVmSEbKyTMFiP4P sDyPJmRZHeSR5QIyeALhY0/vwu/S/fiYqWGpYmFspzf5xBeeum+urngAMjiBb4L7H/8+ B09xnSpcs4dF2NuMxG9gZIg5tn4wqXMYIVaUgzBJQVHbP9VZlDoqKUDMkbz/OjsUCHwn pDhOMFWvuTgXfIHpda7vZDQZYEdBQhwMV9NP2NFLgstlo8XDaD3+mO+kqRgjjddb1j6O McZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:user-agent:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=JSTBHz5eCuGdFyzClNtvhsbwM1w9jgNo/T2wLbfG7N0=; fh=MI111mJvlFgDDZD/u5HKolrfyzeutLzSvsioUFBZpXs=; b=OEQHNfCoXZUJNhOZt/KdETaZ/PlXV6t5HsIrMkljS/wxWYwSJMZgWsLrWfHjWep+Rd uBGsXwOU3DBFPQ47O/jsn1h/8Dj/Gs1GU+WaYr3iIMgbGhQ4cqcdNWCm6xO5CmwajL/g 5xEMrxizFzWyw0doLDOyRsvUQUD09Tkt+mzR3VItjF2pdW5TvbGU0cMZ/YAhfyks4ubj /QD8QmzQ2+dR/xIeMvVCwodIAOA6GRpZs1frFMhK8/5EreDe8D/aj2DsH6hLOXMn9qVV 41zyonqLdX//9PSk0fXhowPl6cRR3cTCCPli22lTVY73otfAVYxQsLBpWl084db5d7pN Fxyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=ny85DKkV; 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=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b26-20020a6567da000000b0056418c08652si4513061pgs.811.2023.07.30.10.22.08; Sun, 30 Jul 2023 10:22:22 -0700 (PDT) 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=@gmx.de header.s=s31663417 header.b=ny85DKkV; 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=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229595AbjG3QJ1 (ORCPT + 99 others); Sun, 30 Jul 2023 12:09:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbjG3QJ0 (ORCPT ); Sun, 30 Jul 2023 12:09:26 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31CF610F9 for ; Sun, 30 Jul 2023 09:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1690733356; x=1691338156; i=efault@gmx.de; bh=30KU6uhA2dYHzSo+IuxIfT+wc1vnoytUNnxdaHVwU04=; h=X-UI-Sender-Class:Subject:From:To:Cc:Date:In-Reply-To:References; b=ny85DKkVL3UimhYcC3Wh+BYRpLdHOJiFn9X/1lc4XWQ69unj9g9Av5pXtF83ygWvmNzxPM+ ipgy+AC/bfjUr8I5dxzeU9dBUvM9k35etfDetlxDO+hgWndulN7ez6ZWlvJzfN9OvKKCo6z08 pbJwHlMHyilCSy8ZL51qukSf2xKpMRBY832UFBgl4kR1EQZFgg4YJF3g4g9kKs3z0qIT0HWJx BGUTOZ28LCKGYa9TDVihHE0GtwHRBT5RmmMsOG6nsWbu73jpUm9iwxdFn7bk/HRwGpvhPZj3X VROAkfzdBGXJi2A64Qkmz/eeZt6bqiQKEtxfh6sTigoVxPYJ0XvA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from homer.fritz.box ([185.221.149.208]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N4hzj-1pgjt511j5-011l3r; Sun, 30 Jul 2023 18:09:16 +0200 Message-ID: <8c56256399e2e6c41bc574749d6170d5529f24fc.camel@gmx.de> Subject: Re: arm64: perf test 26 rpi4 oops From: Mike Galbraith To: Will Deacon Cc: lkml , Mark Rutland Date: Sun, 30 Jul 2023 18:09:15 +0200 In-Reply-To: <20230728141852.GA21718@willie-the-truck> References: <20230728141852.GA21718@willie-the-truck> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:u1OuaKafwCesQFew5dhGh/4P0ibEODRjLUO1MgtdymAL5jrnwxz ZCwzUxfqPbLYaeLsMKUO+oievmIte/K1y6lYvgUeSsIa899OpXz/WhrlIHjW39PM+jHWgsw l0Cot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gkUN0tu47mmOlFcClg4HvDLbHK gmOdAZlByUrbkVBm4h3Rdlbi6xk= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 Fri, 2023-07-28 at 15:18 +0100, Will Deacon wrote: > > Looking at this quickly with Mark, the most likely explanation is that > a bogus kernel address is being passed as the source pointer to > copy_to_user(). 'start' in read_kcore_iter() is bogus a LOT when running perf test 26, and that back to at least 5.15. Seems removal of bogon-proofing gave a toothless old bug teeth, but seemingly only to perf test 26. Rummaging around with crash vmlinux /proc/kcore seems to be bogon free anyway. Someone should perhaps take a peek at perf. Bogons aside, it also doesn't seem to care deeply about kernel response. Whether the kernel oops or I bat 945 bogons aside, it says 'OK'. That seems a tad odd. -Mike