audit: type=1400 audit(1663165149.569:8): avc: denied { kernel } for pid=3930 comm="syz-executor.0" 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: 54 at kernel/events/core.c:2047 perf_group_detach+0x99e/0x12f0 Modules linked in: CPU: 0 PID: 54 Comm: kmemleak Not tainted 6.0.0-rc5-next-20220914 #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 22 57 ee ff 65 44 8b 25 96 b5 aa 7e 31 ff 44 89 e6 e8 c0 53 ee ff 45 85 e4 0f 84 0a 05 00 00 e8 02 57 ee ff <0f> 0b e9 a9 f8 ff ff e8 f6 56 ee ff 65 8b 1d 6b b5 aa 7e 31 ff 89 RSP: 0018:ffff88806ce09e60 EFLAGS: 00010046 RAX: 0000000080010002 RBX: ffff888008660000 RCX: 0000000000000000 RDX: ffff88800bfad040 RSI: ffffffff8157c03e RDI: 0000000000000005 RBP: ffff888008660000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888008660090 R14: ffff88806ce3ef00 R15: ffff888008660000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa1fd7258e0 CR3: 000000003fae6000 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:_raw_spin_unlock_irqrestore+0x2e/0x60 Code: 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 ea 0a 04 fd 48 89 ef e8 42 80 04 fd 80 e7 02 74 06 e8 e8 c2 26 fd fb bf 01 00 00 00 8d 0b fa fc 65 8b 05 b6 41 dc 7b 85 c0 74 07 5b 5d e9 2b 0e 3a RSP: 0018:ffff88800fcffdf0 EFLAGS: 00000202 RAX: 00000000001f0e29 RBX: 0000000000000286 RCX: ffffffff812999ff RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff88800ef16f30 R08: 0000000000000001 R09: ffffffff86ccb817 R10: fffffbfff0d99702 R11: 0000000000000001 R12: ffffc9000f032000 R13: ffffed1001de2dee R14: ffffc9000ef41000 R15: 0000000000000286 scan_gray_list+0x192/0x400 kmemleak_scan+0x85a/0x16f0 kmemleak_scan_thread+0x8f/0xb1 kthread+0x2ed/0x3a0 ret_from_fork+0x22/0x30 irq event stamp: 2035242 hardirqs last enabled at (2035241): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (2035242): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (2035186): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (2035075): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 54 at kernel/events/core.c:2183 perf_group_detach+0x9c7/0x12f0 Modules linked in: CPU: 0 PID: 54 Comm: kmemleak Tainted: G W 6.0.0-rc5-next-20220914 #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 f6 56 ee ff 65 8b 1d 6b b5 aa 7e 31 ff 89 de e8 96 53 ee ff 85 db 0f 84 86 04 00 00 e8 d9 56 ee ff <0f> 0b e9 0e fa ff ff e8 cd 56 ee ff 48 8b 7c 24 20 48 81 c7 f8 00 RSP: 0018:ffff88806ce09e60 EFLAGS: 00010046 RAX: 0000000080010002 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88800bfad040 RSI: ffffffff8157c067 RDI: 0000000000000005 RBP: ffff888008660000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888008660000 R13: ffff888008660000 R14: ffff88806ce3ef00 R15: ffff888008660000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa1fd7258e0 CR3: 000000003fae6000 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:_raw_spin_unlock_irqrestore+0x2e/0x60 Code: 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 ea 0a 04 fd 48 89 ef e8 42 80 04 fd 80 e7 02 74 06 e8 e8 c2 26 fd fb bf 01 00 00 00 8d 0b fa fc 65 8b 05 b6 41 dc 7b 85 c0 74 07 5b 5d e9 2b 0e 3a RSP: 0018:ffff88800fcffdf0 EFLAGS: 00000202 RAX: 00000000001f0e29 RBX: 0000000000000286 RCX: ffffffff812999ff RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff88800ef16f30 R08: 0000000000000001 R09: ffffffff86ccb817 R10: fffffbfff0d99702 R11: 0000000000000001 R12: ffffc9000f032000 R13: ffffed1001de2dee R14: ffffc9000ef41000 R15: 0000000000000286 scan_gray_list+0x192/0x400 kmemleak_scan+0x85a/0x16f0 kmemleak_scan_thread+0x8f/0xb1 kthread+0x2ed/0x3a0 ret_from_fork+0x22/0x30 irq event stamp: 2035242 hardirqs last enabled at (2035241): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (2035242): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (2035186): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (2035075): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 54 at kernel/events/core.c:655 perf_event_update_sibling_time+0xd5/0x4d0 Modules linked in: CPU: 0 PID: 54 Comm: kmemleak Tainted: G W 6.0.0-rc5-next-20220914 #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 5d c5 f0 ff e8 58 c5 f0 ff 65 8b 1d cd 23 ad 7e 31 ff 89 de e8 f8 c1 f0 ff 85 db 0f 84 d3 02 00 00 e8 3b c5 f0 ff <0f> 0b eb 97 e8 32 c5 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: ffff88800bfad040 RSI: ffffffff81555205 RDI: 0000000000000005 RBP: ffff888008660000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff8880086600a8 R14: 0000000000000001 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa1fd7258e0 CR3: 000000003fae6000 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:_raw_spin_unlock_irqrestore+0x2e/0x60 Code: 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 ea 0a 04 fd 48 89 ef e8 42 80 04 fd 80 e7 02 74 06 e8 e8 c2 26 fd fb bf 01 00 00 00 8d 0b fa fc 65 8b 05 b6 41 dc 7b 85 c0 74 07 5b 5d e9 2b 0e 3a RSP: 0018:ffff88800fcffdf0 EFLAGS: 00000202 RAX: 00000000001f0e29 RBX: 0000000000000286 RCX: ffffffff812999ff RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff88800ef16f30 R08: 0000000000000001 R09: ffffffff86ccb817 R10: fffffbfff0d99702 R11: 0000000000000001 R12: ffffc9000f032000 R13: ffffed1001de2dee R14: ffffc9000ef41000 R15: 0000000000000286 scan_gray_list+0x192/0x400 kmemleak_scan+0x85a/0x16f0 kmemleak_scan_thread+0x8f/0xb1 kthread+0x2ed/0x3a0 ret_from_fork+0x22/0x30 irq event stamp: 2035242 hardirqs last enabled at (2035241): [] _raw_spin_unlock_irqrestore+0x28/0x60 hardirqs last disabled at (2035242): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (2035186): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (2035075): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ====================================================== ---------------- Code disassembly (best guess): 0: 48 83 c7 18 add $0x18,%rdi 4: 53 push %rbx 5: 48 89 f3 mov %rsi,%rbx 8: 48 8b 74 24 10 mov 0x10(%rsp),%rsi d: e8 ea 0a 04 fd callq 0xfd040afc 12: 48 89 ef mov %rbp,%rdi 15: e8 42 80 04 fd callq 0xfd04805c 1a: 80 e7 02 and $0x2,%bh 1d: 74 06 je 0x25 1f: e8 e8 c2 26 fd callq 0xfd26c30c 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 8d 0b fa fc callq 0xfcfa0bbc <-- trapping instruction 2f: 65 8b 05 b6 41 dc 7b mov %gs:0x7bdc41b6(%rip),%eax # 0x7bdc41ec 36: 85 c0 test %eax,%eax 38: 74 07 je 0x41 3a: 5b pop %rbx 3b: 5d pop %rbp 3c: e9 .byte 0xe9 3d: 2b 0e sub (%rsi),%ecx 3f: 3a .byte 0x3a