audit: type=1400 audit(1664525077.715:7): avc: denied { open } for pid=4030 comm="syz-executor.3" 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: 4017 at kernel/events/core.c:2233 event_filter_match+0x422/0x660 Modules linked in: CPU: 0 PID: 4017 Comm: syz-executor.0 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: 0018:ffff88806ce09c70 EFLAGS: 00010046 RAX: 0000000080010003 RBX: ffff888040048000 RCX: 0000000000000000 RDX: ffff88801d8eb580 RSI: ffffffff8154d972 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b401b R12: ffff888040048220 R13: 0000000000000000 R14: ffff8880400480a8 R15: ffff888040048220 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d92c000 CR3: 0000000005226000 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+0x23/0x30 Code: bf cc cc cc cc cc cc 8b 05 f6 55 8b 01 85 c0 74 21 8b 05 2c 66 8b 01 85 c0 74 17 65 48 8b 04 25 c0 6e 02 00 8b 80 74 09 00 00 <85> c0 0f 94 c0 0f b6 c0 e9 00 26 3b 00 41 54 53 65 8b 05 72 60 dd RSP: 0018:ffff88803eaff780 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 1ffff11007d5fef5 RCX: ffffffff812a241f RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff85b06a10 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff85b06a17 R10: fffffbfff0b60d42 R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff85407360 R15: 0000000000000000 rcu_read_lock_sched_held+0xd/0x80 lock_acquire+0x45e/0x530 folio_memcg_lock+0x3a/0x4a0 page_remove_rmap+0x1e/0x490 unmap_page_range+0x1c26/0x2a10 unmap_single_vma+0x190/0x380 unmap_vmas+0x21e/0x370 exit_mmap+0x154/0x680 mmput+0xd1/0x390 do_exit+0xa2e/0x27f0 do_group_exit+0xd0/0x2a0 __x64_sys_exit_group+0x3a/0x50 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efe43422b19 Code: Unable to access opcode bytes at 0x7efe43422aef. RSP: 002b:00007ffca6634868 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007efe43422b19 RDX: 00007efe433d572b RSI: ffffffffffffffbc RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000001b2d92a294 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffca6634950 irq event stamp: 4730 hardirqs last enabled at (4729): [] folio_memcg_lock+0x130/0x4a0 hardirqs last disabled at (4730): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (4612): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (4479): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4017 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110 Modules linked in: CPU: 0 PID: 4017 Comm: syz-executor.0 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: 0018:ffff88806ce09cb0 EFLAGS: 00010046 RAX: 0000000080010003 RBX: ffff88806ce3d2c0 RCX: 0000000000000000 RDX: ffff88801d8eb580 RSI: ffffffff8156feeb RDI: 0000000000000005 RBP: ffff888040048000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b401b R12: ffff88806ce3d2c0 R13: ffff88806ce00000 R14: ffff8880400480a8 R15: ffff888040048220 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d92c000 CR3: 0000000005226000 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+0x23/0x30 Code: bf cc cc cc cc cc cc 8b 05 f6 55 8b 01 85 c0 74 21 8b 05 2c 66 8b 01 85 c0 74 17 65 48 8b 04 25 c0 6e 02 00 8b 80 74 09 00 00 <85> c0 0f 94 c0 0f b6 c0 e9 00 26 3b 00 41 54 53 65 8b 05 72 60 dd RSP: 0018:ffff88803eaff780 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 1ffff11007d5fef5 RCX: ffffffff812a241f RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff85b06a10 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff85b06a17 R10: fffffbfff0b60d42 R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff85407360 R15: 0000000000000000 rcu_read_lock_sched_held+0xd/0x80 lock_acquire+0x45e/0x530 folio_memcg_lock+0x3a/0x4a0 page_remove_rmap+0x1e/0x490 unmap_page_range+0x1c26/0x2a10 unmap_single_vma+0x190/0x380 unmap_vmas+0x21e/0x370 exit_mmap+0x154/0x680 mmput+0xd1/0x390 do_exit+0xa2e/0x27f0 do_group_exit+0xd0/0x2a0 __x64_sys_exit_group+0x3a/0x50 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efe43422b19 Code: Unable to access opcode bytes at 0x7efe43422aef. RSP: 002b:00007ffca6634868 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007efe43422b19 RDX: 00007efe433d572b RSI: ffffffffffffffbc RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000001b2d92a294 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffca6634950 irq event stamp: 4730 hardirqs last enabled at (4729): [] folio_memcg_lock+0x130/0x4a0 hardirqs last disabled at (4730): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (4612): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (4479): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- audit: type=1400 audit(1664525077.723:8): avc: denied { kernel } for pid=4030 comm="syz-executor.3" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=perf_event permissive=1 ---------------- Code disassembly (best guess): 0: bf cc cc cc cc mov $0xcccccccc,%edi 5: cc int3 6: cc int3 7: 8b 05 f6 55 8b 01 mov 0x18b55f6(%rip),%eax # 0x18b5603 d: 85 c0 test %eax,%eax f: 74 21 je 0x32 11: 8b 05 2c 66 8b 01 mov 0x18b662c(%rip),%eax # 0x18b6643 17: 85 c0 test %eax,%eax 19: 74 17 je 0x32 1b: 65 48 8b 04 25 c0 6e mov %gs:0x26ec0,%rax 22: 02 00 24: 8b 80 74 09 00 00 mov 0x974(%rax),%eax * 2a: 85 c0 test %eax,%eax <-- trapping instruction 2c: 0f 94 c0 sete %al 2f: 0f b6 c0 movzbl %al,%eax 32: e9 00 26 3b 00 jmpq 0x3b2637 37: 41 54 push %r12 39: 53 push %rbx 3a: 65 gs 3b: 8b .byte 0x8b 3c: 05 .byte 0x5 3d: 72 60 jb 0x9f 3f: dd .byte 0xdd