audit: type=1400 audit(1664022627.617:8): avc: denied { kernel } for pid=3905 comm="syz-executor.6" 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: 3906 at kernel/events/core.c:2233 event_filter_match+0x422/0x660
Modules linked in:
CPU: 0 PID: 3906 Comm: syz-executor.7 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: 0000000080010002 RBX: ffff88803f3a0000 RCX: 0000000000000000
RDX: ffff88803f325040 RSI: ffffffff8154ecf2 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000000 R11: ffffffff865b001b R12: ffff88803f3a0220
R13: 0000000000000000 R14: ffff88803f3a00a8 R15: ffff88803f3a0220
FS: 0000555556263400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001300 CR3: 000000003dd54000 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:finish_task_switch.isra.0+0x237/0x8a0
Code: 89 ff 48 c7 03 00 00 00 00 e8 45 b5 3f 03 4d 85 e4 75 ba 4c 89 ff e8 b8 87 06 03 e8 43 5e 2c 00 fb 65 48 8b 1c 25 c0 6e 02 00 <48> 8d bb 10 14 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1
RSP: 0018:ffff88803f36fa68 EFLAGS: 00000206
RAX: 0000000000000a1d RBX: ffff88803f325040 RCX: 1ffffffff0b603d1
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff88803f36faa8 R08: 0000000000000001 R09: 0000000000000001
R10: ffffed100d9c6fa0 R11: 0000000000000001 R12: ffff88806ce37d18
R13: ffff8880180a3580 R14: ffff88803f3254f0 R15: ffff88806ce37d00
__schedule+0x89b/0x2470
schedule+0xda/0x1b0
futex_wait_queue+0xf5/0x1e0
futex_wait+0x28e/0x690
do_futex+0x2ff/0x380
__x64_sys_futex+0x1c6/0x4d0
do_syscall_64+0x3b/0x90
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe9fa070b19
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff71fea5b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 0000000000000032 RCX: 00007fe9fa070b19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fe9fa183f6c
RBP: 00007fe9fa183f6c R08: 00007fff71ff5080 R09: 0000000000000000
R10: 00007fff71fea690 R11: 0000000000000246 R12: 0000000000020151
R13: 00000000000003e8 R14: 00007fe9fa183f60 R15: 0000000000020140
irq event stamp: 2590
hardirqs last enabled at (2589): [] finish_task_switch.isra.0+0x22d/0x8a0
hardirqs last disabled at (2590): [] sysvec_call_function_single+0xb/0xc0
softirqs last enabled at (2188): [] __irq_exit_rcu+0x11b/0x180
softirqs last disabled at (2123): [] __irq_exit_rcu+0x11b/0x180
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3906 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110
Modules linked in:
CPU: 0 PID: 3906 Comm: syz-executor.7 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: 0000000080010002 RBX: ffff88806ce3d140 RCX: 0000000000000000
RDX: ffff88803f325040 RSI: ffffffff8156f04b RDI: 0000000000000005
RBP: ffff88803f3a0000 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000000 R11: ffffffff865b001b R12: ffff88806ce3d140
R13: ffff88806ce00000 R14: ffff88803f3a00a8 R15: ffff88803f3a0220
FS: 0000555556263400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001300 CR3: 000000003dd54000 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:finish_task_switch.isra.0+0x237/0x8a0
Code: 89 ff 48 c7 03 00 00 00 00 e8 45 b5 3f 03 4d 85 e4 75 ba 4c 89 ff e8 b8 87 06 03 e8 43 5e 2c 00 fb 65 48 8b 1c 25 c0 6e 02 00 <48> 8d bb 10 14 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1
RSP: 0018:ffff88803f36fa68 EFLAGS: 00000206
RAX: 0000000000000a1d RBX: ffff88803f325040 RCX: 1ffffffff0b603d1
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff88803f36faa8 R08: 0000000000000001 R09: 0000000000000001
R10: ffffed100d9c6fa0 R11: 0000000000000001 R12: ffff88806ce37d18
R13: ffff8880180a3580 R14: ffff88803f3254f0 R15: ffff88806ce37d00
__schedule+0x89b/0x2470
schedule+0xda/0x1b0
futex_wait_queue+0xf5/0x1e0
futex_wait+0x28e/0x690
do_futex+0x2ff/0x380
__x64_sys_futex+0x1c6/0x4d0
do_syscall_64+0x3b/0x90
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe9fa070b19
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff71fea5b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 0000000000000032 RCX: 00007fe9fa070b19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fe9fa183f6c
RBP: 00007fe9fa183f6c R08: 00007fff71ff5080 R09: 0000000000000000
R10: 00007fff71fea690 R11: 0000000000000246 R12: 0000000000020151
R13: 00000000000003e8 R14: 00007fe9fa183f60 R15: 0000000000020140
irq event stamp: 2590
hardirqs last enabled at (2589): [] finish_task_switch.isra.0+0x22d/0x8a0
hardirqs last disabled at (2590): [] sysvec_call_function_single+0xb/0xc0
softirqs last enabled at (2188): [] __irq_exit_rcu+0x11b/0x180
softirqs last disabled at (2123): [] __irq_exit_rcu+0x11b/0x180
---[ end trace 0000000000000000 ]---
loop0: detected capacity change from 0 to 3
------------[ cut here ]------------
======================================================
----------------
Code disassembly (best guess):
0: 89 ff mov %edi,%edi
2: 48 c7 03 00 00 00 00 movq $0x0,(%rbx)
9: e8 45 b5 3f 03 callq 0x33fb553
e: 4d 85 e4 test %r12,%r12
11: 75 ba jne 0xffffffcd
13: 4c 89 ff mov %r15,%rdi
16: e8 b8 87 06 03 callq 0x30687d3
1b: e8 43 5e 2c 00 callq 0x2c5e63
20: fb sti
21: 65 48 8b 1c 25 c0 6e mov %gs:0x26ec0,%rbx
28: 02 00
* 2a: 48 8d bb 10 14 00 00 lea 0x1410(%rbx),%rdi <-- trapping instruction
31: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
38: fc ff df
3b: 48 89 fa mov %rdi,%rdx
3e: 48 rex.W
3f: c1 .byte 0xc1