audit: type=1400 audit(1663331751.952:8): avc: denied { kernel } for pid=3888 comm="syz-executor.4" 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: 3884 at kernel/events/core.c:2233 perf_iterate_sb+0x5d8/0xb30 Modules linked in: CPU: 0 PID: 3884 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:perf_iterate_sb+0x5d8/0xb30 Code: e8 1d 36 f0 ff 65 8b 05 92 94 ac 7e 31 ff 89 c6 89 44 24 08 e8 b9 32 f0 ff 8b 44 24 08 85 c0 0f 84 fd 02 00 00 e8 f8 35 f0 ff <0f> 0b e8 f1 35 f0 ff 48 8d bb 90 00 00 00 48 89 f8 48 c1 e8 03 80 RSP: 0018:ffff8880411dfa78 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888008660000 RCX: 0000000000000000 RDX: ffff888040198000 RSI: ffffffff8155e148 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888008660220 R13: 000000000003d100 R14: ffff8880411dfb38 R15: ffff88806ce33860 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffa106160dc CR3: 000000001d7da000 CR4: 0000000000350ef0 Call Trace: perf_event_mmap+0x724/0xd20 mmap_region+0xf59/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:0x7f6fd21e5d82 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:00007ffe97aa3528 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000812 RCX: 00007f6fd21e5d82 RDX: 0000000000000005 RSI: 0000000000010000 RDI: 00007f6fd1cc8000 RBP: 00007f6fd1cc8000 R08: 0000000000000000 R09: 0000000000007000 R10: 0000000000000812 R11: 0000000000000206 R12: 00007f6fd21c4f20 R13: 00007ffe97aa3540 R14: 00007ffe97aa3570 R15: 00007ffe97aa3930 irq event stamp: 11105 hardirqs last enabled at (11115): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (11126): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (11076): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (11071): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3890 at kernel/events/core.c:2233 event_filter_match+0x422/0x660 Modules linked in: CPU: 0 PID: 3890 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: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: 0000000080010002 RBX: ffff8880411d0000 RCX: 0000000000000000 RDX: ffff8880200c8000 RSI: ffffffff81550212 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865ac01b R12: ffff8880411d0220 R13: 0000000000000000 R14: ffff8880411d00a8 R15: ffff8880411d0220 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9543cfe770 CR3: 0000000040b96000 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:debug_lockdep_rcu_enabled+0x6/0x30 Code: ed eb bc 0f 0b 48 c7 c7 80 ec 86 84 e8 63 0c 00 00 65 c7 05 88 42 de 7b 00 00 00 00 eb bf cc cc cc cc cc cc 8b 05 e6 fa 8b 01 <85> c0 74 21 8b 05 cc 94 8c 01 85 c0 74 17 65 48 8b 04 25 c0 6e 02 RSP: 0000:ffff888041257bb0 EFLAGS: 00000293 RAX: 0000000000000002 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880200c8000 RSI: ffffffff815ba06d RDI: 0000000000000005 RBP: ffffea000011ec00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800c92f700 R13: ffff88800c9aaca0 R14: 0000000000000018 R15: dffffc0000000000 rcu_read_lock_held+0x5/0x50 filemap_map_pages+0xa92/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:0x7f9543cfe770 Code: Unable to access opcode bytes at RIP 0x7f9543cfe746. RSP: 002b:00007ffeb01dee58 EFLAGS: 00010202 RAX: 00007ffeb01df109 RBX: 0000000000000001 RCX: 00007f9543d0881c RDX: 00007ffeb01df0f0 RSI: 000055b36180c9a0 RDI: 00007ffeb01def90 RBP: 00007f9543ce94e0 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000001000 R11: 0000000000000001 R12: 000055b361808040 R13: 000000000000000b R14: 0000000000000000 R15: 00007ffeb01df119 irq event stamp: 2070 hardirqs last enabled at (2069): [] folio_memcg_lock+0x130/0x4a0 hardirqs last disabled at (2070): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1542): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (1533): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3890 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110 Modules linked in: CPU: 0 PID: 3890 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: 0000000080010002 RBX: ffff88806ce3d100 RCX: 0000000000000000 RDX: ffff8880200c8000 RSI: ffffffff815700eb RDI: 0000000000000005 RBP: ffff8880411d0000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88806ce3d100 R13: ffff88806ce00000 R14: ffff8880411d00a8 R15: ffff8880411d0220 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9543cfe746 CR3: 0000000040b96000 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:debug_lockdep_rcu_enabled+0x6/0x30 Code: ed eb bc 0f 0b 48 c7 c7 80 ec 86 84 e8 63 0c 00 00 65 c7 05 88 42 de 7b 00 00 00 00 eb bf cc cc cc cc cc cc 8b 05 e6 fa 8b 01 <85> c0 74 21 8b 05 cc 94 8c 01 85 c0 74 17 65 48 8b 04 25 c0 6e 02 RSP: 0000:ffff888041257bb0 EFLAGS: 00000293 RAX: 0000000000000002 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880200c8000 RSI: ffffffff815ba06d RDI: 0000000000000005 RBP: ffffea000011ec00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800c92f700 R13: ffff88800c9aaca0 R14: 0000000000000018 R15: dffffc0000000000 rcu_read_lock_held+0x5/0x50 filemap_map_pages+0xa92/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:0x7f9543cfe770 Code: Unable to access opcode bytes at RIP 0x7f9543cfe746. RSP: 002b:00007ffeb01dee58 EFLAGS: 00010202 RAX: 00007ffeb01df109 RBX: 0000000000000001 RCX: 00007f9543d0881c RDX: 00007ffeb01df0f0 RSI: 000055b36180c9a0 RDI: 00007ffeb01def90 RBP: 00007f9543ce94e0 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000001000 R11: 0000000000000001 R12: 000055b361808040 R13: 000000000000000b R14: 0000000000000000 R15: 00007ffeb01df119 irq event stamp: 2070 hardirqs last enabled at (2069): [] folio_memcg_lock+0x130/0x4a0 hardirqs last disabled at (2070): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1542): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (1533): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ====================================================== ---------------- Code disassembly (best guess): 0: ed in (%dx),%eax 1: eb bc jmp 0xffffffbf 3: 0f 0b ud2 5: 48 c7 c7 80 ec 86 84 mov $0xffffffff8486ec80,%rdi c: e8 63 0c 00 00 callq 0xc74 11: 65 c7 05 88 42 de 7b movl $0x0,%gs:0x7bde4288(%rip) # 0x7bde42a4 18: 00 00 00 00 1c: eb bf jmp 0xffffffdd 1e: cc int3 1f: cc int3 20: cc int3 21: cc int3 22: cc int3 23: cc int3 24: 8b 05 e6 fa 8b 01 mov 0x18bfae6(%rip),%eax # 0x18bfb10 * 2a: 85 c0 test %eax,%eax <-- trapping instruction 2c: 74 21 je 0x4f 2e: 8b 05 cc 94 8c 01 mov 0x18c94cc(%rip),%eax # 0x18c9500 34: 85 c0 test %eax,%eax 36: 74 17 je 0x4f 38: 65 gs 39: 48 rex.W 3a: 8b .byte 0x8b 3b: 04 25 add $0x25,%al 3d: c0 .byte 0xc0 3e: 6e outsb %ds:(%rsi),(%dx) 3f: 02 .byte 0x2