audit: type=1400 audit(1664647478.677:8): avc: denied { kernel } for pid=3783 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: 3781 at kernel/events/core.c:2233 event_filter_match+0x422/0x660 Modules linked in: CPU: 0 PID: 3781 Comm: modprobe 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: 0000000080010001 RBX: ffff88801b520000 RCX: 0000000000000000 RDX: ffff88801b1f5040 RSI: ffffffff8154d8d2 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b401b R12: ffff88801b520220 R13: 0000000000000000 R14: ffff88801b5200a8 R15: ffff88801b520220 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2c381358e0 CR3: 000000000d132000 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:write_comp_data+0x10/0x90 Code: c0 6e 02 00 48 8b 80 20 14 00 00 e9 ba 33 1a 03 66 2e 0f 1f 84 00 00 00 00 00 49 89 f1 49 89 d2 49 89 f8 65 8b 05 e0 66 bc 7e <89> c6 81 e6 00 01 00 00 65 48 8b 14 25 c0 6e 02 00 a9 00 01 ff 00 RSP: 0018:ffff88801f25f838 EFLAGS: 00000282 RAX: 0000000080000000 RBX: ffff88808e71cfb0 RCX: ffffffff81129d6a RDX: ffff88808e71cfb0 RSI: ffff88800e71cfb0 RDI: 0000000000000006 RBP: ffff88800e71cfb0 R08: 0000000000000006 R09: ffff88800e71cfb0 R10: ffff88808e71cfb0 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888007c75000 R15: ffff88800f2e7600 __virt_addr_valid+0x2a/0x340 kasan_addr_to_slab+0x9/0xa0 __kasan_record_aux_stack+0xe/0xb0 call_rcu+0x6a/0xa30 kmem_cache_free_bulk.part.0+0x305/0x770 mas_destroy+0x380/0x560 mas_store_prealloc+0xf0/0x160 __vma_adjust+0xc6f/0x1aa0 __split_vma+0x4c3/0x5d0 split_vma+0x9f/0xe0 mprotect_fixup+0x691/0x8c0 do_mprotect_pkey+0x6fb/0xa70 __x64_sys_mprotect+0x74/0xb0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2c38439e27 Code: 44 00 00 b8 0b 00 00 00 0f 05 48 3d 01 f0 ff ff 73 01 c3 48 8d 0d 31 03 01 00 f7 d8 89 01 48 83 c8 ff c3 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8d 0d 11 03 01 00 f7 d8 89 01 48 83 RSP: 002b:00007ffd6121e818 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f2c38439e27 RDX: 0000000000000000 RSI: 0000000000196000 RDI: 00007f2c37f5c000 RBP: 00007ffd6121ebb0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000802 R11: 0000000000000206 R12: 00007f2c38418a20 R13: 00007ffd6121e820 R14: 0000000000000000 R15: 00007ffd6121ec40 irq event stamp: 8168 hardirqs last enabled at (8167): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (8168): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (7606): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (7465): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3781 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110 Modules linked in: CPU: 0 PID: 3781 Comm: modprobe 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: 0000000080010001 RBX: ffff88806ce3d2c0 RCX: 0000000000000000 RDX: ffff88801b1f5040 RSI: ffffffff8156fe4b RDI: 0000000000000005 RBP: ffff88801b520000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b401b R12: ffff88806ce3d2c0 R13: ffff88806ce00000 R14: ffff88801b5200a8 R15: ffff88801b520220 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2c381358e0 CR3: 000000000d132000 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:write_comp_data+0x10/0x90 Code: c0 6e 02 00 48 8b 80 20 14 00 00 e9 ba 33 1a 03 66 2e 0f 1f 84 00 00 00 00 00 49 89 f1 49 89 d2 49 89 f8 65 8b 05 e0 66 bc 7e <89> c6 81 e6 00 01 00 00 65 48 8b 14 25 c0 6e 02 00 a9 00 01 ff 00 RSP: 0018:ffff88801f25f838 EFLAGS: 00000282 RAX: 0000000080000000 RBX: ffff88808e71cfb0 RCX: ffffffff81129d6a RDX: ffff88808e71cfb0 RSI: ffff88800e71cfb0 RDI: 0000000000000006 RBP: ffff88800e71cfb0 R08: 0000000000000006 R09: ffff88800e71cfb0 R10: ffff88808e71cfb0 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888007c75000 R15: ffff88800f2e7600 __virt_addr_valid+0x2a/0x340 kasan_addr_to_slab+0x9/0xa0 __kasan_record_aux_stack+0xe/0xb0 call_rcu+0x6a/0xa30 kmem_cache_free_bulk.part.0+0x305/0x770 mas_destroy+0x380/0x560 mas_store_prealloc+0xf0/0x160 __vma_adjust+0xc6f/0x1aa0 __split_vma+0x4c3/0x5d0 split_vma+0x9f/0xe0 mprotect_fixup+0x691/0x8c0 do_mprotect_pkey+0x6fb/0xa70 __x64_sys_mprotect+0x74/0xb0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2c38439e27 Code: 44 00 00 b8 0b 00 00 00 0f 05 48 3d 01 f0 ff ff 73 01 c3 48 8d 0d 31 03 01 00 f7 d8 89 01 48 83 c8 ff c3 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8d 0d 11 03 01 00 f7 d8 89 01 48 83 RSP: 002b:00007ffd6121e818 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f2c38439e27 RDX: 0000000000000000 RSI: 0000000000196000 RDI: 00007f2c37f5c000 RBP: 00007ffd6121ebb0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000802 R11: 0000000000000206 R12: 00007f2c38418a20 R13: 00007ffd6121e820 R14: 0000000000000000 R15: 00007ffd6121ec40 irq event stamp: 8168 hardirqs last enabled at (8167): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (8168): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (7606): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (7465): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- hrtimer: interrupt took 38762 ns ------------[ cut here ]------------ ====================================================== ---------------- Code disassembly (best guess): 0: c0 6e 02 00 shrb $0x0,0x2(%rsi) 4: 48 8b 80 20 14 00 00 mov 0x1420(%rax),%rax b: e9 ba 33 1a 03 jmpq 0x31a33ca 10: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 17: 00 00 00 1a: 49 89 f1 mov %rsi,%r9 1d: 49 89 d2 mov %rdx,%r10 20: 49 89 f8 mov %rdi,%r8 23: 65 8b 05 e0 66 bc 7e mov %gs:0x7ebc66e0(%rip),%eax # 0x7ebc670a * 2a: 89 c6 mov %eax,%esi <-- trapping instruction 2c: 81 e6 00 01 00 00 and $0x100,%esi 32: 65 48 8b 14 25 c0 6e mov %gs:0x26ec0,%rdx 39: 02 00 3b: a9 00 01 ff 00 test $0xff0100,%eax