audit: type=1400 audit(1663355720.051:8): avc: denied { kernel } for pid=3799 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: 3791 at kernel/events/core.c:2233 event_filter_match+0x422/0x660 Modules linked in: CPU: 0 PID: 3791 Comm: modprobe Not tainted 6.0.0-rc5-next-20220916 #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 4b 15 f1 ff 65 8b 2d c0 73 ad 7e 31 ff 89 ee e8 eb 11 f1 ff 85 ed 0f 84 ef 00 00 00 e8 2e 15 f1 ff <0f> 0b eb 9f e8 05 92 23 00 e9 17 fc ff ff e8 1b 15 f1 ff 48 8d 7b RSP: 0000:ffff88806ce09c70 EFLAGS: 00010046 RAX: 0000000080010003 RBX: ffff8880180a0000 RCX: 0000000000000000 RDX: ffff88801aecd040 RSI: ffffffff81550212 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865ac01b R12: ffff8880180a0220 R13: 0000000000000000 R14: ffff8880180a00a8 R15: ffff8880180a0220 FS: 00007f2ef7684540(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2ef772a570 CR3: 0000000041a5a000 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: 60 ef 86 84 e8 a9 0c 00 00 b8 ff ff ff ff 65 0f c1 05 cc 42 de 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 06 06 3c 00 45 31 ed eb RSP: 0000:ffff88801f51fa78 EFLAGS: 00000286 RAX: 0000000000000001 RBX: 0000000000000002 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: ffffffff85406ee0 R08: 0000000000000000 R09: ffffffff85b02f17 R10: fffffbfff0b605e2 R11: 0000000000000001 R12: ffff88801aecd040 R13: 0000000000000000 R14: 00000000ffffffff R15: ffff88801aecd9e0 rcu_read_lock_sched_held+0x3e/0x80 lock_acquire+0x45e/0x530 _raw_spin_lock+0x2a/0x40 filemap_map_pages+0x423/0x10b0 __handle_mm_fault+0x223b/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:0x7f2ef772a570 Code: Unable to access opcode bytes at RIP 0x7f2ef772a546. RSP: 002b:00007fff4484f908 EFLAGS: 00010202 RAX: 00007fff4484f930 RBX: 0000000000000001 RCX: 0000000000000002 RDX: 00007fff4484f910 RSI: 000055e3518a170d RDI: 00007fff4484f9f8 RBP: 0000000000000000 R08: 00007fff4484fa82 R09: 00007f2ef786bbe0 R10: 0000000000000001 R11: 0000000000000246 R12: 000055e351b92310 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 irq event stamp: 17574 hardirqs last enabled at (17573): [] handle_mm_fault+0x6fd/0xa20 hardirqs last disabled at (17574): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (16478): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (16473): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3791 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110 Modules linked in: CPU: 0 PID: 3791 Comm: modprobe Tainted: G W 6.0.0-rc5-next-20220916 #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 78 16 ef ff 65 8b 05 ed 74 ab 7e 31 ff 89 c6 89 04 24 e8 15 13 ef ff 8b 04 24 85 c0 0f 84 13 02 00 00 e8 55 16 ef ff <0f> 0b e9 c4 fb ff ff e8 49 16 ef ff 4c 89 e8 48 05 18 01 00 00 e9 RSP: 0000:ffff88806ce09cb0 EFLAGS: 00010046 RAX: 0000000080010003 RBX: ffff88806ce3d100 RCX: 0000000000000000 RDX: ffff88801aecd040 RSI: ffffffff815700eb RDI: 0000000000000005 RBP: ffff8880180a0000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865ac01b R12: ffff88806ce3d100 R13: ffff88806ce00000 R14: ffff8880180a00a8 R15: ffff8880180a0220 FS: 00007f2ef7684540(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2ef772a546 CR3: 0000000041a5a000 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: 60 ef 86 84 e8 a9 0c 00 00 b8 ff ff ff ff 65 0f c1 05 cc 42 de 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 06 06 3c 00 45 31 ed eb RSP: 0000:ffff88801f51fa78 EFLAGS: 00000286 RAX: 0000000000000001 RBX: 0000000000000002 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: ffffffff85406ee0 R08: 0000000000000000 R09: ffffffff85b02f17 R10: fffffbfff0b605e2 R11: 0000000000000001 R12: ffff88801aecd040 R13: 0000000000000000 R14: 00000000ffffffff R15: ffff88801aecd9e0 rcu_read_lock_sched_held+0x3e/0x80 lock_acquire+0x45e/0x530 _raw_spin_lock+0x2a/0x40 filemap_map_pages+0x423/0x10b0 __handle_mm_fault+0x223b/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:0x7f2ef772a570 Code: Unable to access opcode bytes at RIP 0x7f2ef772a546. RSP: 002b:00007fff4484f908 EFLAGS: 00010202 RAX: 00007fff4484f930 RBX: 0000000000000001 RCX: 0000000000000002 RDX: 00007fff4484f910 RSI: 000055e3518a170d RDI: 00007fff4484f9f8 RBP: 0000000000000000 R08: 00007fff4484fa82 R09: 00007f2ef786bbe0 R10: 0000000000000001 R11: 0000000000000246 R12: 000055e351b92310 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 irq event stamp: 17574 hardirqs last enabled at (17573): [] handle_mm_fault+0x6fd/0xa20 hardirqs last disabled at (17574): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (16478): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (16473): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 14 at kernel/events/core.c:2047 perf_group_detach+0x99e/0x12f0 Modules linked in: CPU: 0 PID: 14 Comm: rcu_preempt Tainted: G W 6.0.0-rc5-next-20220916 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:perf_group_detach+0x99e/0x12f0 Code: 85 d5 f8 ff ff e8 22 57 ee ff 65 44 8b 25 96 b5 aa 7e 31 ff 44 89 e6 e8 c0 53 ee ff 45 85 e4 0f 84 0a 05 00 00 e8 02 57 ee ff <0f> 0b e9 a9 f8 ff ff e8 f6 56 ee ff 65 8b 1d 6b b5 aa 7e 31 ff 89 RSP: 0018:ffff88806ce09e60 EFLAGS: 00010046 RAX: 0000000080010002 RBX: ffff8880180a0000 RCX: 0000000000000000 RDX: ffff888008639ac0 RSI: ffffffff8157c03e RDI: 0000000000000005 RBP: ffff8880180a0000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865ac01b R12: 0000000000000000 R13: ffff8880180a0090 R14: ffff88806ce3d100 R15: ffff8880180a0000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f087a0f7368 CR3: 000000004193a000 CR4: 0000000000350ef0 Call Trace: __perf_remove_from_context+0x71e/0xb20 event_function+0x297/0x3d0 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:_raw_spin_unlock_irq+0x25/0x50 Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 ce fe 03 fd 48 89 ef e8 26 74 04 fd e8 d1 b6 26 fd fb bf 01 00 00 00 76 ff f9 fc 65 8b 05 9f 35 dc 7b 85 c0 74 06 5d e9 15 02 3a 00 RSP: 0018:ffff88800864fd50 EFLAGS: 00000206 RAX: 0000000000104fa3 RBX: dffffc0000000000 RCX: 1ffffffff0b600e1 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffffff85411a80 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff0a82350 R11: 0000000000000001 R12: ffffed10010c7358 R13: ffffffff85ae08c0 R14: 0000000000000000 R15: ffffffff85b0c9fc rcu_gp_cleanup+0x142/0xa60 rcu_gp_kthread+0x3d5/0x5a0 kthread+0x2ed/0x3a0 ret_from_fork+0x22/0x30 irq event stamp: 1068964 hardirqs last enabled at (1068963): [] _raw_spin_unlock_irq+0x1f/0x50 hardirqs last disabled at (1068964): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1010422): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (1010283): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 14 at kernel/events/core.c:2183 perf_group_detach+0x9c7/0x12f0 Modules linked in: CPU: 0 PID: 14 Comm: rcu_preempt Tainted: G W 6.0.0-rc5-next-20220916 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:perf_group_detach+0x9c7/0x12f0 Code: ff 0f 0b e9 a9 f8 ff ff e8 f6 56 ee ff 65 8b 1d 6b b5 aa 7e 31 ff 89 de e8 96 53 ee ff 85 db 0f 84 86 04 00 00 e8 d9 56 ee ff <0f> 0b e9 0e fa ff ff e8 cd 56 ee ff 48 8b 7c 24 20 48 81 c7 f8 00 RSP: 0018:ffff88806ce09e60 EFLAGS: 00010046 RAX: 0000000080010002 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888008639ac0 RSI: ffffffff8157c067 RDI: 0000000000000005 RBP: ffff8880180a0000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865ac01b R12: ffff8880180a0000 R13: ffff8880180a0000 R14: ffff88806ce3d100 R15: ffff8880180a0000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f087a0f7368 CR3: 000000004193a000 CR4: 0000000000350ef0 Call Trace: __perf_remove_from_context+0x71e/0xb20 event_function+0x297/0x3d0 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:_raw_spin_unlock_irq+0x25/0x50 Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 ce fe 03 fd 48 89 ef e8 26 74 04 fd e8 d1 b6 26 fd fb bf 01 00 00 00 76 ff f9 fc 65 8b 05 9f 35 dc 7b 85 c0 74 06 5d e9 15 02 3a 00 RSP: 0018:ffff88800864fd50 EFLAGS: 00000206 RAX: 0000000000104fa3 RBX: dffffc0000000000 RCX: 1ffffffff0b600e1 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffffff85411a80 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff0a82350 R11: 0000000000000001 R12: ffffed10010c7358 R13: ffffffff85ae08c0 R14: 0000000000000000 R15: ffffffff85b0c9fc rcu_gp_cleanup+0x142/0xa60 rcu_gp_kthread+0x3d5/0x5a0 kthread+0x2ed/0x3a0 ret_from_fork+0x22/0x30 irq event stamp: 1068964 hardirqs last enabled at (1068963): [] _raw_spin_unlock_irq+0x1f/0x50 hardirqs last disabled at (1068964): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1010422): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (1010283): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 14 at kernel/events/core.c:655 perf_event_update_sibling_time+0xd5/0x4d0 Modules linked in: CPU: 0 PID: 14 Comm: rcu_preempt Tainted: G W 6.0.0-rc5-next-20220916 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:perf_event_update_sibling_time+0xd5/0x4d0 Code: 5e 41 5f e9 5d c5 f0 ff e8 58 c5 f0 ff 65 8b 1d cd 23 ad 7e 31 ff 89 de e8 f8 c1 f0 ff 85 db 0f 84 d3 02 00 00 e8 3b c5 f0 ff <0f> 0b eb 97 e8 32 c5 f0 ff 48 8d 7d 10 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffff88806ce09e58 EFLAGS: 00010046 RAX: 0000000080010002 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888008639ac0 RSI: ffffffff81555205 RDI: 0000000000000005 RBP: ffff8880180a0000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865ac01b R12: 0000000000000000 R13: ffff8880180a00a8 R14: 0000000000000001 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f087a0f7368 CR3: 000000004193a000 CR4: 0000000000350ef0 Call Trace: list_del_event+0x524/0x860 __perf_remove_from_context+0xd2/0xb20 event_function+0x297/0x3d0 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:_raw_spin_unlock_irq+0x25/0x50 Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 ce fe 03 fd 48 89 ef e8 26 74 04 fd e8 d1 b6 26 fd fb bf 01 00 00 00 76 ff f9 fc 65 8b 05 9f 35 dc 7b 85 c0 74 06 5d e9 15 02 3a 00 RSP: 0018:ffff88800864fd50 EFLAGS: 00000206 RAX: 0000000000104fa3 RBX: dffffc0000000000 RCX: 1ffffffff0b600e1 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffffff85411a80 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff0a82350 R11: 0000000000000001 R12: ffffed10010c7358 R13: ffffffff85ae08c0 R14: 0000000000000000 R15: ffffffff85b0c9fc rcu_gp_cleanup+0x142/0xa60 rcu_gp_kthread+0x3d5/0x5a0 kthread+0x2ed/0x3a0 ret_from_fork+0x22/0x30 irq event stamp: 1068964 hardirqs last enabled at (1068963): [] _raw_spin_unlock_irq+0x1f/0x50 hardirqs last disabled at (1068964): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1010422): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (1010283): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ====================================================== ---------------- Code disassembly (best guess), 1 bytes skipped: 0: ef out %eax,(%dx) 1: 86 84 e8 a9 0c 00 00 xchg %al,0xca9(%rax,%rbp,8) 8: b8 ff ff ff ff mov $0xffffffff,%eax d: 65 0f c1 05 cc 42 de xadd %eax,%gs:0x7bde42cc(%rip) # 0x7bde42e1 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 06 06 3c 00 jmpq 0x3c0641 3b: 45 31 ed xor %r13d,%r13d 3e: eb .byte 0xeb