------------[ cut here ]------------ WARNING: CPU: 0 PID: 8717 at kernel/events/core.c:2781 __perf_install_in_context+0x1c0/0x47c kernel/events/core.c:2781 Modules linked in: CPU: 0 PID: 8717 Comm: syz-executor.0 Tainted: G W 5.12.0-rc8-syzkaller-00011-g18a3c5f7abfd #0 Hardware name: riscv-virtio,qemu (DT) epc : __perf_install_in_context+0x1c0/0x47c kernel/events/core.c:2781 ra : __perf_install_in_context+0x1c0/0x47c kernel/events/core.c:2781 epc : ffffffe00027d7ba ra : ffffffe00027d7ba sp : ffffffe006d6faf0 gp : ffffffe0045883c0 tp : ffffffe00d6f8000 t0 : ffffffc4010b18c0 t1 : 0000000000000001 t2 : 0000000000000000 s0 : ffffffe006d6fb50 s1 : ffffffe00e036000 a0 : ffffffe066d59fa8 a1 : 00000000000f0000 a2 : ffffffd013448000 a3 : ffffffe00027d7ba a4 : ffffffd013453b88 a5 : 0000000000001771 a6 : 0000000000f00000 a7 : ffffffe00027d6ba s2 : ffffffe066d59e00 s3 : ffffffe00e0360a8 s4 : ffffffe007f01800 s5 : ffffffe00d6f8000 s6 : ffffffe066d59e08 s7 : ffffffe00b55d800 s8 : ffffffe00d6f8000 s9 : ffffffe00458c0d0 s10: 0000000000000000 s11: 0000000000000000 t3 : 4e3c456bf9645400 t4 : ffffffc400dadf97 t5 : ffffffc400dadf99 t6 : ffffffe022e10f2c status: 0000000000000100 badaddr: 0000000000000000 cause: 0000000000000003 Call Trace: [] __perf_install_in_context+0x1c0/0x47c kernel/events/core.c:2781 [] 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 irq event stamp: 288 hardirqs last enabled at (287): [] restore_all+0x12/0x6e hardirqs last disabled at (288): [] generic_exec_single+0x1a2/0x212 kernel/smp.c:292 softirqs last enabled at (244): [] __do_softirq+0x5e0/0x8c4 kernel/softirq.c:372 softirqs last disabled at (233): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (233): [] invoke_softirq kernel/softirq.c:228 [inline] softirqs last disabled at (233): [] __irq_exit_rcu kernel/softirq.c:422 [inline] softirqs last disabled at (233): [] irq_exit+0x1a0/0x1b6 kernel/softirq.c:446 ---[ end trace ba23fb15a97806b3 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8717 at kernel/events/core.c:3210 ctx_sched_out+0x312/0x548 kernel/events/core.c:3210 Modules linked in: CPU: 0 PID: 8717 Comm: syz-executor.0 Tainted: G W 5.12.0-rc8-syzkaller-00011-g18a3c5f7abfd #0 Hardware name: riscv-virtio,qemu (DT) epc : ctx_sched_out+0x312/0x548 kernel/events/core.c:3210 ra : ctx_sched_out+0x312/0x548 kernel/events/core.c:3210 epc : ffffffe00027ca5e ra : ffffffe00027ca5e sp : ffffffe006d6fa90 gp : ffffffe0045883c0 tp : ffffffe00d6f8000 t0 : ffffffc4010b18c0 t1 : 0000000000000001 t2 : 0000000000000000 s0 : ffffffe006d6faf0 s1 : ffffffe007f01800 a0 : ffffffe066d59fa8 a1 : 00000000000f0000 a2 : ffffffd013448000 a3 : ffffffe00027ca5e a4 : ffffffd01360cbf8 a5 : 000000000003897f a6 : 0000000000f00000 a7 : ffffffe00027d6ba s2 : ffffffe066d59e00 s3 : 0000000000000004 s4 : 0000000000000000 s5 : 0000000000000000 s6 : ffffffe007f01940 s7 : 0000000000000000 s8 : ffffffe00d6f8000 s9 : ffffffe00458c0d0 s10: 0000000000000000 s11: 0000000000000000 t3 : 4e3c456bf9645400 t4 : ffffffc400dadf97 t5 : ffffffc400dadf99 t6 : ffffffe022e10f2c status: 0000000000000100 badaddr: 0000000000000000 cause: 0000000000000003 Call Trace: [] ctx_sched_out+0x312/0x548 kernel/events/core.c:3210 [] __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 irq event stamp: 288 hardirqs last enabled at (287): [] restore_all+0x12/0x6e hardirqs last disabled at (288): [] generic_exec_single+0x1a2/0x212 kernel/smp.c:292 softirqs last enabled at (244): [] __do_softirq+0x5e0/0x8c4 kernel/softirq.c:372 softirqs last disabled at (233): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (233): [] invoke_softirq kernel/softirq.c:228 [inline] softirqs last disabled at (233): [] __irq_exit_rcu kernel/softirq.c:422 [inline] softirqs last disabled at (233): [] irq_exit+0x1a0/0x1b6 kernel/softirq.c:446 ---[ end trace ba23fb15a97806b4 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8717 at kernel/events/core.c:2668 task_ctx_sched_out+0x5c/0x60 kernel/events/core.c:2668 Modules linked in: CPU: 0 PID: 8717 Comm: syz-executor.0 Tainted: G W 5.12.0-rc8-syzkaller-00011-g18a3c5f7abfd #0 Hardware name: riscv-virtio,qemu (DT) epc : task_ctx_sched_out+0x5c/0x60 kernel/events/core.c:2668 ra : task_ctx_sched_out+0x5c/0x60 kernel/events/core.c:2668 epc : ffffffe00027ccf0 ra : ffffffe00027ccf0 sp : ffffffe006d6fa70 gp : ffffffe0045883c0 tp : ffffffe00d6f8000 t0 : ffffffc4010b18c0 t1 : 0000000000000001 t2 : 0000000000000000 s0 : ffffffe006d6faa0 s1 : ffffffe066d59e00 a0 : ffffffe066d59fa8 a1 : 00000000000f0000 a2 : ffffffd013448000 a3 : ffffffe00027ccf0 a4 : 0000000000040000 a5 : 0000000000040000 a6 : 0000000000f00000 a7 : ffffffe00027d6ba s2 : ffffffe007f01800 s3 : 0000000000000001 s4 : ffffffe00b55d800 s5 : ffffffe0050495a8 s6 : ffffffe007f01800 s7 : ffffffe00433ff80 s8 : 0000000000000000 s9 : ffffffe00458c0d0 s10: 0000000000000000 s11: 0000000000000000 t3 : 4e3c456bf9645400 t4 : ffffffc400dadf97 t5 : ffffffc400dadf99 t6 : ffffffe022e10f2c status: 0000000000000100 badaddr: 0000000000000000 cause: 0000000000000003 Call Trace: [] task_ctx_sched_out+0x5c/0x60 kernel/events/core.c:2668 [] ctx_resched+0xd6/0x1ba kernel/events/core.c:2719 [] __perf_install_in_context+0x214/0x47c kernel/events/core.c:2801 [] 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 irq event stamp: 288 hardirqs last enabled at (287): [] restore_all+0x12/0x6e hardirqs last disabled at (288): [] generic_exec_single+0x1a2/0x212 kernel/smp.c:292 softirqs last enabled at (244): [] __do_softirq+0x5e0/0x8c4 kernel/softirq.c:372 softirqs last disabled at (233): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (233): [] invoke_softirq kernel/softirq.c:228 [inline] softirqs last disabled at (233): [] __irq_exit_rcu kernel/softirq.c:422 [inline] softirqs last disabled at (233): [] irq_exit+0x1a0/0x1b6 kernel/softirq.c:446 ---[ end trace ba23fb15a97806b5 ]---