audit: type=1400 audit(1665042103.690:8): avc: denied { kernel } for pid=3905 comm="syz-executor.7" 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: 3904 at kernel/events/core.c:2233 event_filter_match+0x422/0x660
Modules linked in:
CPU: 0 PID: 3904 Comm: modprobe Not tainted 6.0.0-next-20221005 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 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 20 8d 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 25 9f 23 00 e9 17 fc ff ff e8 4b 33 f1 ff 48 8d 7b
RSP: 0018:ffff88806ce09c70 EFLAGS: 00010046
RAX: 0000000080010002 RBX: ffff888040cb0000 RCX: 0000000000000000
RDX: ffff88801d449ac0 RSI: ffffffff8154e8b2 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000000 R11: ffffffff865b601b R12: ffff888040cb0220
R13: 0000000000000000 R14: ffff888040cb00a8 R15: ffff888040cb0220
FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9607eb5028 CR3: 000000004032e000 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:kmem_cache_alloc_bulk+0x367/0x7d0
Code: 85 d2 0f 84 fe 01 00 00 48 c7 45 28 00 00 00 00 48 c7 c6 25 45 78 81 48 89 ef e8 e4 e6 b1 ff e8 0f af d4 ff fb bf 01 00 00 00 a4 00 a8 ff 65 8b 05 2d 29 8a 7e 85 c0 0f 84 07 03 00 00 0f 1f
RSP: 0018:ffff888040cd7b50 EFLAGS: 00000206
RAX: 00000000000009eb RBX: 0000000000000006 RCX: ffffffff81298e8f
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff88806ce3c700 R08: 0000000000000001 R09: ffffffff86cd57ef
R10: fffffbfff0d9aafd R11: 0000000000000001 R12: 0000000000000006
R13: ffff88801b075010 R14: ffff888007c75000 R15: 0000000000000006
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:0x7f9607ed6d82
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:00007ffc715216f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 0000000000000802 RCX: 00007f9607ed6d82
RDX: 0000000000000001 RSI: 0000000000027290 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000802 R11: 0000000000000246 R12: 00007f9607eb5000
R13: 00007ffc71521710 R14: 0000000000000000 R15: 00007ffc71521aa0
irq event stamp: 2540
hardirqs last enabled at (2539): [] kmem_cache_alloc_bulk+0x361/0x7d0
hardirqs last disabled at (2540): [] sysvec_call_function_single+0xb/0xc0
softirqs last enabled at (1982): [] __irq_exit_rcu+0x11b/0x180
softirqs last disabled at (1959): [] __irq_exit_rcu+0x11b/0x180
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3904 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110
Modules linked in:
CPU: 0 PID: 3904 Comm: modprobe Tainted: G W 6.0.0-next-20221005 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
RIP: 0010:merge_sched_in+0xadb/0x1110
Code: ff ff e8 08 0e ef ff 65 8b 05 ad 67 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: ffff88801d449ac0 RSI: ffffffff81570e2b RDI: 0000000000000005
RBP: ffff888040cb0000 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000000 R11: ffffffff865b601b R12: ffff88806ce3d2c0
R13: ffff88806ce00000 R14: ffff888040cb00a8 R15: ffff888040cb0220
FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9607eb5028 CR3: 000000004032e000 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:kmem_cache_alloc_bulk+0x367/0x7d0
Code: 85 d2 0f 84 fe 01 00 00 48 c7 45 28 00 00 00 00 48 c7 c6 25 45 78 81 48 89 ef e8 e4 e6 b1 ff e8 0f af d4 ff fb bf 01 00 00 00 a4 00 a8 ff 65 8b 05 2d 29 8a 7e 85 c0 0f 84 07 03 00 00 0f 1f
RSP: 0018:ffff888040cd7b50 EFLAGS: 00000206
RAX: 00000000000009eb RBX: 0000000000000006 RCX: ffffffff81298e8f
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff88806ce3c700 R08: 0000000000000001 R09: ffffffff86cd57ef
R10: fffffbfff0d9aafd R11: 0000000000000001 R12: 0000000000000006
R13: ffff88801b075010 R14: ffff888007c75000 R15: 0000000000000006
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:0x7f9607ed6d82
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:00007ffc715216f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 0000000000000802 RCX: 00007f9607ed6d82
RDX: 0000000000000001 RSI: 0000000000027290 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000802 R11: 0000000000000246 R12: 00007f9607eb5000
R13: 00007ffc71521710 R14: 0000000000000000 R15: 00007ffc71521aa0
irq event stamp: 2540
hardirqs last enabled at (2539): [] kmem_cache_alloc_bulk+0x361/0x7d0
hardirqs last disabled at (2540): [] sysvec_call_function_single+0xb/0xc0
softirqs last enabled at (1982): [] __irq_exit_rcu+0x11b/0x180
softirqs last disabled at (1959): [] __irq_exit_rcu+0x11b/0x180
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
======================================================
----------------
Code disassembly (best guess):
0: 85 d2 test %edx,%edx
2: 0f 84 fe 01 00 00 je 0x206
8: 48 c7 45 28 00 00 00 movq $0x0,0x28(%rbp)
f: 00
10: 48 c7 c6 25 45 78 81 mov $0xffffffff81784525,%rsi
17: 48 89 ef mov %rbp,%rdi
1a: e8 e4 e6 b1 ff callq 0xffb1e703
1f: e8 0f af d4 ff callq 0xffd4af33
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 a4 00 a8 ff callq 0xffa800d3 <-- trapping instruction
2f: 65 8b 05 2d 29 8a 7e mov %gs:0x7e8a292d(%rip),%eax # 0x7e8a2963
36: 85 c0 test %eax,%eax
38: 0f 84 07 03 00 00 je 0x345
3e: 0f .byte 0xf
3f: 1f (bad)