audit: type=1400 audit(1664816026.729:8): avc: denied { kernel } for pid=5354 comm="syz-executor.5" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=perf_event permissive=1
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3833 at kernel/events/core.c:2233 event_filter_match+0x422/0x660
Modules linked in:
CPU: 0 PID: 3833 Comm: syz-executor.4 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: 0000000080010003 RBX: ffff888035e285c8 RCX: 0000000000000000
RDX: ffff888020450000 RSI: ffffffff8154d8d2 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000000 R11: ffffffff865b401b R12: ffff888035e287e8
R13: 0000000000000000 R14: ffff888035e28670 R15: ffff888035e287e8
FS: 0000555555e57400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d923000 CR3: 0000000040830000 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_lockdep_current_cpu_online+0x30/0x140
Code: 7e 81 e2 00 00 f0 00 b8 01 00 00 00 75 0a 8b 15 be 2c 7f 04 85 d2 75 05 e9 2d f8 2e 03 55 53 48 83 ec 08 65 ff 05 60 2b d1 7e 3b ff f3 02 48 c7 c3 40 8c 03 00 48 ba 00 00 00 00 00 fc ff df
RSP: 0018:ffff88803142f168 EFLAGS: 00000282
RAX: 0000000000000001 RBX: 0000000000000001 RCX: 1ffffffff0a1e514
RDX: 0000000000000001 RSI: 0000000000000002 RDI: ffffffff850f28a0
RBP: ffffffff84e03b60 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: 0000000000000000 R14: ffff888008869000 R15: 00007f4fdd910000
rcu_read_lock_sched_held+0x29/0x80
trace_ma_write+0x142/0x1f0
mas_wr_bnode+0x13a/0x24f0
mas_wr_modify+0x32a/0x1660
mas_wr_store_entry.isra.0+0x5c3/0xf90
mas_store+0xac/0xf0
dup_mmap+0x7f1/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:0x7f4fdd97410b
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:00007ffe3e6293c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4fdd97410b
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555555e57400
R10: 0000555555e576d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000001 R14: 0000000000000001 R15: 00007ffe3e6294a0
irq event stamp: 129430
hardirqs last enabled at (129429): [] mod_objcg_state+0x3ab/0x9e0
hardirqs last disabled at (129430): [] sysvec_call_function_single+0xb/0xc0
softirqs last enabled at (129268): [] __irq_exit_rcu+0x11b/0x180
softirqs last disabled at (129263): [] __irq_exit_rcu+0x11b/0x180
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3833 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110
Modules linked in:
CPU: 0 PID: 3833 Comm: syz-executor.4 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: 0000000080010003 RBX: ffff88806ce3d2c0 RCX: 0000000000000000
RDX: ffff888020450000 RSI: ffffffff8156fe4b RDI: 0000000000000005
RBP: ffff888035e285c8 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000000 R11: ffffffff865b401b R12: ffff88806ce3d2c0
R13: ffff88806ce00000 R14: ffff888035e28670 R15: ffff888035e287e8
FS: 0000555555e57400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d923000 CR3: 0000000040830000 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_lockdep_current_cpu_online+0x30/0x140
Code: 7e 81 e2 00 00 f0 00 b8 01 00 00 00 75 0a 8b 15 be 2c 7f 04 85 d2 75 05 e9 2d f8 2e 03 55 53 48 83 ec 08 65 ff 05 60 2b d1 7e 3b ff f3 02 48 c7 c3 40 8c 03 00 48 ba 00 00 00 00 00 fc ff df
RSP: 0018:ffff88803142f168 EFLAGS: 00000282
RAX: 0000000000000001 RBX: 0000000000000001 RCX: 1ffffffff0a1e514
RDX: 0000000000000001 RSI: 0000000000000002 RDI: ffffffff850f28a0
RBP: ffffffff84e03b60 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: 0000000000000000 R14: ffff888008869000 R15: 00007f4fdd910000
rcu_read_lock_sched_held+0x29/0x80
trace_ma_write+0x142/0x1f0
mas_wr_bnode+0x13a/0x24f0
mas_wr_modify+0x32a/0x1660
mas_wr_store_entry.isra.0+0x5c3/0xf90
mas_store+0xac/0xf0
dup_mmap+0x7f1/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:0x7f4fdd97410b
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:00007ffe3e6293c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4fdd97410b
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555555e57400
R10: 0000555555e576d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000001 R14: 0000000000000001 R15: 00007ffe3e6294a0
irq event stamp: 129430
hardirqs last enabled at (129429): [] mod_objcg_state+0x3ab/0x9e0
hardirqs last disabled at (129430): [] sysvec_call_function_single+0xb/0xc0
softirqs last enabled at (129268): [] __irq_exit_rcu+0x11b/0x180
softirqs last disabled at (129263): [] __irq_exit_rcu+0x11b/0x180
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
======================================================
----------------
Code disassembly (best guess):
0: 7e 81 jle 0xffffff83
2: e2 00 loop 0x4
4: 00 f0 add %dh,%al
6: 00 b8 01 00 00 00 add %bh,0x1(%rax)
c: 75 0a jne 0x18
e: 8b 15 be 2c 7f 04 mov 0x47f2cbe(%rip),%edx # 0x47f2cd2
14: 85 d2 test %edx,%edx
16: 75 05 jne 0x1d
18: e9 2d f8 2e 03 jmpq 0x32ef84a
1d: 55 push %rbp
1e: 53 push %rbx
1f: 48 83 ec 08 sub $0x8,%rsp
23: 65 ff 05 60 2b d1 7e incl %gs:0x7ed12b60(%rip) # 0x7ed12b8a
* 2a: e8 3b ff f3 02 callq 0x2f3ff6a <-- trapping instruction
2f: 48 c7 c3 40 8c 03 00 mov $0x38c40,%rbx
36: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
3d: fc ff df