------------[ cut here ]------------ WARNING: CPU: 1 PID: 15636 at kernel/events/core.c:3752 ctx_sched_in+0x12e/0x3ee kernel/events/core.c:3752 Modules linked in: CPU: 1 PID: 15636 Comm: syz-executor.1 Not tainted 5.12.0-rc6-syzkaller-00183-g79c338ab575e #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 : ffffffe000279fe8 ra : ffffffe000279fe8 sp : ffffffe0060938d0 gp : ffffffe004588ad0 tp : ffffffe006605f00 t0 : 0000000000000000 t1 : 0000000000000001 t2 : 00000000000f4240 s0 : ffffffe006093940 s1 : ffffffe00a07a800 a0 : ffffffe067d79118 a1 : 00000000000f0000 a2 : 0000000000000002 a3 : ffffffe000279fe8 a4 : ffffffe006606f00 a5 : 0000000040000002 a6 : 0000000000f00000 a7 : ffffffe000280cc8 s2 : 0000000000000007 s3 : ffffffe00a07a940 s4 : ffffffe006605f00 s5 : 0000000000000002 s6 : ffffffe00458c0d0 s7 : ffffffe067d78f70 s8 : 0000000000000007 s9 : ffffffe067d79118 s10: ffffffe00a07a800 s11: ffffffe00a07a808 t3 : 7c2960167f167a00 t4 : ffffffc403b647b2 t5 : ffffffc403b647ba t6 : 0000000000040000 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_common+0x4e/0xde kernel/sched/core.c:5233 [] preempt_schedule kernel/sched/core.c:5258 [inline] [] try_to_wake_up+0x57a/0x896 kernel/sched/core.c:3470 [] wake_up_process kernel/sched/core.c:3533 [inline] [] wake_up_q+0x58/0xb0 kernel/sched/core.c:587 [] futex_wake+0x242/0x25c kernel/futex.c:1630 [] do_futex+0x15e/0xe62 kernel/futex.c:3739 [] __do_sys_futex kernel/futex.c:3797 [inline] [] sys_futex+0x1c2/0x280 kernel/futex.c:3763 [] ret_from_syscall+0x0/0x2