From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC037C433B4 for ; Mon, 17 May 2021 10:35:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B4E0861076 for ; Mon, 17 May 2021 10:35:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236420AbhEQKhC (ORCPT ); Mon, 17 May 2021 06:37:02 -0400 Received: from mail-io1-f69.google.com ([209.85.166.69]:53958 "EHLO mail-io1-f69.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236047AbhEQKhB (ORCPT ); Mon, 17 May 2021 06:37:01 -0400 Received: by mail-io1-f69.google.com with SMTP id i187-20020a6b3bc40000b029043a2c9683dfso2965693ioa.20 for ; Mon, 17 May 2021 03:35:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=iywxSo2lx3kZ1fCQDpQVN15Vtz3n4hPyATpxCDp6BbU=; b=jlowRxnHuYgE3meK+ZIhHYqy7NivzOL1zA/L0Q7KWwLAPxtQpDa4r3nqRZBAixSpjc WVBvIt8ywlPRfqbCH2DNkG0ghvTZFMgfiPLOfP8HDN73RXBeu/PvHtCw5aTX1K6/0j1+ ZwCOy6fvDOXVuPwcpAJqosHrIm09utPWb01JJu41cJdoGV3Trp7CcKsYTZXsLBtPcwmo A09lFs1QVRbUUt3l3pqE98CjfrADzrD0U5bH5DbGUJrZcr3feZNBC4VVAEssMXPmux9d rK8zORQyVvpHTZ/4yAtLt6bERpcOsrH27778lrEkwEZAMs5yZUFENc9mdFSGd8GRuR8n zeSg== X-Gm-Message-State: AOAM531FRQnxfAziZzzTcGDX/FoImlx0CJEFEHWqrKjuyJEWtSdLsnoU QO1G+2XwrYs043ZRyL31Y/jqyCOAIOo9c7M+inGIj+EnrW3c X-Google-Smtp-Source: ABdhPJzigzC05NsRon/Bi7ggPaRHOedoVm602oMpajmLvm3xYJiKUjUOC4+J44K7u/RBbIv6lORutlBUBRtLhLivv9Uza1mDa5wE MIME-Version: 1.0 X-Received: by 2002:a02:cac6:: with SMTP id f6mr2991780jap.142.1621247744762; Mon, 17 May 2021 03:35:44 -0700 (PDT) Date: Mon, 17 May 2021 03:35:44 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000eb645905c28427b5@google.com> Subject: [syzbot] WARNING in ctx_sched_out From: syzbot To: acme@kernel.org, alexander.shishkin@linux.intel.com, andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, john.fastabend@gmail.com, jolsa@redhat.com, kafai@fb.com, kpsingh@kernel.org, linux-kernel@vger.kernel.org, mark.rutland@arm.com, mingo@redhat.com, namhyung@kernel.org, netdev@vger.kernel.org, peterz@infradead.org, songliubraving@fb.com, syzkaller-bugs@googlegroups.com, yhs@fb.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 79c338ab riscv: keep interrupts disabled for BREAKPOINT ex.. 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=12d1bb9ad00000 kernel config: https://syzkaller.appspot.com/x/.config?x=f8af20e245283c9a dashboard link: https://syzkaller.appspot.com/bug?extid=728b5fa8935674c320bf 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+728b5fa8935674c320bf@syzkaller.appspotmail.com ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5748 at kernel/events/core.c:3219 ctx_sched_out+0x544/0x548 kernel/events/core.c:3219 Modules linked in: CPU: 1 PID: 5748 Comm: syz-executor.0 Not tainted 5.12.0-rc6-syzkaller-00183-g79c338ab575e #0 Hardware name: riscv-virtio,qemu (DT) epc : ctx_sched_out+0x544/0x548 kernel/events/core.c:3219 ra : ctx_sched_out+0x544/0x548 kernel/events/core.c:3219 epc : ffffffe00027c604 ra : ffffffe00027c604 sp : ffffffe01e84ba90 gp : ffffffe004588ad0 tp : ffffffe007ba2f80 t0 : ffffffc400f57234 t1 : 0000000000000001 t2 : 0000000000000000 s0 : ffffffe01e84baf0 s1 : ffffffe006c8dc00 a0 : ffffffe067d79118 a1 : 00000000000f0000 a2 : ffffffd013437000 a3 : ffffffe00027c604 a4 : ffffffd01343ddb0 a5 : 0000000000000db6 a6 : 0000000000f00000 a7 : ffffffe00027d02e s2 : ffffffe067d78f70 s3 : 0000000000000000 s4 : ffffffe067d79118 s5 : 0000000000000001 s6 : ffffffe006c8dd40 s7 : 0000000000000000 s8 : ffffffe007ba2f80 s9 : ffffffe00458c0d0 s10: 0000000000000000 s11: 0000000000000000 t3 : dca1909648c0c800 t4 : ffffffc403d09797 t5 : ffffffc403d09799 t6 : ffffffe00d5a321c status: 0000000000000100 badaddr: 0000000000000000 cause: 0000000000000003 Call Trace: [] ctx_sched_out+0x544/0x548 kernel/events/core.c:3219 [] __perf_install_in_context+0x1f4/0x47c kernel/events/core.c:2799 [] remote_function kernel/events/core.c:91 [inline] [] remote_function+0xa8/0xc0 kernel/events/core.c:71 [] generic_exec_single+0x1a6/0x212 kernel/smp.c:293 [] smp_call_function_single+0x134/0x2ba kernel/smp.c:513 [] task_function_call+0x90/0xee kernel/events/core.c:119 [] perf_install_in_context+0x174/0x2e6 kernel/events/core.c:2902 [] __do_sys_perf_event_open+0x10ea/0x199e kernel/events/core.c:12169 [] sys_perf_event_open+0x34/0x46 kernel/events/core.c:11775 [] ret_from_syscall+0x0/0x2 --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot.