audit: type=1400 audit(1664869762.100:8): avc: denied { kernel } for pid=3919 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: 3924 at kernel/events/core.c:2233 event_filter_match+0x422/0x660 Modules linked in: CPU: 0 PID: 3924 Comm: kworker/u4:5 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: ffff888008660b90 RCX: 0000000000000000 RDX: ffff88801d17b580 RSI: ffffffff8154d8d2 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b401b R12: ffff888008660db0 R13: 0000000000000000 R14: ffff888008660c38 R15: ffff888008660db0 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555571593bc CR3: 000000003ef6a000 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:__kmem_cache_alloc_node+0x2d0/0x3d0 Code: 02 48 8b 7c 24 08 e9 24 ff ff ff be 12 01 00 00 48 c7 c7 ad 06 04 85 e8 6e 16 a8 ff e8 69 a0 ad 02 e9 81 fd ff ff 44 8b 04 24 <44> 89 ee 4c 89 f1 44 89 e2 48 89 ef e8 4f cb ff ff 48 89 44 24 08 RSP: 0018:ffff888040b27e00 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000dc0 RCX: ffffea000022ee00 RDX: 000000000009f8c0 RSI: 0000000000000200 RDI: ffff88801d17c954 RBP: ffff888007c41c80 R08: 00000000000001a0 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 00000000ffffffff R13: 0000000000000dc0 R14: ffffffff817f2971 R15: 0000000000000000 kmalloc_trace+0x22/0x60 alloc_bprm+0x51/0x910 kernel_execve+0xab/0x500 call_usermodehelper_exec_async+0x2e6/0x580 ret_from_fork+0x22/0x30 irq event stamp: 30 hardirqs last enabled at (29): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (30): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (0): [] copy_process+0x1e15/0x6e20 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3924 at kernel/events/core.c:2557 merge_sched_in+0xadb/0x1110 Modules linked in: CPU: 0 PID: 3924 Comm: kworker/u4:5 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: ffff88801d17b580 RSI: ffffffff8156fe4b RDI: 0000000000000005 RBP: ffff888008660b90 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865b401b R12: ffff88806ce3d2c0 R13: ffff88806ce00000 R14: ffff888008660c38 R15: ffff888008660db0 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555571593bc CR3: 000000003ef6a000 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:__kmem_cache_alloc_node+0x2d0/0x3d0 Code: 02 48 8b 7c 24 08 e9 24 ff ff ff be 12 01 00 00 48 c7 c7 ad 06 04 85 e8 6e 16 a8 ff e8 69 a0 ad 02 e9 81 fd ff ff 44 8b 04 24 <44> 89 ee 4c 89 f1 44 89 e2 48 89 ef e8 4f cb ff ff 48 89 44 24 08 RSP: 0018:ffff888040b27e00 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000dc0 RCX: ffffea000022ee00 RDX: 000000000009f8c0 RSI: 0000000000000200 RDI: ffff88801d17c954 RBP: ffff888007c41c80 R08: 00000000000001a0 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 00000000ffffffff R13: 0000000000000dc0 R14: ffffffff817f2971 R15: 0000000000000000 kmalloc_trace+0x22/0x60 alloc_bprm+0x51/0x910 kernel_execve+0xab/0x500 call_usermodehelper_exec_async+0x2e6/0x580 ret_from_fork+0x22/0x30 irq event stamp: 30 hardirqs last enabled at (29): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (30): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (0): [] copy_process+0x1e15/0x6e20 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 0000000000000000 ]--- audit: type=1400 audit(1664869762.324:9): avc: denied { write } for pid=3919 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 ]------------ ====================================================== ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 8b 7c 24 08 mov 0x8(%rsp),%rdi 5: e9 24 ff ff ff jmpq 0xffffff2e a: be 12 01 00 00 mov $0x112,%esi f: 48 c7 c7 ad 06 04 85 mov $0xffffffff850406ad,%rdi 16: e8 6e 16 a8 ff callq 0xffa81689 1b: e8 69 a0 ad 02 callq 0x2ada089 20: e9 81 fd ff ff jmpq 0xfffffda6 25: 44 8b 04 24 mov (%rsp),%r8d * 29: 44 89 ee mov %r13d,%esi <-- trapping instruction 2c: 4c 89 f1 mov %r14,%rcx 2f: 44 89 e2 mov %r12d,%edx 32: 48 89 ef mov %rbp,%rdi 35: e8 4f cb ff ff callq 0xffffcb89 3a: 48 89 44 24 08 mov %rax,0x8(%rsp)