------------[ cut here ]------------
WARNING: CPU: 1 PID: 6515 at kernel/events/core.c:1978 perf_group_attach+0x396/0x450 kernel/events/core.c:1978
Modules linked in:
CPU: 1 PID: 6515 Comm: syz-executor.2 Not tainted 5.10.79 #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 9f ef f2 ff e8 9a ef f2 ff <0f> 0b e9 b1 fd ff ff 48 c7 c7 3c 2d 47 85 e8 17 33 1e 00 e9 b9 fc
RSP: 0018:ffff88806cf09ef0 EFLAGS: 00010046
RAX: 0000000080010003 RBX: ffff88804306d000 RCX: ffffffff814ca29f
RDX: ffff88804458e500 RSI: ffffffff814ca566 RDI: ffff88804306d220
RBP: ffff88804430c000 R08: 0000000000000001 R09: 0000000000000003
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888047d79000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88806cf37748
FS: 0000555556d75400(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd22177df98 CR3: 000000003623e000 CR4: 0000000000350ee0
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+0x11d/0x1a0 kernel/events/core.c:68
flush_smp_call_function_queue+0x1b4/0x5d0 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:__send_ipi_mask+0x27c/0x3c0 arch/x86/kernel/kvm.c:503
Code: ff ff ff 48 8b 4c 24 68 48 8b 5c 24 60 48 89 c8 48 09 d8 0f 85 97 00 00 00 48 83 7c 24 08 00 0f 85 81 00 00 00 ff 74 24 18 9d <48> b8 00 00 00 00 00 fc ff df 48 8b 4c 24 10 48 c7 04 01 00 00 00
RSP: 0018:ffff88800dfb7990 EFLAGS: 00000202
RAX: 0000000000000d33 RBX: 0000000000000001 RCX: 1ffffffff0cb1c3a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff810ffbdd
RBP: ffff88800dfb7a58 R08: 0000000000000001 R09: ffffffff8654a6d7
R10: fffffbfff0ca94da R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000040
__smp_call_single_queue kernel/smp.c:271 [inline]
generic_exec_single+0x100/0x300 kernel/smp.c:304
smp_call_function_single+0x306/0x3e0 kernel/smp.c:513
task_function_call+0xd9/0x160 kernel/events/core.c:116
event_function_call+0x206/0x420 kernel/events/core.c:284
perf_remove_from_context+0xf0/0x1f0 kernel/events/core.c:2407
perf_event_release_kernel+0x3ef/0xc20 kernel/events/core.c:5034
perf_release+0x33/0x40 kernel/events/core.c:5130
__fput+0x285/0x980 fs/file_table.c:281
task_work_run+0xe2/0x1a0 kernel/task_work.c:151
tracehook_notify_resume include/linux/tracehook.h:188 [inline]
exit_to_user_mode_loop kernel/entry/common.c:164 [inline]
exit_to_user_mode_prepare+0x155/0x160 kernel/entry/common.c:191
syscall_exit_to_user_mode+0x38/0x230 kernel/entry/common.c:266
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7fd2241dd72b
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:00007ffcb28097f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fd2241dd72b
RDX: 00007fd224348648 RSI: 0000000000000081 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fd224348648
R13: 00007ffcb2809910 R14: 00007fd22433df60 R15: 00000000000af31a
irq event stamp: 3380
hardirqs last enabled at (3379): [] __send_ipi_mask+0x2fd/0x3c0 arch/x86/kernel/kvm.c:555
hardirqs last disabled at (3380): [] sysvec_call_function_single+0xb/0xa0 arch/x86/kernel/smp.c:243
softirqs last enabled at (3162): [] memcpy include/linux/string.h:399 [inline]
softirqs last enabled at (3162): [] fpu__copy+0x173/0x550 arch/x86/kernel/fpu/core.c:241
softirqs last disabled at (3160): [] fpu__copy+0xa1/0x550 arch/x86/kernel/fpu/core.c:229
---[ end trace fa73662c585fcee5 ]---
======================================================
----------------
Code disassembly (best guess), 2 bytes skipped:
0: ff 48 8b decl -0x75(%rax)
3: 4c 24 68 rex.WR and $0x68,%al
6: 48 8b 5c 24 60 mov 0x60(%rsp),%rbx
b: 48 89 c8 mov %rcx,%rax
e: 48 09 d8 or %rbx,%rax
11: 0f 85 97 00 00 00 jne 0xae
17: 48 83 7c 24 08 00 cmpq $0x0,0x8(%rsp)
1d: 0f 85 81 00 00 00 jne 0xa4
23: ff 74 24 18 pushq 0x18(%rsp)
27: 9d popfq
* 28: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction
2f: fc ff df
32: 48 8b 4c 24 10 mov 0x10(%rsp),%rcx
37: 48 rex.W
38: c7 .byte 0xc7
39: 04 01 add $0x1,%al
3b: 00 00 add %al,(%rax)