------------[ cut here ]------------
WARNING: CPU: 0 PID: 16720 at kernel/events/core.c:2233 event_filter_match+0x422/0x660
Modules linked in:
CPU: 0 PID: 16720 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: 0000:ffff88806ce09c70 EFLAGS: 00010046
RAX: 0000000080010001 RBX: ffff888038bb8000 RCX: 0000000000000000
RDX: ffff88801b6b3580 RSI: ffffffff8154ecf2 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000000 R11: ffffffff865b001b R12: ffff888038bb8220
R13: 0000000000000000 R14: ffff888038bb80a8 R15: ffff888038bb8220
FS: 0000555555c41400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d820000 CR3: 000000001893a000 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_is_held_type+0xf8/0x130
Code: c0 f2 86 84 e8 a9 0c 00 00 b8 ff ff ff ff 65 0f c1 05 4c 76 dd 7b 83 f8 01 75 26 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f e9 c6 39 3b 00 45 31 ed eb
RSP: 0000:ffff888038ef7ae0 EFLAGS: 00000292
RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffff85407320 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff88801b6b3580
R13: 0000000000000000 R14: 00000000ffffffff R15: ffff88801b6b3ef8
__might_resched+0x3a/0x2d0
prepare_alloc_pages+0x33a/0x500
__alloc_pages+0x145/0x500
alloc_pages+0x19c/0x250
get_zeroed_page+0x14/0xb0
__pud_alloc+0x33/0x270
__handle_mm_fault+0xcae/0x35e0
handle_mm_fault+0x2e6/0xa20
do_user_addr_fault+0x536/0x1300
exc_page_fault+0x98/0x1a0
asm_exc_page_fault+0x22/0x30
RIP: 0033:0x7f33c5c3b673
Code: 5d c3 0f 1f 44 00 00 48 8b 0d 59 ed 0a 01 48 8b 05 4a ed 0a 01 4c 8d 81 00 00 00 01 48 39 c8 72 13 4c 39 c0 73 0e 48 8d 50 04 <89> 38 48 89 15 2c ed 0a 01 c3 52 48 8d 35 77 b7 0b 00 48 89 c2 48
RSP: 002b:00007ffe206cc318 EFLAGS: 00010287
RAX: 0000001b2d820000 RBX: 0000000000000003 RCX: 0000001b2d820000
RDX: 0000001b2d820004 RSI: 00007f33c5cf800e RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000001b2e820000 R09: 00007ffe206cbf60
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffe206cc5b0
irq event stamp: 1258
hardirqs last enabled at (1257): [] handle_mm_fault+0x6fd/0xa20
hardirqs last disabled at (1258): [] sysvec_call_function_single+0xb/0xc0
softirqs last enabled at (1052): [] __irq_exit_rcu+0x11b/0x180
softirqs last disabled at (1047): [] __irq_exit_rcu+0x11b/0x180
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 16720 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110
Modules linked in:
CPU: 0 PID: 16720 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: 0000:ffff88806ce09cb0 EFLAGS: 00010046
RAX: 0000000080010001 RBX: ffff88806ce3f000 RCX: 0000000000000000
RDX: ffff88801b6b3580 RSI: ffffffff8156f04b RDI: 0000000000000005
RBP: ffff888038bb8000 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000000 R11: ffffffff865b001b R12: ffff88806ce3f000
R13: 0000000000000001 R14: ffff888038bb80a8 R15: ffff888038bb8220
FS: 0000555555c41400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d820000 CR3: 000000001893a000 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_is_held_type+0xf8/0x130
Code: c0 f2 86 84 e8 a9 0c 00 00 b8 ff ff ff ff 65 0f c1 05 4c 76 dd 7b 83 f8 01 75 26 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f e9 c6 39 3b 00 45 31 ed eb
RSP: 0000:ffff888038ef7ae0 EFLAGS: 00000292
RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffff85407320 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff88801b6b3580
R13: 0000000000000000 R14: 00000000ffffffff R15: ffff88801b6b3ef8
__might_resched+0x3a/0x2d0
prepare_alloc_pages+0x33a/0x500
__alloc_pages+0x145/0x500
alloc_pages+0x19c/0x250
get_zeroed_page+0x14/0xb0
__pud_alloc+0x33/0x270
__handle_mm_fault+0xcae/0x35e0
handle_mm_fault+0x2e6/0xa20
do_user_addr_fault+0x536/0x1300
exc_page_fault+0x98/0x1a0
asm_exc_page_fault+0x22/0x30
RIP: 0033:0x7f33c5c3b673
Code: 5d c3 0f 1f 44 00 00 48 8b 0d 59 ed 0a 01 48 8b 05 4a ed 0a 01 4c 8d 81 00 00 00 01 48 39 c8 72 13 4c 39 c0 73 0e 48 8d 50 04 <89> 38 48 89 15 2c ed 0a 01 c3 52 48 8d 35 77 b7 0b 00 48 89 c2 48
RSP: 002b:00007ffe206cc318 EFLAGS: 00010287
RAX: 0000001b2d820000 RBX: 0000000000000003 RCX: 0000001b2d820000
RDX: 0000001b2d820004 RSI: 00007f33c5cf800e RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000001b2e820000 R09: 00007ffe206cbf60
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffe206cc5b0
irq event stamp: 1258
hardirqs last enabled at (1257): [] handle_mm_fault+0x6fd/0xa20
hardirqs last disabled at (1258): [] sysvec_call_function_single+0xb/0xc0
softirqs last enabled at (1052): [] __irq_exit_rcu+0x11b/0x180
softirqs last disabled at (1047): [] __irq_exit_rcu+0x11b/0x180
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess), 1 bytes skipped:
0: f2 86 84 e8 a9 0c 00 xacquire xchg %al,0xca9(%rax,%rbp,8)
7: 00
8: b8 ff ff ff ff mov $0xffffffff,%eax
d: 65 0f c1 05 4c 76 dd xadd %eax,%gs:0x7bdd764c(%rip) # 0x7bdd7661
14: 7b
15: 83 f8 01 cmp $0x1,%eax
18: 75 26 jne 0x40
1a: 48 f7 04 24 00 02 00 testq $0x200,(%rsp)
21: 00
22: 74 01 je 0x25
24: fb sti
25: 48 83 c4 08 add $0x8,%rsp
* 29: 44 89 e8 mov %r13d,%eax <-- trapping instruction
2c: 5b pop %rbx
2d: 5d pop %rbp
2e: 41 5c pop %r12
30: 41 5d pop %r13
32: 41 5e pop %r14
34: 41 5f pop %r15
36: e9 c6 39 3b 00 jmpq 0x3b3a01
3b: 45 31 ed xor %r13d,%r13d
3e: eb .byte 0xeb