------------[ cut here ]------------
WARNING: CPU: 0 PID: 14824 at kernel/events/core.c:1978 perf_group_attach+0x396/0x450 kernel/events/core.c:1978
Modules linked in:
CPU: 0 PID: 14824 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:ffff88806ce09ef0 EFLAGS: 00010046
RAX: 0000000080010003 RBX: ffff888045ae6000 RCX: ffffffff814ca29f
RDX: ffff88803458cbc0 RSI: ffffffff814ca566 RDI: ffff888045ae6220
RBP: ffff88804447b000 R08: 0000000000000001 R09: 0000000000000003
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800b566c00
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88806ce37748
FS: 0000555556391400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0df546fef0 CR3: 0000000045b1c000 CR4: 0000000000350ef0
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:generic_exec_single+0x1f5/0x300 kernel/smp.c:296
Code: dd 31 ff 81 e5 00 02 00 00 48 89 ee e8 44 84 0a 00 48 85 ed 75 1c e8 aa 8a 0a 00 4c 89 f7 e8 22 35 cb 02 e8 9d 8a 0a 00 53 9d <45> 31 ed e9 e2 fe ff ff e8 8e 8a 0a 00 e8 d9 c8 10 00 4c 89 f7 e8
RSP: 0018:ffff88804a20fa68 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000246 RCX: 1ffffffff0cb1c6a
RDX: ffff88803458cbc0 RSI: ffffffff81350a63 RDI: ffffffff81350a84
RBP: 0000000000000200 R08: 0000000000000001 R09: ffffffff8654a6d7
R10: fffffbfff0ca94da R11: 0000000000000001 R12: ffff88804a20fae0
R13: ffffffff814c65a0 R14: ffff88804a20fba8 R15: ffff88804a20fc90
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:0x7f0df533d72b
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:00007fffca18c8e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f0df533d72b
RDX: 00007f0df54a5668 RSI: 0000000000000080 RDI: 0000000000000006
RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f0df54a5670
R10: 00007fffca18c9d0 R11: 0000000000000293 R12: 000000000026e7e6
R13: 00000000000003e8 R14: 00007f0df549df60 R15: 000000000026e6df
irq event stamp: 2932
hardirqs last enabled at (2931): [] generic_exec_single+0x214/0x300 kernel/smp.c:295
hardirqs last disabled at (2932): [] sysvec_call_function_single+0xb/0xa0 arch/x86/kernel/smp.c:243
softirqs last enabled at (2832): [] asm_call_irq_on_stack+0x12/0x20
softirqs last disabled at (2675): [] asm_call_irq_on_stack+0x12/0x20
---[ end trace 8547acbc0c6bfb6b ]---
======================================================
----------------
Code disassembly (best guess):
0: dd 31 fnsave (%rcx)
2: ff 81 e5 00 02 00 incl 0x200e5(%rcx)
8: 00 48 89 add %cl,-0x77(%rax)
b: ee out %al,(%dx)
c: e8 44 84 0a 00 callq 0xa8455
11: 48 85 ed test %rbp,%rbp
14: 75 1c jne 0x32
16: e8 aa 8a 0a 00 callq 0xa8ac5
1b: 4c 89 f7 mov %r14,%rdi
1e: e8 22 35 cb 02 callq 0x2cb3545
23: e8 9d 8a 0a 00 callq 0xa8ac5
28: 53 push %rbx
29: 9d popfq
* 2a: 45 31 ed xor %r13d,%r13d <-- trapping instruction
2d: e9 e2 fe ff ff jmpq 0xffffff14
32: e8 8e 8a 0a 00 callq 0xa8ac5
37: e8 d9 c8 10 00 callq 0x10c915
3c: 4c 89 f7 mov %r14,%rdi
3f: e8 .byte 0xe8