------------[ cut here ]------------ WARNING: CPU: 0 PID: 294 at kernel/events/core.c:2233 event_filter_match+0x422/0x660 Modules linked in: CPU: 0 PID: 294 Comm: syz-executor.0 Not tainted 6.0.0-rc6-next-20220923 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:event_filter_match+0x422/0x660 Code: 00 00 00 e9 7c fc ff ff e8 1b 1e f1 ff 65 8b 2d e0 88 ad 7e 31 ff 89 ee e8 bb 1a f1 ff 85 ed 0f 84 ef 00 00 00 e8 fe 1d f1 ff <0f> 0b eb 9f e8 c5 80 23 00 e9 17 fc ff ff e8 eb 1d f1 ff 48 8d 7b RSP: 0018:ffff88806ce09c70 EFLAGS: 00010046 RAX: 0000000080010001 RBX: ffff888038138000 RCX: 0000000000000000 RDX: ffff888031fc1ac0 RSI: ffffffff8154ecf2 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b001b R12: ffff888038138220 R13: 0000000000000000 R14: ffff8880381380a8 R15: ffff888038138220 FS: 0000555555dc4400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8e865c63a4 CR3: 000000000ef74000 CR4: 0000000000350ef0 Call Trace: merge_sched_in+0x107/0x1110 visit_groups_merge.constprop.0.isra.0+0x4fc/0xef0 ctx_sched_in+0x2e6/0x770 perf_event_sched_in+0x75/0x80 ctx_resched+0x1ce/0x390 __perf_install_in_context+0x285/0x9c0 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+0x1db/0x530 Code: 02 b8 ff ff ff ff 65 0f c1 05 51 56 d8 7e 83 f8 01 0f 85 c8 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffff888031fef468 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff110063fde8f RCX: 0000000000001bb8 RDX: 1ffff110063f8486 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff86ccf7d7 R10: fffffbfff0d99efa R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff854b8ea0 R15: 0000000000000000 fs_reclaim_acquire+0x119/0x160 prepare_alloc_pages+0x15b/0x500 __alloc_pages+0x145/0x500 alloc_pages+0x19c/0x250 __pmd_alloc+0x37/0x690 copy_page_range+0x2cd6/0x43b0 dup_mmap+0xa4a/0xfc0 dup_mm+0x91/0x380 copy_process+0x6ac7/0x6e20 kernel_clone+0xe7/0x890 __do_sys_clone+0xba/0x100 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8e8557810b Code: ed 0f 85 60 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 89 00 00 00 41 89 c5 85 c0 0f 85 90 00 00 RSP: 002b:00007fff0eb4f210 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8e8557810b RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555555dc4400 R10: 0000555555dc46d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007fff0eb4f2f0 irq event stamp: 926380 hardirqs last enabled at (926379): [] memcg_account_kmem+0x3d/0x70 hardirqs last disabled at (926380): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (926022): [] tcp_close+0x38/0xc0 softirqs last disabled at (926020): [] release_sock+0x1b/0x1b0 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 294 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110 Modules linked in: CPU: 0 PID: 294 Comm: syz-executor.0 Tainted: G W 6.0.0-rc6-next-20220923 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:merge_sched_in+0xadb/0x1110 Code: ff ff e8 c8 1a ef ff 65 8b 05 8d 85 ab 7e 31 ff 89 c6 89 04 24 e8 65 17 ef ff 8b 04 24 85 c0 0f 84 13 02 00 00 e8 a5 1a ef ff <0f> 0b e9 c4 fb ff ff e8 99 1a ef ff 4c 89 e8 48 05 18 01 00 00 e9 RSP: 0018:ffff88806ce09cb0 EFLAGS: 00010046 RAX: 0000000080010001 RBX: ffff88806ce3f000 RCX: 0000000000000000 RDX: ffff888031fc1ac0 RSI: ffffffff8156f04b RDI: 0000000000000005 RBP: ffff888038138000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b001b R12: ffff88806ce3f000 R13: 0000000000000001 R14: ffff8880381380a8 R15: ffff888038138220 FS: 0000555555dc4400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8e865c63a4 CR3: 000000000ef74000 CR4: 0000000000350ef0 Call Trace: visit_groups_merge.constprop.0.isra.0+0x4fc/0xef0 ctx_sched_in+0x2e6/0x770 perf_event_sched_in+0x75/0x80 ctx_resched+0x1ce/0x390 __perf_install_in_context+0x285/0x9c0 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+0x1db/0x530 Code: 02 b8 ff ff ff ff 65 0f c1 05 51 56 d8 7e 83 f8 01 0f 85 c8 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffff888031fef468 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff110063fde8f RCX: 0000000000001bb8 RDX: 1ffff110063f8486 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff86ccf7d7 R10: fffffbfff0d99efa R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff854b8ea0 R15: 0000000000000000 fs_reclaim_acquire+0x119/0x160 prepare_alloc_pages+0x15b/0x500 __alloc_pages+0x145/0x500 alloc_pages+0x19c/0x250 __pmd_alloc+0x37/0x690 copy_page_range+0x2cd6/0x43b0 dup_mmap+0xa4a/0xfc0 dup_mm+0x91/0x380 copy_process+0x6ac7/0x6e20 kernel_clone+0xe7/0x890 __do_sys_clone+0xba/0x100 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8e8557810b Code: ed 0f 85 60 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 89 00 00 00 41 89 c5 85 c0 0f 85 90 00 00 RSP: 002b:00007fff0eb4f210 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8e8557810b RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555555dc4400 R10: 0000555555dc46d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007fff0eb4f2f0 irq event stamp: 926380 hardirqs last enabled at (926379): [] memcg_account_kmem+0x3d/0x70 hardirqs last disabled at (926380): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (926022): [] tcp_close+0x38/0xc0 softirqs last disabled at (926020): [] release_sock+0x1b/0x1b0 ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 02 b8 ff ff ff ff add -0x1(%rax),%bh 6: 65 0f c1 05 51 56 d8 xadd %eax,%gs:0x7ed85651(%rip) # 0x7ed8565f d: 7e e: 83 f8 01 cmp $0x1,%eax 11: 0f 85 c8 02 00 00 jne 0x2df 17: 48 83 7c 24 08 00 cmpq $0x0,0x8(%rsp) 1d: 74 01 je 0x20 1f: fb sti 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 48 01 c3 add %rax,%rbx <-- trapping instruction 2d: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 34: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx) 3b: 00 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 84 .byte 0x84 3f: 24 .byte 0x24