audit: type=1400 audit(1663679987.916:9): avc: denied { write } for pid=3899 comm="syz-executor.7" 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: 3902 at kernel/events/core.c:2047 perf_group_detach+0x99e/0x12f0 Modules linked in: CPU: 0 PID: 3902 Comm: modprobe Not tainted 6.0.0-rc6-next-20220920 #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 a2 59 ee ff 65 44 8b 25 16 b3 aa 7e 31 ff 44 89 e6 e8 40 56 ee ff 45 85 e4 0f 84 0a 05 00 00 e8 82 59 ee ff <0f> 0b e9 a9 f8 ff ff e8 76 59 ee ff 65 8b 1d eb b2 aa 7e 31 ff 89 RSP: 0018:ffff88806ce09e60 EFLAGS: 00010046 RAX: 0000000080010002 RBX: ffff888008668000 RCX: 0000000000000000 RDX: ffff88801d495040 RSI: ffffffff8157c2be RDI: 0000000000000005 RBP: ffff888008668000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865ae01b R12: 0000000000000000 R13: ffff888008668090 R14: ffff88806ce3d140 R15: ffff888008668000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7800e47008 CR3: 000000001db0e000 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:___slab_alloc+0x1cf/0x10c0 Code: 77 28 0f 85 24 04 00 00 49 c7 47 28 00 00 00 00 48 c7 c6 dd 0c 78 81 4c 89 ff e8 1c 1e b2 ff 48 83 3c 24 00 0f 85 53 01 00 00 <48> 83 7b 18 00 0f 84 ef 04 00 00 9c 41 5d fa 41 81 e5 00 02 00 00 RSP: 0018:ffff88801b0d7880 EFLAGS: 00000202 RAX: 00000000000009c7 RBX: ffff88806ce3c300 RCX: 1ffffffff0b602a9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888007c4f780 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000001 R12: 00000000ffffffff R13: 0000000000000000 R14: ffff88801d495040 R15: ffff88806ce3c320 __slab_alloc.constprop.0+0x45/0x90 kmem_cache_alloc+0x2f1/0x3e0 __create_object+0x3d/0xc10 kmem_cache_alloc+0x23c/0x3e0 security_file_alloc+0x34/0x170 __alloc_file+0xb6/0x240 alloc_empty_file+0x6d/0x170 path_openat+0xd4/0x2800 do_filp_open+0x1b6/0x410 do_sys_openat2+0x171/0x4c0 __x64_sys_openat+0x13f/0x1f0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7800e66b84 Code: f9 41 89 f0 41 83 e2 40 75 2c 89 f0 25 00 00 41 00 3d 00 00 41 00 74 1e 44 89 c2 4c 89 ce bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2c c3 0f 1f 00 48 8d 44 24 08 c7 44 24 b8 10 RSP: 002b:00007ffdd416fa38 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7800e66b84 RDX: 0000000000080000 RSI: 00007f7800e77e00 RDI: 00000000ffffff9c RBP: 00007ffdd416faa0 R08: 0000000000080000 R09: 00007f7800e77e00 R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffdd416faff R13: 00007f7800e77e00 R14: 00007f7800e76060 R15: 00007ffdd416fb10 irq event stamp: 2504 hardirqs last enabled at (2503): [] ___slab_alloc+0x327/0x10c0 hardirqs last disabled at (2504): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1992): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (1951): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3902 at kernel/events/core.c:2183 perf_group_detach+0x9c7/0x12f0 Modules linked in: CPU: 0 PID: 3902 Comm: modprobe Tainted: G W 6.0.0-rc6-next-20220920 #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 76 59 ee ff 65 8b 1d eb b2 aa 7e 31 ff 89 de e8 16 56 ee ff 85 db 0f 84 86 04 00 00 e8 59 59 ee ff <0f> 0b e9 0e fa ff ff e8 4d 59 ee ff 48 8b 7c 24 20 48 81 c7 f8 00 RSP: 0018:ffff88806ce09e60 EFLAGS: 00010046 RAX: 0000000080010002 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801d495040 RSI: ffffffff8157c2e7 RDI: 0000000000000005 RBP: ffff888008668000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865ae01b R12: ffff888008668000 R13: ffff888008668000 R14: ffff88806ce3d140 R15: ffff888008668000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7800e47008 CR3: 000000001db0e000 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:___slab_alloc+0x1cf/0x10c0 Code: 77 28 0f 85 24 04 00 00 49 c7 47 28 00 00 00 00 48 c7 c6 dd 0c 78 81 4c 89 ff e8 1c 1e b2 ff 48 83 3c 24 00 0f 85 53 01 00 00 <48> 83 7b 18 00 0f 84 ef 04 00 00 9c 41 5d fa 41 81 e5 00 02 00 00 RSP: 0018:ffff88801b0d7880 EFLAGS: 00000202 RAX: 00000000000009c7 RBX: ffff88806ce3c300 RCX: 1ffffffff0b602a9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888007c4f780 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000001 R12: 00000000ffffffff R13: 0000000000000000 R14: ffff88801d495040 R15: ffff88806ce3c320 __slab_alloc.constprop.0+0x45/0x90 kmem_cache_alloc+0x2f1/0x3e0 __create_object+0x3d/0xc10 kmem_cache_alloc+0x23c/0x3e0 security_file_alloc+0x34/0x170 __alloc_file+0xb6/0x240 alloc_empty_file+0x6d/0x170 path_openat+0xd4/0x2800 do_filp_open+0x1b6/0x410 do_sys_openat2+0x171/0x4c0 __x64_sys_openat+0x13f/0x1f0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7800e66b84 Code: f9 41 89 f0 41 83 e2 40 75 2c 89 f0 25 00 00 41 00 3d 00 00 41 00 74 1e 44 89 c2 4c 89 ce bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2c c3 0f 1f 00 48 8d 44 24 08 c7 44 24 b8 10 RSP: 002b:00007ffdd416fa38 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7800e66b84 RDX: 0000000000080000 RSI: 00007f7800e77e00 RDI: 00000000ffffff9c RBP: 00007ffdd416faa0 R08: 0000000000080000 R09: 00007f7800e77e00 R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffdd416faff R13: 00007f7800e77e00 R14: 00007f7800e76060 R15: 00007ffdd416fb10 irq event stamp: 2504 hardirqs last enabled at (2503): [] ___slab_alloc+0x327/0x10c0 hardirqs last disabled at (2504): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1992): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (1951): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3902 at kernel/events/core.c:655 perf_event_update_sibling_time+0xd5/0x4d0 Modules linked in: CPU: 0 PID: 3902 Comm: modprobe Tainted: G W 6.0.0-rc6-next-20220920 #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 7d d7 f0 ff e8 78 d7 f0 ff 65 8b 1d ed 30 ad 7e 31 ff 89 de e8 18 d4 f0 ff 85 db 0f 84 d3 02 00 00 e8 5b d7 f0 ff <0f> 0b eb 97 e8 52 d7 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: ffff88801d495040 RSI: ffffffff815544e5 RDI: 0000000000000005 RBP: ffff888008668000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff865ae01b R12: 0000000000000000 R13: ffff8880086680a8 R14: 0000000000000001 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7800e47008 CR3: 000000001db0e000 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:___slab_alloc+0x1cf/0x10c0 Code: 77 28 0f 85 24 04 00 00 49 c7 47 28 00 00 00 00 48 c7 c6 dd 0c 78 81 4c 89 ff e8 1c 1e b2 ff 48 83 3c 24 00 0f 85 53 01 00 00 <48> 83 7b 18 00 0f 84 ef 04 00 00 9c 41 5d fa 41 81 e5 00 02 00 00 RSP: 0018:ffff88801b0d7880 EFLAGS: 00000202 RAX: 00000000000009c7 RBX: ffff88806ce3c300 RCX: 1ffffffff0b602a9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888007c4f780 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000001 R12: 00000000ffffffff R13: 0000000000000000 R14: ffff88801d495040 R15: ffff88806ce3c320 __slab_alloc.constprop.0+0x45/0x90 kmem_cache_alloc+0x2f1/0x3e0 __create_object+0x3d/0xc10 kmem_cache_alloc+0x23c/0x3e0 security_file_alloc+0x34/0x170 __alloc_file+0xb6/0x240 alloc_empty_file+0x6d/0x170 path_openat+0xd4/0x2800 do_filp_open+0x1b6/0x410 do_sys_openat2+0x171/0x4c0 __x64_sys_openat+0x13f/0x1f0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7800e66b84 Code: f9 41 89 f0 41 83 e2 40 75 2c 89 f0 25 00 00 41 00 3d 00 00 41 00 74 1e 44 89 c2 4c 89 ce bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2c c3 0f 1f 00 48 8d 44 24 08 c7 44 24 b8 10 RSP: 002b:00007ffdd416fa38 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7800e66b84 RDX: 0000000000080000 RSI: 00007f7800e77e00 RDI: 00000000ffffff9c RBP: 00007ffdd416faa0 R08: 0000000000080000 R09: 00007f7800e77e00 R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffdd416faff R13: 00007f7800e77e00 R14: 00007f7800e76060 R15: 00007ffdd416fb10 irq event stamp: 2504 hardirqs last enabled at (2503): [] ___slab_alloc+0x327/0x10c0 hardirqs last disabled at (2504): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (1992): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (1951): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ====================================================== ---------------- Code disassembly (best guess): 0: 77 28 ja 0x2a 2: 0f 85 24 04 00 00 jne 0x42c 8: 49 c7 47 28 00 00 00 movq $0x0,0x28(%r15) f: 00 10: 48 c7 c6 dd 0c 78 81 mov $0xffffffff81780cdd,%rsi 17: 4c 89 ff mov %r15,%rdi 1a: e8 1c 1e b2 ff callq 0xffb21e3b 1f: 48 83 3c 24 00 cmpq $0x0,(%rsp) 24: 0f 85 53 01 00 00 jne 0x17d * 2a: 48 83 7b 18 00 cmpq $0x0,0x18(%rbx) <-- trapping instruction 2f: 0f 84 ef 04 00 00 je 0x524 35: 9c pushfq 36: 41 5d pop %r13 38: fa cli 39: 41 81 e5 00 02 00 00 and $0x200,%r13d