------------[ cut here ]------------
WARNING: CPU: 1 PID: 13165 at kernel/events/core.c:1978 perf_group_attach+0x396/0x450 kernel/events/core.c:1978
Modules linked in:
CPU: 1 PID: 13165 Comm: syz-executor.6 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: 0000000080010004 RBX: ffff8880432dd000 RCX: ffffffff814ca29f
RDX: ffff88804c06e500 RSI: ffffffff814ca566 RDI: ffff8880432dd220
RBP: ffff8880446f6000 R08: 0000000000000001 R09: 0000000000000003
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888045701800
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88806cf37748
FS: 0000555556b53400(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa3d3c4ed58 CR3: 00000000486f4000 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:list_empty include/linux/list.h:282 [inline]
RIP: 0010:dentry_unlist fs/dcache.c:520 [inline]
RIP: 0010:__dentry_kill+0x21e/0x5c0 fs/dcache.c:575
Code: 03 0f 8e e4 02 00 00 4c 8d a5 08 01 00 00 81 4d 00 00 80 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 80 3c 02 00 <0f> 85 27 03 00 00 48 8b 85 08 01 00 00 49 39 c4 0f 84 e4 00 00 00
RSP: 0018:ffff88804e5dfdd8 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8174c78d
RDX: 1ffff110089d2684 RSI: ffffffff8174c83a RDI: 0000000000000005
RBP: ffff888044e93318 R08: 0000000000000000 R09: ffff888044e933ab
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888044e93420
R13: ffff888044e933a8 R14: ffff888044e933f0 R15: 0000000000000000
dentry_kill fs/dcache.c:705 [inline]
dput+0x76a/0xc40 fs/dcache.c:878
__fput+0x3aa/0x980 fs/file_table.c:294
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:0x7fa3d66ce72b
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:00007ffc5b2ed530 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000009 RCX: 00007fa3d66ce72b
RDX: ffffffffffffffbc RSI: 0000000000000081 RDI: 0000000000000008
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fa3d6838a58
R13: 00007ffc5b2ed650 R14: 00007fa3d682ef60 R15: 0000000000238e1b
irq event stamp: 4636
hardirqs last enabled at (4635): [] __call_rcu kernel/rcu/tree.c:2995 [inline]
hardirqs last enabled at (4635): [] call_rcu+0x3be/0xa20 kernel/rcu/tree.c:3036
hardirqs last disabled at (4636): [] sysvec_call_function_single+0xb/0xa0 arch/x86/kernel/smp.c:243
softirqs last enabled at (4488): [] asm_call_irq_on_stack+0x12/0x20
softirqs last disabled at (4477): [] asm_call_irq_on_stack+0x12/0x20
---[ end trace 164e7a201df527d0 ]---
======================================================
----------------
Code disassembly (best guess):
0: 03 0f add (%rdi),%ecx
2: 8e e4 mov %esp,%fs
4: 02 00 add (%rax),%al
6: 00 4c 8d a5 add %cl,-0x5b(%rbp,%rcx,4)
a: 08 01 or %al,(%rcx)
c: 00 00 add %al,(%rax)
e: 81 4d 00 00 80 00 00 orl $0x8000,0x0(%rbp)
15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1c: fc ff df
1f: 4c 89 e2 mov %r12,%rdx
22: 48 c1 ea 03 shr $0x3,%rdx
26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
* 2a: 0f 85 27 03 00 00 jne 0x357 <-- trapping instruction
30: 48 8b 85 08 01 00 00 mov 0x108(%rbp),%rax
37: 49 39 c4 cmp %rax,%r12
3a: 0f 84 e4 00 00 00 je 0x124