------------[ cut here ]------------ WARNING: CPU: 0 PID: 296 at kernel/events/core.c:2233 event_filter_match+0x422/0x660 Modules linked in: CPU: 0 PID: 296 Comm: syz-executor.5 Not tainted 6.0.0-rc7-next-20220930 #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 7b 33 f1 ff 65 8b 2d 00 9d ad 7e 31 ff 89 ee e8 1b 30 f1 ff 85 ed 0f 84 ef 00 00 00 e8 5e 33 f1 ff <0f> 0b eb 9f e8 d5 a1 23 00 e9 17 fc ff ff e8 4b 33 f1 ff 48 8d 7b RSP: 0018:ffff88806ce09c70 EFLAGS: 00010046 RAX: 0000000080010002 RBX: ffff88803fc40000 RCX: 0000000000000000 RDX: ffff888018850000 RSI: ffffffff8154d8d2 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b401b R12: ffff88803fc40220 R13: 0000000000000000 R14: ffff88803fc400a8 R15: ffff88803fc40220 FS: 0000555555829400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e121000 CR3: 0000000010156000 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:rcu_is_watching+0x7c/0xb0 Code: 0f b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 2a 8b 03 c1 e8 02 83 e0 01 65 ff 0d 1a 44 d1 7e 74 0a 48 83 c4 08 <5b> e9 ce 10 2f 03 0f 1f 44 00 00 48 83 c4 08 5b e9 bf 10 2f 03 48 RSP: 0018:ffff888017367088 EFLAGS: 00000286 RAX: 0000000000000001 RBX: ffff88806ce33b60 RCX: 1ffffffff0a1e514 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffffffff850f28a0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff85b06ed7 R10: fffffbfff0b60dda R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff85407320 R15: 0000000000000000 rcu_read_lock_sched_held+0x20/0x80 lock_acquire+0x45e/0x530 __is_insn_slot_addr+0x3d/0x250 kernel_text_address+0x44/0xb0 __kernel_text_address+0x9/0x40 unwind_get_return_address+0x55/0xa0 arch_stack_walk+0x99/0xf0 stack_trace_save+0x8c/0xc0 kasan_save_stack+0x1e/0x40 kasan_set_track+0x21/0x30 __kasan_slab_alloc+0x58/0x70 kmem_cache_alloc+0x1a9/0x3e0 __create_object+0x3d/0xc10 kmem_cache_alloc+0x235/0x3e0 ptlock_alloc+0x1d/0x70 pte_alloc_one+0x68/0x200 __pte_alloc+0x69/0x210 copy_page_range+0x1bc5/0x4270 dup_mmap+0xa4a/0xfc0 dup_mm+0x91/0x380 copy_process+0x6ac6/0x6e20 kernel_clone+0xe7/0x890 __do_sys_clone+0xba/0x100 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f79ee8c210b 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:00007fff09664920 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f79ee8c210b RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555555829400 R10: 00005555558296d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000001 R14: 0000000000000001 R15: 00007fff09664a00 irq event stamp: 126974 hardirqs last enabled at (126973): [] ___slab_alloc+0x86e/0x1080 hardirqs last disabled at (126974): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (126816): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (126793): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 296 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110 Modules linked in: CPU: 0 PID: 296 Comm: syz-executor.5 Tainted: G W 6.0.0-rc7-next-20220930 #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 08 0e ef ff 65 8b 05 8d 77 ab 7e 31 ff 89 c6 89 04 24 e8 a5 0a ef ff 8b 04 24 85 c0 0f 84 13 02 00 00 e8 e5 0d ef ff <0f> 0b e9 c4 fb ff ff e8 d9 0d ef ff 4c 89 e8 48 05 18 01 00 00 e9 RSP: 0018:ffff88806ce09cb0 EFLAGS: 00010046 RAX: 0000000080010002 RBX: ffff88806ce3d2c0 RCX: 0000000000000000 RDX: ffff888018850000 RSI: ffffffff8156fe4b RDI: 0000000000000005 RBP: ffff88803fc40000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b401b R12: ffff88806ce3d2c0 R13: ffff88806ce00000 R14: ffff88803fc400a8 R15: ffff88803fc40220 FS: 0000555555829400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e121000 CR3: 0000000010156000 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:rcu_is_watching+0x7c/0xb0 Code: 0f b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 2a 8b 03 c1 e8 02 83 e0 01 65 ff 0d 1a 44 d1 7e 74 0a 48 83 c4 08 <5b> e9 ce 10 2f 03 0f 1f 44 00 00 48 83 c4 08 5b e9 bf 10 2f 03 48 RSP: 0018:ffff888017367088 EFLAGS: 00000286 RAX: 0000000000000001 RBX: ffff88806ce33b60 RCX: 1ffffffff0a1e514 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffffffff850f28a0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff85b06ed7 R10: fffffbfff0b60dda R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff85407320 R15: 0000000000000000 rcu_read_lock_sched_held+0x20/0x80 lock_acquire+0x45e/0x530 __is_insn_slot_addr+0x3d/0x250 kernel_text_address+0x44/0xb0 __kernel_text_address+0x9/0x40 unwind_get_return_address+0x55/0xa0 arch_stack_walk+0x99/0xf0 stack_trace_save+0x8c/0xc0 kasan_save_stack+0x1e/0x40 kasan_set_track+0x21/0x30 __kasan_slab_alloc+0x58/0x70 kmem_cache_alloc+0x1a9/0x3e0 __create_object+0x3d/0xc10 kmem_cache_alloc+0x235/0x3e0 ptlock_alloc+0x1d/0x70 pte_alloc_one+0x68/0x200 __pte_alloc+0x69/0x210 copy_page_range+0x1bc5/0x4270 dup_mmap+0xa4a/0xfc0 dup_mm+0x91/0x380 copy_process+0x6ac6/0x6e20 kernel_clone+0xe7/0x890 __do_sys_clone+0xba/0x100 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f79ee8c210b 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:00007fff09664920 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f79ee8c210b RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555555829400 R10: 00005555558296d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000001 R14: 0000000000000001 R15: 00007fff09664a00 irq event stamp: 126974 hardirqs last enabled at (126973): [] ___slab_alloc+0x86e/0x1080 hardirqs last disabled at (126974): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (126816): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (126793): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ====================================================== ---------------- Code disassembly (best guess): 0: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx 4: 48 89 d8 mov %rbx,%rax 7: 83 e0 07 and $0x7,%eax a: 83 c0 03 add $0x3,%eax d: 38 d0 cmp %dl,%al f: 7c 04 jl 0x15 11: 84 d2 test %dl,%dl 13: 75 2a jne 0x3f 15: 8b 03 mov (%rbx),%eax 17: c1 e8 02 shr $0x2,%eax 1a: 83 e0 01 and $0x1,%eax 1d: 65 ff 0d 1a 44 d1 7e decl %gs:0x7ed1441a(%rip) # 0x7ed1443e 24: 74 0a je 0x30 26: 48 83 c4 08 add $0x8,%rsp * 2a: 5b pop %rbx <-- trapping instruction 2b: e9 ce 10 2f 03 jmpq 0x32f10fe 30: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 35: 48 83 c4 08 add $0x8,%rsp 39: 5b pop %rbx 3a: e9 bf 10 2f 03 jmpq 0x32f10fe 3f: 48 rex.W