------------[ cut here ]------------ WARNING: CPU: 0 PID: 8509 at kernel/events/core.c:2233 event_filter_match+0x422/0x660 Modules linked in: CPU: 0 PID: 8509 Comm: modprobe Not tainted 6.0.0-rc5-next-20220915 #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 4b 15 f1 ff 65 8b 2d c0 73 ad 7e 31 ff 89 ee e8 eb 11 f1 ff 85 ed 0f 84 ef 00 00 00 e8 2e 15 f1 ff <0f> 0b eb 9f e8 55 88 23 00 e9 17 fc ff ff e8 1b 15 f1 ff 48 8d 7b RSP: 0018:ffff88806ce09c70 EFLAGS: 00010046 RAX: 0000000080010001 RBX: ffff888038409720 RCX: 0000000000000000 RDX: ffff888037355040 RSI: ffffffff81550212 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865ac01b R12: ffff888038409940 R13: 0000000000000000 R14: ffff8880384097c8 R15: ffff888038409940 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffddd7d5c80 CR3: 0000000008a98000 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:stack_trace_consume_entry+0x7a/0x160 Code: 0f 8e ad 00 00 00 31 c0 3b 6b 08 0f 83 81 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 0c 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 98 00 00 00 8b RSP: 0018:ffff888038c6f708 EFLAGS: 00000217 RAX: dffffc0000000000 RBX: ffff888038c6f7f0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816c0480 RDI: ffff888038c6f7fc RBP: 000000000000000b R08: ffffffff85ebfb72 R09: ffffffff85ebfb76 R10: ffffed100718def2 R11: ffff888038c6f768 R12: ffff888038c6f7f0 R13: 0000000000000000 R14: ffff888037355040 R15: 0000000000092cc0 arch_stack_walk+0x73/0xf0 stack_trace_save+0x8c/0xc0 kasan_save_stack+0x1e/0x40 kasan_set_track+0x21/0x30 __kasan_slab_alloc+0x58/0x70 kmem_cache_alloc+0x1b1/0x3e0 __create_object+0x3d/0xc10 kmem_cache_alloc_bulk+0x3fe/0x7a0 mas_alloc_nodes+0x2ff/0x800 mas_preallocate+0x1bb/0x360 mmap_region+0x774/0x1a00 do_mmap+0x828/0xf40 vm_mmap_pgoff+0x1af/0x270 ksys_mmap_pgoff+0x3d0/0x4f0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f74d8cf0d82 Code: eb aa 66 0f 1f 44 00 00 41 f7 c1 ff 0f 00 00 75 27 55 48 89 fd 53 89 cb 48 85 ff 74 33 41 89 da 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 56 5b 5d c3 0f 1f 00 c7 05 ae 03 01 00 16 00 RSP: 002b:00007ffddd7d5b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f74d8cf0d82 RDX: 0000000000000001 RSI: 00000000000031ca RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: ffffffffffffffff R13: 0000000000000001 R14: 00007f74d8d00060 R15: 00007f74d8d01538 irq event stamp: 2028 hardirqs last enabled at (2027): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (2028): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1840): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (1775): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8509 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110 Modules linked in: CPU: 0 PID: 8509 Comm: modprobe Tainted: G W 6.0.0-rc5-next-20220915 #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 78 16 ef ff 65 8b 05 ed 74 ab 7e 31 ff 89 c6 89 04 24 e8 15 13 ef ff 8b 04 24 85 c0 0f 84 13 02 00 00 e8 55 16 ef ff <0f> 0b e9 c4 fb ff ff e8 49 16 ef ff 4c 89 e8 48 05 18 01 00 00 e9 RSP: 0018:ffff88806ce09cb0 EFLAGS: 00010046 RAX: 0000000080010001 RBX: ffff88806ce3ef00 RCX: 0000000000000000 RDX: ffff888037355040 RSI: ffffffff815700eb RDI: 0000000000000005 RBP: ffff888038409720 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865ac01b R12: ffff88806ce3ef00 R13: 0000000000000001 R14: ffff8880384097c8 R15: ffff888038409940 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffddd7d5c80 CR3: 0000000008a98000 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:stack_trace_consume_entry+0x7a/0x160 Code: 0f 8e ad 00 00 00 31 c0 3b 6b 08 0f 83 81 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 0c 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 98 00 00 00 8b RSP: 0018:ffff888038c6f708 EFLAGS: 00000217 RAX: dffffc0000000000 RBX: ffff888038c6f7f0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816c0480 RDI: ffff888038c6f7fc RBP: 000000000000000b R08: ffffffff85ebfb72 R09: ffffffff85ebfb76 R10: ffffed100718def2 R11: ffff888038c6f768 R12: ffff888038c6f7f0 R13: 0000000000000000 R14: ffff888037355040 R15: 0000000000092cc0 arch_stack_walk+0x73/0xf0 stack_trace_save+0x8c/0xc0 kasan_save_stack+0x1e/0x40 kasan_set_track+0x21/0x30 __kasan_slab_alloc+0x58/0x70 kmem_cache_alloc+0x1b1/0x3e0 __create_object+0x3d/0xc10 kmem_cache_alloc_bulk+0x3fe/0x7a0 mas_alloc_nodes+0x2ff/0x800 mas_preallocate+0x1bb/0x360 mmap_region+0x774/0x1a00 do_mmap+0x828/0xf40 vm_mmap_pgoff+0x1af/0x270 ksys_mmap_pgoff+0x3d0/0x4f0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f74d8cf0d82 Code: eb aa 66 0f 1f 44 00 00 41 f7 c1 ff 0f 00 00 75 27 55 48 89 fd 53 89 cb 48 85 ff 74 33 41 89 da 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 56 5b 5d c3 0f 1f 00 c7 05 ae 03 01 00 16 00 RSP: 002b:00007ffddd7d5b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f74d8cf0d82 RDX: 0000000000000001 RSI: 00000000000031ca RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: ffffffffffffffff R13: 0000000000000001 R14: 00007f74d8d00060 R15: 00007f74d8d01538 irq event stamp: 2028 hardirqs last enabled at (2027): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (2028): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1840): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (1775): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 0f 8e ad 00 00 00 jle 0xb3 6: 31 c0 xor %eax,%eax 8: 3b 6b 08 cmp 0x8(%rbx),%ebp b: 0f 83 81 00 00 00 jae 0x92 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 48 8d 7b 0c lea 0xc(%rbx),%rdi 1f: 48 89 fa mov %rdi,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx * 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 d0 cmp %dl,%al 35: 7c 08 jl 0x3f 37: 84 d2 test %dl,%dl 39: 0f 85 98 00 00 00 jne 0xd7 3f: 8b .byte 0x8b