------------[ cut here ]------------ WARNING: CPU: 1 PID: 29655 at kernel/events/core.c:3787 ctx_sched_in+0x1d8/0x444 kernel/events/core.c:3787 Modules linked in: CPU: 1 PID: 29655 Comm: syz-executor.0 Not tainted 5.13.0-rc4-syzkaller #0 Hardware name: linux,dummy-virt (DT) pstate: 000000c5 (nzcv daIF -PAN -UAO -TCO BTYPE=--) pc : ctx_sched_in+0x1d8/0x444 kernel/events/core.c:3787 lr : lock_is_held include/linux/lockdep.h:283 [inline] lr : ctx_sched_in+0x158/0x444 kernel/events/core.c:3777 sp : ffff80001bbe7440 x29: ffff80001bbe7440 x28: 0000000000000000 x27: 0000000000000007 x26: ffff00000d653480 x25: 0000000000000007 x24: ffff00000d58c540 x23: 1fffe00001ab18a8 x22: ffff800015fbf000 x21: fffffbffeffdeb58 x20: 1ffff0000377ce96 x19: ffff00000d58c400 x18: ffff00006a9efb48 x17: 0000000000000000 x16: 0000000000000000 x15: ffff00006a9efb7c x14: 1ffff0000377ce70 x13: 0000000000000001 x12: ffff70000377ce9b x11: 1ffff0000377ce9a x10: 0000000000000000 x9 : 0000000000000001 x8 : 00000000f1f1f1f1 x7 : ffff70000377ce96 x6 : ffff8000154d24d0 x5 : 1fffe00001ab18a7 x4 : 0000000000000003 x3 : 1fffe00001aca691 x2 : 1fffff7ffdffbda0 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: ctx_sched_in+0x1d8/0x444 kernel/events/core.c:3787 perf_event_sched_in+0x48/0xac kernel/events/core.c:2695 perf_event_context_sched_in kernel/events/core.c:3852 [inline] __perf_event_task_sched_in+0x52c/0x92c kernel/events/core.c:3895 perf_event_task_sched_in include/linux/perf_event.h:1205 [inline] finish_task_switch.isra.0+0x390/0x6f0 kernel/sched/core.c:4208 context_switch kernel/sched/core.c:4342 [inline] __schedule+0x81c/0x1d30 kernel/sched/core.c:5147 preempt_schedule_common+0xa4/0x2a0 kernel/sched/core.c:5307 preempt_schedule+0x60/0x6c kernel/sched/core.c:5332 try_to_wake_up+0x838/0xf00 kernel/sched/core.c:3489 wake_up_process kernel/sched/core.c:3552 [inline] wake_up_q+0xa0/0x124 kernel/sched/core.c:597 futex_wake+0x2b0/0x390 kernel/futex.c:1634 do_futex+0x260/0x1380 kernel/futex.c:3737 __do_sys_futex_time32 kernel/futex.c:3984 [inline] __se_sys_futex_time32 kernel/futex.c:3967 [inline] __arm64_sys_futex_time32+0x15c/0x61c kernel/futex.c:3967 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x6c/0x260 arch/arm64/kernel/syscall.c:52 el0_svc_common.constprop.0+0xc4/0x1e4 arch/arm64/kernel/syscall.c:145 do_el0_svc_compat+0x40/0x80 arch/arm64/kernel/syscall.c:190 el0_svc_compat+0x24/0x3c arch/arm64/kernel/entry-common.c:483 el0_sync_compat_handler+0x90/0x140 arch/arm64/kernel/entry-common.c:492 el0_sync_compat+0x19c/0x1c0 arch/arm64/kernel/entry.S:743 irq event stamp: 186 hardirqs last enabled at (185): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (185): [] _raw_spin_unlock_irqrestore+0x108/0x180 kernel/locking/spinlock.c:191 hardirqs last disabled at (186): [] __schedule+0xfbc/0x1d30 kernel/sched/core.c:5043 softirqs last enabled at (140): [] test_and_clear_bit include/asm-generic/bitops/atomic.h:51 [inline] softirqs last enabled at (140): [] test_and_clear_ti_thread_flag include/linux/thread_info.h:112 [inline] softirqs last enabled at (140): [] fpsimd_restore_current_state+0x3c/0x120 arch/arm64/kernel/fpsimd.c:1172 softirqs last disabled at (138): [] get_cpu_fpsimd_context+0x0/0xa0 include/asm-generic/bitops/non-atomic.h:106 ---[ end trace bb01990225734c65 ]---