audit: type=1400 audit(1664528304.510:8): avc: denied { kernel } for pid=4003 comm="syz-executor.2" 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: 4003 at kernel/events/core.c:2233 event_filter_match+0x422/0x660 Modules linked in: CPU: 0 PID: 4003 Comm: syz-executor.2 Not tainted 6.0.0-rc7-next-20220929 #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 60 9c 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: 0000:ffff88806ce09c70 EFLAGS: 00010046 RAX: 0000000080010002 RBX: ffff8880405e0000 RCX: 0000000000000000 RDX: ffff88803ef98000 RSI: ffffffff8154d972 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b401b R12: ffff8880405e0220 R13: 0000000000000000 R14: ffff8880405e00a8 R15: ffff8880405e0220 FS: 0000555557425400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb685ac58d8 CR3: 0000000015e2e000 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:__sanitizer_cov_trace_pc+0x37/0x70 Code: 81 e1 00 01 00 00 65 48 8b 14 25 c0 6e 02 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 2c 14 00 00 85 c0 74 2b 8b 82 08 14 00 00 <83> f8 02 75 20 48 8b 8a 10 14 00 00 8b 92 0c 14 00 00 48 8b 01 48 RSP: 0000:ffff8880404cfcb0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000000 RDX: ffff88803ef98000 RSI: ffffffff81695069 RDI: 0000000000000007 RBP: ffff8880404cfd88 R08: 0000000000000007 R09: 000000000000000a R10: 0000000000000002 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88800e6464e0 R14: ffff8880404cfdd8 R15: ffff8880404cfdb0 do_wp_page+0x169/0x2050 __handle_mm_fault+0x11eb/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:0x7fb685968d30 Code: 75 c8 48 89 d8 eb 0c 0f 1f 00 48 8b 78 f8 48 3b 38 74 21 48 89 c2 48 83 c0 08 49 39 c4 75 eb e9 ff fe ff ff 66 0f 1f 44 00 00 <47> 89 44 95 00 e9 b3 fe ff ff 49 39 d4 74 73 48 8d 72 10 4c 39 e6 RSP: 002b:00007fff8077a260 EFLAGS: 00010246 RAX: 0000000017f10e36 RBX: 00007fb685732008 RCX: 0000001b2dd20000 RDX: 0000001b2dd2004c RSI: ffffffff81e53f76 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000017f10e36 R09: 0000001b2dd2001c R10: 0000000000000e36 R11: 0000000017f10e3a R12: 000000000000000b R13: 00007fb685ac2000 R14: ffffffff81e53f76 R15: 00007fb685acdff0 irq event stamp: 2060 hardirqs last enabled at (2059): [] handle_mm_fault+0x6fd/0xa20 hardirqs last disabled at (2060): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1870): [] fpu_clone+0x3c2/0xb00 softirqs last disabled at (1868): [] fpu_clone+0x335/0xb00 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4003 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110 Modules linked in: CPU: 0 PID: 4003 Comm: syz-executor.2 Tainted: G W 6.0.0-rc7-next-20220929 #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 ed 76 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: 0000:ffff88806ce09cb0 EFLAGS: 00010046 RAX: 0000000080010002 RBX: ffff88806ce3d2c0 RCX: 0000000000000000 RDX: ffff88803ef98000 RSI: ffffffff8156feeb RDI: 0000000000000005 RBP: ffff8880405e0000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b401b R12: ffff88806ce3d2c0 R13: ffff88806ce00000 R14: ffff8880405e00a8 R15: ffff8880405e0220 FS: 0000555557425400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb685ac58d8 CR3: 0000000015e2e000 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:__sanitizer_cov_trace_pc+0x37/0x70 Code: 81 e1 00 01 00 00 65 48 8b 14 25 c0 6e 02 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 2c 14 00 00 85 c0 74 2b 8b 82 08 14 00 00 <83> f8 02 75 20 48 8b 8a 10 14 00 00 8b 92 0c 14 00 00 48 8b 01 48 RSP: 0000:ffff8880404cfcb0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000000 RDX: ffff88803ef98000 RSI: ffffffff81695069 RDI: 0000000000000007 RBP: ffff8880404cfd88 R08: 0000000000000007 R09: 000000000000000a R10: 0000000000000002 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88800e6464e0 R14: ffff8880404cfdd8 R15: ffff8880404cfdb0 do_wp_page+0x169/0x2050 __handle_mm_fault+0x11eb/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:0x7fb685968d30 Code: 75 c8 48 89 d8 eb 0c 0f 1f 00 48 8b 78 f8 48 3b 38 74 21 48 89 c2 48 83 c0 08 49 39 c4 75 eb e9 ff fe ff ff 66 0f 1f 44 00 00 <47> 89 44 95 00 e9 b3 fe ff ff 49 39 d4 74 73 48 8d 72 10 4c 39 e6 RSP: 002b:00007fff8077a260 EFLAGS: 00010246 RAX: 0000000017f10e36 RBX: 00007fb685732008 RCX: 0000001b2dd20000 RDX: 0000001b2dd2004c RSI: ffffffff81e53f76 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000017f10e36 R09: 0000001b2dd2001c R10: 0000000000000e36 R11: 0000000017f10e3a R12: 000000000000000b R13: 00007fb685ac2000 R14: ffffffff81e53f76 R15: 00007fb685acdff0 irq event stamp: 2060 hardirqs last enabled at (2059): [] handle_mm_fault+0x6fd/0xa20 hardirqs last disabled at (2060): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1870): [] fpu_clone+0x3c2/0xb00 softirqs last disabled at (1868): [] fpu_clone+0x335/0xb00 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ====================================================== ---------------- Code disassembly (best guess): 0: 81 e1 00 01 00 00 and $0x100,%ecx 6: 65 48 8b 14 25 c0 6e mov %gs:0x26ec0,%rdx d: 02 00 f: a9 00 01 ff 00 test $0xff0100,%eax 14: 74 0e je 0x24 16: 85 c9 test %ecx,%ecx 18: 74 35 je 0x4f 1a: 8b 82 2c 14 00 00 mov 0x142c(%rdx),%eax 20: 85 c0 test %eax,%eax 22: 74 2b je 0x4f 24: 8b 82 08 14 00 00 mov 0x1408(%rdx),%eax * 2a: 83 f8 02 cmp $0x2,%eax <-- trapping instruction 2d: 75 20 jne 0x4f 2f: 48 8b 8a 10 14 00 00 mov 0x1410(%rdx),%rcx 36: 8b 92 0c 14 00 00 mov 0x140c(%rdx),%edx 3c: 48 8b 01 mov (%rcx),%rax 3f: 48 rex.W