------------[ cut here ]------------ WARNING: CPU: 0 PID: 13208 at kernel/events/core.c:3752 ctx_sched_in+0x12e/0x3ee kernel/events/core.c:3752 Modules linked in: CPU: 0 PID: 13208 Comm: syz-executor.0 Tainted: G W 5.12.0-rc8-syzkaller-00011-g18a3c5f7abfd #0 Hardware name: riscv-virtio,qemu (DT) epc : ctx_sched_in+0x12e/0x3ee kernel/events/core.c:3752 ra : ctx_sched_in+0x12e/0x3ee kernel/events/core.c:3752 epc : ffffffe00027a674 ra : ffffffe00027a674 sp : ffffffe0253f35a0 gp : ffffffe0045883c0 tp : ffffffe0075fc740 t0 : 0000000000000000 t1 : 0000000000000001 t2 : 00000000000f4240 s0 : ffffffe0253f3610 s1 : ffffffe00c9ae800 a0 : ffffffe066d5c118 a1 : 00000000000f0000 a2 : 0000000000000002 a3 : ffffffe00027a674 a4 : ffffffe0075fd740 a5 : 0000000040000000 a6 : 0000000000f00000 a7 : ffffffe000281354 s2 : 0000000000000007 s3 : ffffffe00c9ae940 s4 : ffffffe0075fc740 s5 : 0000000000000002 s6 : ffffffe00458c0d0 s7 : ffffffe066d5bf70 s8 : 0000000000000007 s9 : ffffffe066d5c118 s10: ffffffe00c9ae800 s11: ffffffe00c9ae808 t3 : f127d7c324757500 t4 : 000000000000093c t5 : ffffffc404d536b3 t6 : 0000000000000005 status: 0000000000000100 badaddr: 0000000000000000 cause: 0000000000000003 Call Trace: [] ctx_sched_in+0x12e/0x3ee kernel/events/core.c:3752 [] perf_event_sched_in+0x38/0x74 kernel/events/core.c:2680 [] perf_event_context_sched_in kernel/events/core.c:3817 [inline] [] __perf_event_task_sched_in+0x4ea/0x680 kernel/events/core.c:3860 [] perf_event_task_sched_in include/linux/perf_event.h:1210 [inline] [] finish_task_switch.isra.0+0x284/0x318 kernel/sched/core.c:4189 [] context_switch kernel/sched/core.c:4325 [inline] [] __schedule+0x484/0xe8c kernel/sched/core.c:5073 [] preempt_schedule_irq+0x4a/0x13e kernel/sched/core.c:5530 [] resume_kernel+0x16/0x18 irq event stamp: 608 hardirqs last enabled at (607): [] preempt_schedule_irq+0x40/0x13e kernel/sched/core.c:5529 hardirqs last disabled at (608): [] __schedule+0x50c/0xe8c kernel/sched/core.c:4972 softirqs last enabled at (0): [] copy_process+0xe66/0x356a kernel/fork.c:2048 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 1c8154508d9604a4 ]---