------------[ cut here ]------------ WARNING: CPU: 0 PID: 18159 at kernel/events/core.c:2047 perf_group_detach+0x99e/0x12f0 Modules linked in: CPU: 0 PID: 18159 Comm: syz-executor.2 Not tainted 6.0.0-rc6-next-20220921 #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_detach+0x99e/0x12f0 Code: 85 d5 f8 ff ff e8 a2 59 ee ff 65 44 8b 25 36 b2 aa 7e 31 ff 44 89 e6 e8 40 56 ee ff 45 85 e4 0f 84 0a 05 00 00 e8 82 59 ee ff <0f> 0b e9 a9 f8 ff ff e8 76 59 ee ff 65 8b 1d 0b b2 aa 7e 31 ff 89 RSP: 0018:ffff88806ce09e60 EFLAGS: 00010046 RAX: 0000000080010002 RBX: ffff8880086685c8 RCX: 0000000000000000 RDX: ffff88801a77d040 RSI: ffffffff8157c39e RDI: 0000000000000005 RBP: ffff8880086685c8 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888008668658 R14: ffff88806ce3f000 R15: ffff8880086685c8 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6268ccb3a4 CR3: 0000000036c0c000 CR4: 0000000000350ef0 Call Trace: __perf_remove_from_context+0x71e/0xb20 event_function+0x297/0x3d0 remote_function+0x125/0x1b0 __flush_smp_call_function_queue+0x1df/0x5a0 __sysvec_call_function_single+0x92/0x3a0 sysvec_call_function_single+0x89/0xc0 asm_sysvec_call_function_single+0x16/0x20 RIP: 0010:lock_acquire+0x132/0x530 Code: 85 0d 01 00 00 65 48 8b 14 25 c0 6e 02 00 48 8d ba 74 09 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f b6 0c 01 <48> 89 f8 83 e0 07 83 c0 03 38 c8 7c 08 84 c9 0f 85 7d 03 00 00 8b RSP: 0018:ffff888038ebf4d0 EFLAGS: 00000217 RAX: dffffc0000000000 RBX: 1ffff110071d7e9c RCX: 0000000000000000 RDX: ffff88801a77d040 RSI: 0000000000000002 RDI: ffff88801a77d9b4 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff85b044d7 R10: fffffbfff0b6089a R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff854073a0 R15: 0000000000000000 folio_memcg_lock+0x3a/0x4a0 page_remove_rmap+0x1e/0x490 unmap_page_range+0x1c26/0x2a10 unmap_single_vma+0x190/0x380 unmap_vmas+0x21e/0x370 exit_mmap+0x154/0x680 mmput+0xd1/0x390 do_exit+0xa2e/0x27f0 do_group_exit+0xd0/0x2a0 get_signal+0x219a/0x22d0 arch_do_signal_or_restart+0x89/0x1be0 exit_to_user_mode_prepare+0x131/0x1a0 syscall_exit_to_user_mode+0x19/0x40 do_syscall_64+0x48/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f533e800b19 Code: Unable to access opcode bytes at RIP 0x7f533e800aef. RSP: 002b:00007f533bd76218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007f533e913f68 RCX: 00007f533e800b19 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f533e913f6c RBP: 00007f533e913f60 R08: 000000000000005f R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f533e913f6c R13: 00007ffd01f7081f R14: 00007f533bd76300 R15: 0000000000022000 irq event stamp: 1922 hardirqs last enabled at (1921): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (1922): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1914): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (1905): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 18159 at kernel/events/core.c:2183 perf_group_detach+0x9c7/0x12f0 Modules linked in: CPU: 0 PID: 18159 Comm: syz-executor.2 Tainted: G W 6.0.0-rc6-next-20220921 #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_detach+0x9c7/0x12f0 Code: ff 0f 0b e9 a9 f8 ff ff e8 76 59 ee ff 65 8b 1d 0b b2 aa 7e 31 ff 89 de e8 16 56 ee ff 85 db 0f 84 86 04 00 00 e8 59 59 ee ff <0f> 0b e9 0e fa ff ff e8 4d 59 ee ff 48 8b 7c 24 20 48 81 c7 f8 00 RSP: 0018:ffff88806ce09e60 EFLAGS: 00010046 RAX: 0000000080010002 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801a77d040 RSI: ffffffff8157c3c7 RDI: 0000000000000005 RBP: ffff8880086685c8 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff8880086685c8 R13: ffff8880086685c8 R14: ffff88806ce3f000 R15: ffff8880086685c8 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6268ccb3a4 CR3: 0000000036c0c000 CR4: 0000000000350ef0 Call Trace: __perf_remove_from_context+0x71e/0xb20 event_function+0x297/0x3d0 remote_function+0x125/0x1b0 __flush_smp_call_function_queue+0x1df/0x5a0 __sysvec_call_function_single+0x92/0x3a0 sysvec_call_function_single+0x89/0xc0 asm_sysvec_call_function_single+0x16/0x20 RIP: 0010:lock_acquire+0x132/0x530 Code: 85 0d 01 00 00 65 48 8b 14 25 c0 6e 02 00 48 8d ba 74 09 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f b6 0c 01 <48> 89 f8 83 e0 07 83 c0 03 38 c8 7c 08 84 c9 0f 85 7d 03 00 00 8b RSP: 0018:ffff888038ebf4d0 EFLAGS: 00000217 RAX: dffffc0000000000 RBX: 1ffff110071d7e9c RCX: 0000000000000000 RDX: ffff88801a77d040 RSI: 0000000000000002 RDI: ffff88801a77d9b4 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff85b044d7 R10: fffffbfff0b6089a R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff854073a0 R15: 0000000000000000 folio_memcg_lock+0x3a/0x4a0 page_remove_rmap+0x1e/0x490 unmap_page_range+0x1c26/0x2a10 unmap_single_vma+0x190/0x380 unmap_vmas+0x21e/0x370 exit_mmap+0x154/0x680 mmput+0xd1/0x390 do_exit+0xa2e/0x27f0 do_group_exit+0xd0/0x2a0 get_signal+0x219a/0x22d0 arch_do_signal_or_restart+0x89/0x1be0 exit_to_user_mode_prepare+0x131/0x1a0 syscall_exit_to_user_mode+0x19/0x40 do_syscall_64+0x48/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f533e800b19 Code: Unable to access opcode bytes at RIP 0x7f533e800aef. RSP: 002b:00007f533bd76218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007f533e913f68 RCX: 00007f533e800b19 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f533e913f6c RBP: 00007f533e913f60 R08: 000000000000005f R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f533e913f6c R13: 00007ffd01f7081f R14: 00007f533bd76300 R15: 0000000000022000 irq event stamp: 1922 hardirqs last enabled at (1921): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (1922): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1914): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (1905): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 18159 at kernel/events/core.c:655 perf_event_update_sibling_time+0xd5/0x4d0 Modules linked in: CPU: 0 PID: 18159 Comm: syz-executor.2 Tainted: G W 6.0.0-rc6-next-20220921 #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_event_update_sibling_time+0xd5/0x4d0 Code: 5e 41 5f e9 7d d7 f0 ff e8 78 d7 f0 ff 65 8b 1d 0d 30 ad 7e 31 ff 89 de e8 18 d4 f0 ff 85 db 0f 84 d3 02 00 00 e8 5b d7 f0 ff <0f> 0b eb 97 e8 52 d7 f0 ff 48 8d 7d 10 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffff88806ce09e58 EFLAGS: 00010046 RAX: 0000000080010002 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801a77d040 RSI: ffffffff815545c5 RDI: 0000000000000005 RBP: ffff8880086685c8 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888008668670 R14: 0000000000000001 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6268ccb3a4 CR3: 0000000036c0c000 CR4: 0000000000350ef0 Call Trace: list_del_event+0x524/0x860 __perf_remove_from_context+0xd2/0xb20 event_function+0x297/0x3d0 remote_function+0x125/0x1b0 __flush_smp_call_function_queue+0x1df/0x5a0 __sysvec_call_function_single+0x92/0x3a0 sysvec_call_function_single+0x89/0xc0 asm_sysvec_call_function_single+0x16/0x20 RIP: 0010:lock_acquire+0x132/0x530 Code: 85 0d 01 00 00 65 48 8b 14 25 c0 6e 02 00 48 8d ba 74 09 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f b6 0c 01 <48> 89 f8 83 e0 07 83 c0 03 38 c8 7c 08 84 c9 0f 85 7d 03 00 00 8b RSP: 0018:ffff888038ebf4d0 EFLAGS: 00000217 RAX: dffffc0000000000 RBX: 1ffff110071d7e9c RCX: 0000000000000000 RDX: ffff88801a77d040 RSI: 0000000000000002 RDI: ffff88801a77d9b4 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff85b044d7 R10: fffffbfff0b6089a R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff854073a0 R15: 0000000000000000 folio_memcg_lock+0x3a/0x4a0 page_remove_rmap+0x1e/0x490 unmap_page_range+0x1c26/0x2a10 unmap_single_vma+0x190/0x380 unmap_vmas+0x21e/0x370 exit_mmap+0x154/0x680 mmput+0xd1/0x390 do_exit+0xa2e/0x27f0 do_group_exit+0xd0/0x2a0 get_signal+0x219a/0x22d0 arch_do_signal_or_restart+0x89/0x1be0 exit_to_user_mode_prepare+0x131/0x1a0 syscall_exit_to_user_mode+0x19/0x40 do_syscall_64+0x48/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f533e800b19 Code: Unable to access opcode bytes at RIP 0x7f533e800aef. RSP: 002b:00007f533bd76218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007f533e913f68 RCX: 00007f533e800b19 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f533e913f6c RBP: 00007f533e913f60 R08: 000000000000005f R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f533e913f6c R13: 00007ffd01f7081f R14: 00007f533bd76300 R15: 0000000000022000 irq event stamp: 1922 hardirqs last enabled at (1921): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (1922): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1914): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (1905): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 85 0d 01 00 00 65 test %ecx,0x65000001(%rip) # 0x65000007 6: 48 8b 14 25 c0 6e 02 mov 0x26ec0,%rdx d: 00 e: 48 8d ba 74 09 00 00 lea 0x974(%rdx),%rdi 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 89 f9 mov %rdi,%rcx 22: 48 c1 e9 03 shr $0x3,%rcx 26: 0f b6 0c 01 movzbl (%rcx,%rax,1),%ecx * 2a: 48 89 f8 mov %rdi,%rax <-- trapping instruction 2d: 83 e0 07 and $0x7,%eax 30: 83 c0 03 add $0x3,%eax 33: 38 c8 cmp %cl,%al 35: 7c 08 jl 0x3f 37: 84 c9 test %cl,%cl 39: 0f 85 7d 03 00 00 jne 0x3bc 3f: 8b .byte 0x8b