Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2674225pxj; Mon, 17 May 2021 07:15:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyMonOvH/lBgWrPCTpRQBDFMCEpo63Fv7Xtl6f7cj8AmfwJs5rZ/9YpJAjKFBzhjIN4poZ X-Received: by 2002:a17:906:1f54:: with SMTP id d20mr156725ejk.94.1621260910312; Mon, 17 May 2021 07:15:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621260910; cv=none; d=google.com; s=arc-20160816; b=M/TqMAp4s14EgjBVwFvixJpouZ75oVgIy8mHhfPkox8H/XW7EAXNrMiW2aXjDpO+XK y/7qZwmwOhjjugYHSchLUPmfkryf6pSYlNn751IjvFf6bcPDk1Woq73Ep1nQSwsrz8He 5zTLOrQpn9S9pj4q21Ba6GoV380omvfSFKncxdGTJrDG/O44zNMul5iWKW+mXSBR8vNW 0tadI3bPMKpJ7fcAVz332ugZIZdbC/AE80sTXCKy79w4/EuTBCsk7q1LaVPgBjwXJGfy +btpSVObMIezw21C9xfjjZDc3YDQabi4tJRPxA958+FdFef0ttfAVhYFTkSucimcJST4 T9ow== 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=US7LpJWCwtTmFe0Y8kLTeXtbSfCIEwq3UZFrYiM9u4c=; b=eU1hA2j7udbpM9wuO8BBoFu3NvAbaVe/tiULDOLKvRRFeUq/euXJpCfd/wbPDj9YE9 ufAH1uETSiLtwH6QCjO+qshVWfxGZKo9QOq26/VPvAgq9V62Tc8ig9d8jj8UDZy9THSV ouPrgiiy5cQGvLpfVeG7ilILXoi05EQJLhZvKTpCEJEYQsMJ2tNUKx/buNdZQasbRG3C zNBtKttjgqMuHwk7w/91Fh4ttwg2kW6p+CGHiAJCIynMb7OPhTZTIyC54DAvOs+7CMX3 fzdLXAjvCHYcnZiwFiEw2HvKCTdQtSF0SicpG/c4qTnqnfvrYowKDsUzuvGOtrbz7rNH RJAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="SxM/7RVH"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m11si405116edc.201.2021.05.17.07.14.45; Mon, 17 May 2021 07:15:10 -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=@google.com header.s=20161025 header.b="SxM/7RVH"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235009AbhEQMrr (ORCPT + 99 others); Mon, 17 May 2021 08:47:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231591AbhEQMrn (ORCPT ); Mon, 17 May 2021 08:47:43 -0400 Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECD24C06175F for ; Mon, 17 May 2021 05:46:25 -0700 (PDT) Received: by mail-qv1-xf32.google.com with SMTP id z1so2985063qvo.4 for ; Mon, 17 May 2021 05:46:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=US7LpJWCwtTmFe0Y8kLTeXtbSfCIEwq3UZFrYiM9u4c=; b=SxM/7RVHpba+L5Xt5BhFbsOC3V88HhUnMKoyePQGE6WaILJzZDs+jWlR7fhVDQ5XoR B9cWducwqElS89loGL8jnaLV88WhUg1mcik87unj2Zk1abJFRr1v70rv5senetfLqJjW MJIYokWCm/v8sQldUk0uExPs8VQHs2hi53wxXAedDRZ/yDaosI96UTWsk7CZHeWRdYz8 OeuEO0EGu5TJSKVG+IO8bhzp6ZMi6N5CJI1BjV/JKHo8OZlDGJFi7abdDlbLfb3HfKLY 8rGTLw+ZYed+2hcAJTTBVwkCmUgOcPumTd8uJOF7CMXLqfNZQT3YufAAedU6ctJ0kB/v wE1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=US7LpJWCwtTmFe0Y8kLTeXtbSfCIEwq3UZFrYiM9u4c=; b=mu2fhsVf+xxOZV2Juhkga3+Hq+LqIdvCbHRy7k49zNLgYiVCXjsUYiwLvQgiSOPJUM k/fzLdUr+bOb1jIja58qHoA0Q2OtIfvvFzOQsf/j+BXG4aCj219KDNg30jlwjnb7kcAg fQYvLmqBoOCZsdkreWWkSnV0h2YHZ1HQeQeya7wvcXN6SEULIxhVvW/itXeTGDlnblJQ F39gDNljyztSIW30EmG5apC158PuacRu3kztQCcnlFI2sYUUYvHwrmQ/PijgLteDbfCa SBbioUdEf0HX/OKF+1fSnIwPp9MlqUFoL1lJ8+RP4491xptc4wOxa4aGzhAxomsgtaIb WMvQ== X-Gm-Message-State: AOAM530UXE1t3xAbqe67ag8wpacaUSLCfBhc6AROkCuUu/0rzYha3fCi TfKU5imtWXYvl0kZfvly9Y2rNDXKecy4wTYxlxmezg== X-Received: by 2002:a05:6214:1705:: with SMTP id db5mr19714811qvb.13.1621255584959; Mon, 17 May 2021 05:46:24 -0700 (PDT) MIME-Version: 1.0 References: <000000000000b3d89a05c284718f@google.com> In-Reply-To: From: Dmitry Vyukov Date: Mon, 17 May 2021 14:46:13 +0200 Message-ID: Subject: Re: [syzbot] WARNING in __perf_install_in_context To: Peter Zijlstra , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv Cc: syzbot , Arnaldo Carvalho de Melo , Alexander Shishkin , andrii@kernel.org, Alexei Starovoitov , bpf , Daniel Borkmann , John Fastabend , Jiri Olsa , Martin KaFai Lau , kpsingh@kernel.org, LKML , Mark Rutland , Ingo Molnar , Namhyung Kim , netdev , Song Liu , syzkaller-bugs , Yonghong Song Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 17, 2021 at 1:28 PM Peter Zijlstra wrote: > > On Mon, May 17, 2021 at 03:56:22AM -0700, syzbot wrote: > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit: 18a3c5f7 Merge tag 'for_linus' of git://git.kernel.org/pub.. > > git tree: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes > > console output: https://syzkaller.appspot.com/x/log.txt?x=1662c153d00000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=b8ac1fe5995f69d7 > > dashboard link: https://syzkaller.appspot.com/bug?extid=0fb24f56fa707081e4f2 > > userspace arch: riscv64 > > > > Unfortunately, I don't have any reproducer for this issue yet. > > > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > > Reported-by: syzbot+0fb24f56fa707081e4f2@syzkaller.appspotmail.com > > > > ------------[ cut here ]------------ > > WARNING: CPU: 1 PID: 8643 at kernel/events/core.c:2781 __perf_install_in_context+0x1c0/0x47c kernel/events/core.c:2781 > > Modules linked in: > > CPU: 1 PID: 8643 Comm: syz-executor.0 Not tainted 5.12.0-rc8-syzkaller-00011-g18a3c5f7abfd #0 > > Hardware name: riscv-virtio,qemu (DT) > > How serious should I take this thing? ARM64 and x86_64 don't show these > errors. +riscv mainters for this question Is perf on riscv considered stable?