Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5401711pxv; Wed, 28 Jul 2021 09:51:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJ5WuOHfLP4GGUzeF56zdjfvRaV5+Y5+Yi1tG9AVqzHuy3JEyggry0nuKIsKU3zGQ7ab65 X-Received: by 2002:a05:6402:50d4:: with SMTP id h20mr907980edb.7.1627491113222; Wed, 28 Jul 2021 09:51:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627491113; cv=none; d=google.com; s=arc-20160816; b=VcP4Q7ORuZuKVnsZ5g+t765zNnQkzgAffHQGMJgNyqIKZ1/GpA3eolb7KpfiHDvbJg xkL1mt634BtPUBVfeLTAap/MHiBF4p12xswP3F2vBaZm10yOEDxwnlWB8yvN8qsAXEGy 6D71jD8ooo6whqr2+ix1efo2BslTiAZardJqtzVUMFQdOdcTdNlRbLgRe6cMuXlcOEe2 1sFeRytWr+bBzIbaEnSO1oVvx61Nt/u8Q3348P0iN+jME+EfzPXScdOsDiZr+8gKR9tt WTuVB9AAPxr3GfdDRQJor/cKRGbeWjK9oVI7I9Kpltw00C4S3AhbJKUMAq0rOYIvg2kL nt6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:date:from :dkim-signature; bh=nJXlLpkTlQG+j2g9fJu+5AVUSl9pOmwqtryvrpLl9zY=; b=ulbwBVaMI3FUP/92IgC0ZeePDYY2HTrr3SFORAJg7lZ/d1ts6/4v0OgFoRQkJ3q7oR iGAHxGwHtyjmoULpLvVWflub0DnLP9QFaNa9M5aZLQ4jR9Ghi8wiNJTtp4wiTkXnv/vW PAQh3lH1hP7WUkJmquSPdprEaY31EQSQJlQ30VRhGMVzRk4caQNmC04XwbSvItlzw0Uu KFAEgCk3WIyYMzVVuK5CIgGnPuF0FBhLxSO1r4FwCQjho/mdAzQ+CWbc3mCSEBRPSztb I2leBY3H6tSXoNJ+mVYFP0c8HZT+ObEB1rcCbkjATVPzkN+DVTAvn/NTDGc9Evv4DWB+ /crQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b=SOta93O7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f20si324628ejd.443.2021.07.28.09.51.29; Wed, 28 Jul 2021 09:51:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b=SOta93O7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229977AbhG1Qtv (ORCPT + 99 others); Wed, 28 Jul 2021 12:49:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229974AbhG1Qtu (ORCPT ); Wed, 28 Jul 2021 12:49:50 -0400 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7A47C061757 for ; Wed, 28 Jul 2021 09:49:48 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id t68so2847612qkf.8 for ; Wed, 28 Jul 2021 09:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maine.edu; s=google; h=from:date:to:cc:subject:message-id:mime-version; bh=nJXlLpkTlQG+j2g9fJu+5AVUSl9pOmwqtryvrpLl9zY=; b=SOta93O7KDpbZ3/CfSY3Gv+++hKDiwL0eTalIh/EVOWVeYaMLHjpCpVRsTgbMUBAvT MPJLDPNwinLSvJFNEhKj/4Wc3hAZqcHlU/QDG2y0cHnsDGtmBmVFmIvRQ1CRut6Dsme3 kgWHYqXrnLAAhNdVQZIQ7CMwPYvDQWXdvYc3A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:mime-version; bh=nJXlLpkTlQG+j2g9fJu+5AVUSl9pOmwqtryvrpLl9zY=; b=IpUTboNiWBMjDgnv6MreAPTonjozKORoNw75FVhv7zDHmENxO2j1bKYZhlIuLmTau6 wIppMIyq11mJZaPgz3sn9gTiVqLZRDRwNk2xtrx/M7bzoP50b/EqUdAr487RbTYuWMqD k17+pv3xowcq/DDrNnd0l3qz6b5D1w6xC7eHran8YnEWISIO3HEihpRToPyl4qfSvnAa h0LAg3yB3sMpp90i7dH0S6osrBxqXxEZXsuFAYl3UBScKZY+IT1Aprqatmrf/A2HVUCI GMA1mXFr5C5YHXDKYNRQKCrIlQ29l73oh5mxb/ECmFw1+ywF8PCjJwp06fsXrWq1mYio LCrg== X-Gm-Message-State: AOAM530/7fhVpFTjOW0NlgZ2w82jP/HDvqWrasrs1Fo68yBgMgRW4b0k ucbhX3N4vKXWXU87D29GLtBhfGGfivdE6g== X-Received: by 2002:a37:a04a:: with SMTP id j71mr587084qke.424.1627490987778; Wed, 28 Jul 2021 09:49:47 -0700 (PDT) Received: from macbook-air-3.local (weaver.eece.maine.edu. [130.111.218.23]) by smtp.gmail.com with ESMTPSA id a127sm268955qkc.121.2021.07.28.09.49.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jul 2021 09:49:47 -0700 (PDT) From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Wed, 28 Jul 2021 12:49:43 -0400 (EDT) To: linux-kernel@vger.kernel.org cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim Subject: [perf] fuzzer triggers unchecked MSR access error: WRMSR to 0x318 Message-ID: <37881148-a43e-5fd4-817c-a875adc7a15f@maine.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello ther perf_fuzzer on current linux-git on a Haswell system triggers the following. I've truncated the call chain, as it goes on for quite a while, let me know if you want/need more information. Vince [32694.087403] unchecked MSR access error: WRMSR to 0x318 (tried to write 0x0000000000000000) at rIP: 0xffffffff8106f854 (native_write_msr+0x4/0x20) [32694.101374] Call Trace: [32694.103974] perf_clear_dirty_counters+0x86/0x100 [32694.109027] switch_mm_irqs_off+0x1d0/0x430 [32694.113498] __schedule+0x29f/0x1490 [32694.117300] ? cr4_update_irqsoff+0x2a/0x30 [32694.121762] ? switch_mm_irqs_off+0x1ba/0x430 [32694.126418] ? rcu_eqs_exit.constprop.0+0x2e/0x60 [32694.131515] ? cpuidle_enter_state+0xb7/0x350 [32694.136152] schedule_idle+0x26/0x40 [32694.139974] do_idle+0x16e/0x280 [32694.143421] cpu_startup_entry+0x19/0x20 [32694.147643] secondary_startup_64_no_verify+0xb0/0xbb [32694.973583] Call Trace: [32694.976215] perf_clear_dirty_counters+0x86/0x100 [32694.981290] switch_mm_irqs_off+0x1d0/0x430 [32694.985797] __schedule+0x29f/0x1490 [32694.989664] ? cr4_update_irqsoff+0x2a/0x30 [32694.994134] ? switch_mm_irqs_off+0x1ba/0x430 [32694.998789] ? rcu_eqs_exit.constprop.0+0x2e/0x60 [32695.003831] ? cpuidle_enter_state+0xb7/0x350 [32695.008521] schedule_idle+0x26/0x40 [32695.012362] do_idle+0x16e/0x280 [32695.015838] cpu_startup_entry+0x19/0x20 [32695.020041] secondary_startup_64_no_verify+0xb0/0xbb [32695.126530] Call Trace: [32695.129184] perf_clear_dirty_counters+0x86/0x100 [32695.134268] switch_mm_irqs_off+0x1d0/0x430 [32695.138757] __schedule+0x29f/0x1490 [32695.142577] ? tick_nohz_get_sleep_length+0x6b/0xa0 [32695.147806] ? rcu_eqs_exit.constprop.0+0x2e/0x60 [32695.152806] ? cpuidle_enter_state+0xb7/0x350 [32695.157500] schedule_idle+0x26/0x40 [32695.161342] do_idle+0x16e/0x280 [32695.164798] cpu_startup_entry+0x19/0x20 [32695.169010] secondary_startup_64_no_verify+0xb0/0xbb