------------[ cut here ]------------ WARNING: CPU: 0 PID: 10835 at kernel/events/core.c:1978 perf_group_attach+0x396/0x450 kernel/events/core.c:1978 Modules linked in: CPU: 0 PID: 10835 Comm: syz-executor.3 Not tainted 5.10.60 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:perf_group_attach+0x396/0x450 kernel/events/core.c:1978 Code: 48 c1 e8 03 42 80 3c 20 00 75 5f 48 8b 5b 10 48 83 eb 10 48 39 dd 75 d4 5b 5d 41 5c 41 5d 41 5e e9 0f fd f2 ff e8 0a fd f2 ff <0f> 0b e9 b1 fd ff ff 48 c7 c7 3c 3b 47 85 e8 d7 ec 1d 00 e9 b9 fc RSP: 0018:ffff88806ce09ef0 EFLAGS: 00010046 RAX: 0000000080010003 RBX: ffff8880174d6000 RCX: ffffffff814c5edf RDX: ffff88803be9b280 RSI: ffffffff814c61a6 RDI: ffff8880174d6220 RBP: ffff8880481c1000 R08: 0000000000000001 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88803319f400 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88806ce37748 FS: 0000000002e69400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5111f4c718 CR3: 0000000044d86000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: add_event_to_ctx kernel/events/core.c:2673 [inline] __perf_install_in_context+0x246/0x2d0 kernel/events/core.c:2824 remote_function kernel/events/core.c:88 [inline] remote_function+0x126/0x1b0 kernel/events/core.c:68 flush_smp_call_function_queue+0x1b8/0x5e0 kernel/smp.c:395 __sysvec_call_function_single+0x92/0x370 arch/x86/kernel/smp.c:248 asm_call_irq_on_stack+0x12/0x20 __run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline] run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline] sysvec_call_function_single+0x7f/0xa0 arch/x86/kernel/smp.c:243 asm_sysvec_call_function_single+0x12/0x20 arch/x86/include/asm/idtentry.h:643 RIP: 0010:_raw_spin_unlock_irq+0x27/0x30 kernel/locking/spinlock.c:200 Code: 44 00 00 55 48 8b 74 24 08 48 89 fd 48 8d 7f 18 e8 ae aa 4c fd 48 89 ef e8 56 61 4d fd e8 21 be 6b fd fb 65 ff 0d 79 1b 28 7c <5d> c3 0f 1f 80 00 00 00 00 55 48 89 fd 48 83 c7 18 53 48 89 f3 48 RSP: 0018:ffff88800cf6f8a0 EFLAGS: 00000282 RAX: 00000000000009cf RBX: ffff88803be9b280 RCX: 1ffffffff0a8dee9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83d9d3bf RBP: ffff88806ce33200 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88806ce33200 R13: ffff88804bdab280 R14: 0000000000000000 R15: 0000000000000001 finish_lock_switch kernel/sched/core.c:3513 [inline] finish_task_switch+0x126/0x5d0 kernel/sched/core.c:3613 context_switch kernel/sched/core.c:3777 [inline] __schedule+0x853/0x1e90 kernel/sched/core.c:4523 schedule+0xcb/0x270 kernel/sched/core.c:4601 freezable_schedule include/linux/freezer.h:172 [inline] futex_wait_queue_me+0x2ae/0x580 kernel/futex.c:2607 futex_wait+0x1df/0x5d0 kernel/futex.c:2709 do_futex+0xf85/0x19f0 kernel/futex.c:3735 __do_sys_futex kernel/futex.c:3798 [inline] __se_sys_futex kernel/futex.c:3764 [inline] __x64_sys_futex+0x200/0x570 kernel/futex.c:3764 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x466609 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff3080b7f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 0000000000000032 RCX: 0000000000466609 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000056c044 RBP: 000000000056c044 R08: 000000000000053f R09: 0000000000000000 R10: 00007fff3080b8d0 R11: 0000000000000246 R12: 0000000000147f00 R13: 00000000000003e8 R14: 000000000056bf80 R15: 0000000000147ea9 irq event stamp: 2512 hardirqs last enabled at (2511): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (2511): [] _raw_spin_unlock_irq+0x1f/0x30 kernel/locking/spinlock.c:199 hardirqs last disabled at (2512): [] sysvec_call_function_single+0xb/0xa0 arch/x86/kernel/smp.c:243 softirqs last enabled at (2416): [] memcpy include/linux/string.h:399 [inline] softirqs last enabled at (2416): [] fpu__copy+0x173/0x550 arch/x86/kernel/fpu/core.c:241 softirqs last disabled at (2414): [] fpu__copy+0xa1/0x550 arch/x86/kernel/fpu/core.c:229 ---[ end trace 8048613d01ff4480 ]--- ======================================================