------------[ cut here ]------------ WARNING: CPU: 0 PID: 301 at kernel/events/core.c:2047 perf_group_detach+0x99e/0x12f0 Modules linked in: CPU: 0 PID: 301 Comm: syz-executor.2 Not tainted 6.0.0-rc5-next-20220912 #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:ffff88806ce09b88 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff888008660000 RCX: 0000000000000100 RDX: ffff88803150b580 RSI: ffffffff8157c03e RDI: 0000000000000005 RBP: ffff888008660000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888008660090 R14: ffff88806ce3ef00 R15: ffff888008660000 FS: 0000555556221400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c6ac1f3a4 CR3: 000000001a91c000 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+0x3b/0xc0 asm_sysvec_call_function_single+0x16/0x20 RIP: 0010:kasan_quarantine_put+0x8d/0x1f0 Code: c7 45 00 00 00 00 00 48 03 58 10 48 89 58 10 48 81 fb 00 00 10 00 77 63 41 bc 01 00 00 00 4d 85 ed 74 43 e8 05 62 d4 ff fb 5b <44> 89 e0 5d 41 5c 41 5d 41 5e e9 54 ad e7 02 e8 df 60 d4 ff 48 c7 RSP: 0018:ffff88806ce09de0 EFLAGS: 00000206 RAX: 00000000000ab91e RBX: ffff888015cff290 RCX: 1ffffffff0b5fee1 RDX: 0000000000000000 RSI: 0000000000000100 RDI: 0000000000000000 RBP: ffff888015cff290 R08: 0000000000000001 R09: 0000000000000001 R10: ffff88806c876150 R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000200 R14: ffff888015cff310 R15: ffff888007c4f780 kmem_cache_free+0xf7/0x610 rcu_core+0x7e2/0x2080 __do_softirq+0x1c8/0x8d0 __irq_exit_rcu+0x11b/0x180 irq_exit_rcu+0x5/0x20 sysvec_apic_timer_interrupt+0x8e/0xc0 asm_sysvec_apic_timer_interrupt+0x16/0x20 RIP: 0010:lock_acquire+0x49/0x530 Code: 44 89 c5 53 48 81 ec b0 00 00 00 48 8d 5c 24 10 4c 89 0c 24 48 c7 44 24 10 b3 8a b5 41 48 c1 eb 03 48 c7 44 24 18 e7 f1 08 85 <48> 01 d8 48 c7 44 24 20 20 3f 2a 81 c7 00 f1 f1 f1 f1 c7 40 04 f1 RSP: 0018:ffff88803568f7a8 EFLAGS: 00000212 RAX: dffffc0000000000 RBX: 1ffff11006ad1ef7 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff85406fa0 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000080000000 R11: 000000000003603d R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff85406fa0 R15: 0000000000000000 __is_insn_slot_addr+0x3d/0x250 kernel_text_address+0x44/0xb0 __kernel_text_address+0x9/0x40 unwind_get_return_address+0x55/0xa0 arch_stack_walk+0x99/0xf0 stack_trace_save+0x8c/0xc0 __create_object+0x389/0xc10 kmem_cache_alloc+0x23c/0x3e0 dup_fd+0x89/0xcb0 copy_process+0x20a6/0x6df0 kernel_clone+0xe7/0x890 __do_sys_clone+0xba/0x100 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5c69bd110b Code: ed 0f 85 60 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 89 00 00 00 41 89 c5 85 c0 0f 85 90 00 00 RSP: 002b:00007ffd283d0a90 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5c69bd110b RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555556221400 R10: 00005555562216d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffd283d0b70 irq event stamp: 702751 hardirqs last enabled at (702750): [] kasan_quarantine_put+0x8b/0x1f0 hardirqs last disabled at (702751): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (702598): [] tcp_close+0x38/0xc0 softirqs last disabled at (702741): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 301 at kernel/events/core.c:2183 perf_group_detach+0x9c7/0x12f0 Modules linked in: CPU: 0 PID: 301 Comm: syz-executor.2 Tainted: G W 6.0.0-rc5-next-20220912 #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:ffff88806ce09b88 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: ffff88803150b580 RSI: ffffffff8157c067 RDI: 0000000000000005 RBP: ffff888008660000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888008660000 R13: ffff888008660000 R14: ffff88806ce3ef00 R15: ffff888008660000 FS: 0000555556221400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c6ac1f3a4 CR3: 000000001a91c000 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+0x3b/0xc0 asm_sysvec_call_function_single+0x16/0x20 RIP: 0010:kasan_quarantine_put+0x8d/0x1f0 Code: c7 45 00 00 00 00 00 48 03 58 10 48 89 58 10 48 81 fb 00 00 10 00 77 63 41 bc 01 00 00 00 4d 85 ed 74 43 e8 05 62 d4 ff fb 5b <44> 89 e0 5d 41 5c 41 5d 41 5e e9 54 ad e7 02 e8 df 60 d4 ff 48 c7 RSP: 0018:ffff88806ce09de0 EFLAGS: 00000206 RAX: 00000000000ab91e RBX: ffff888015cff290 RCX: 1ffffffff0b5fee1 RDX: 0000000000000000 RSI: 0000000000000100 RDI: 0000000000000000 RBP: ffff888015cff290 R08: 0000000000000001 R09: 0000000000000001 R10: ffff88806c876150 R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000200 R14: ffff888015cff310 R15: ffff888007c4f780 kmem_cache_free+0xf7/0x610 rcu_core+0x7e2/0x2080 __do_softirq+0x1c8/0x8d0 __irq_exit_rcu+0x11b/0x180 irq_exit_rcu+0x5/0x20 sysvec_apic_timer_interrupt+0x8e/0xc0 asm_sysvec_apic_timer_interrupt+0x16/0x20 RIP: 0010:lock_acquire+0x49/0x530 Code: 44 89 c5 53 48 81 ec b0 00 00 00 48 8d 5c 24 10 4c 89 0c 24 48 c7 44 24 10 b3 8a b5 41 48 c1 eb 03 48 c7 44 24 18 e7 f1 08 85 <48> 01 d8 48 c7 44 24 20 20 3f 2a 81 c7 00 f1 f1 f1 f1 c7 40 04 f1 RSP: 0018:ffff88803568f7a8 EFLAGS: 00000212 RAX: dffffc0000000000 RBX: 1ffff11006ad1ef7 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff85406fa0 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000080000000 R11: 000000000003603d R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff85406fa0 R15: 0000000000000000 __is_insn_slot_addr+0x3d/0x250 kernel_text_address+0x44/0xb0 __kernel_text_address+0x9/0x40 unwind_get_return_address+0x55/0xa0 arch_stack_walk+0x99/0xf0 stack_trace_save+0x8c/0xc0 __create_object+0x389/0xc10 kmem_cache_alloc+0x23c/0x3e0 dup_fd+0x89/0xcb0 copy_process+0x20a6/0x6df0 kernel_clone+0xe7/0x890 __do_sys_clone+0xba/0x100 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5c69bd110b Code: ed 0f 85 60 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 89 00 00 00 41 89 c5 85 c0 0f 85 90 00 00 RSP: 002b:00007ffd283d0a90 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5c69bd110b RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555556221400 R10: 00005555562216d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffd283d0b70 irq event stamp: 702751 hardirqs last enabled at (702750): [] kasan_quarantine_put+0x8b/0x1f0 hardirqs last disabled at (702751): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (702598): [] tcp_close+0x38/0xc0 softirqs last disabled at (702741): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 301 at kernel/events/core.c:655 perf_event_update_sibling_time+0xd5/0x4d0 Modules linked in: CPU: 0 PID: 301 Comm: syz-executor.2 Tainted: G W 6.0.0-rc5-next-20220912 #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:ffff88806ce09b80 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: ffff88803150b580 RSI: ffffffff81555205 RDI: 0000000000000005 RBP: ffff888008660000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff8880086600a8 R14: 0000000000000001 R15: 0000000000000001 FS: 0000555556221400(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c6ac1f3a4 CR3: 000000001a91c000 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+0x3b/0xc0 asm_sysvec_call_function_single+0x16/0x20 RIP: 0010:kasan_quarantine_put+0x8d/0x1f0 Code: c7 45 00 00 00 00 00 48 03 58 10 48 89 58 10 48 81 fb 00 00 10 00 77 63 41 bc 01 00 00 00 4d 85 ed 74 43 e8 05 62 d4 ff fb 5b <44> 89 e0 5d 41 5c 41 5d 41 5e e9 54 ad e7 02 e8 df 60 d4 ff 48 c7 RSP: 0018:ffff88806ce09de0 EFLAGS: 00000206 RAX: 00000000000ab91e RBX: ffff888015cff290 RCX: 1ffffffff0b5fee1 RDX: 0000000000000000 RSI: 0000000000000100 RDI: 0000000000000000 RBP: ffff888015cff290 R08: 0000000000000001 R09: 0000000000000001 R10: ffff88806c876150 R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000200 R14: ffff888015cff310 R15: ffff888007c4f780 kmem_cache_free+0xf7/0x610 rcu_core+0x7e2/0x2080 __do_softirq+0x1c8/0x8d0 __irq_exit_rcu+0x11b/0x180 irq_exit_rcu+0x5/0x20 sysvec_apic_timer_interrupt+0x8e/0xc0 asm_sysvec_apic_timer_interrupt+0x16/0x20 RIP: 0010:lock_acquire+0x49/0x530 Code: 44 89 c5 53 48 81 ec b0 00 00 00 48 8d 5c 24 10 4c 89 0c 24 48 c7 44 24 10 b3 8a b5 41 48 c1 eb 03 48 c7 44 24 18 e7 f1 08 85 <48> 01 d8 48 c7 44 24 20 20 3f 2a 81 c7 00 f1 f1 f1 f1 c7 40 04 f1 RSP: 0018:ffff88803568f7a8 EFLAGS: 00000212 RAX: dffffc0000000000 RBX: 1ffff11006ad1ef7 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff85406fa0 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000080000000 R11: 000000000003603d R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff85406fa0 R15: 0000000000000000 __is_insn_slot_addr+0x3d/0x250 kernel_text_address+0x44/0xb0 __kernel_text_address+0x9/0x40 unwind_get_return_address+0x55/0xa0 arch_stack_walk+0x99/0xf0 stack_trace_save+0x8c/0xc0 __create_object+0x389/0xc10 kmem_cache_alloc+0x23c/0x3e0 dup_fd+0x89/0xcb0 copy_process+0x20a6/0x6df0 kernel_clone+0xe7/0x890 __do_sys_clone+0xba/0x100 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5c69bd110b Code: ed 0f 85 60 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 89 00 00 00 41 89 c5 85 c0 0f 85 90 00 00 RSP: 002b:00007ffd283d0a90 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5c69bd110b RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555556221400 R10: 00005555562216d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffd283d0b70 irq event stamp: 702751 hardirqs last enabled at (702750): [] kasan_quarantine_put+0x8b/0x1f0 hardirqs last disabled at (702751): [] sysvec_call_function_single+0xb/0xc0 softirqs last enabled at (702598): [] tcp_close+0x38/0xc0 softirqs last disabled at (702741): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: c7 45 00 00 00 00 00 movl $0x0,0x0(%rbp) 7: 48 03 58 10 add 0x10(%rax),%rbx b: 48 89 58 10 mov %rbx,0x10(%rax) f: 48 81 fb 00 00 10 00 cmp $0x100000,%rbx 16: 77 63 ja 0x7b 18: 41 bc 01 00 00 00 mov $0x1,%r12d 1e: 4d 85 ed test %r13,%r13 21: 74 43 je 0x66 23: e8 05 62 d4 ff callq 0xffd4622d 28: fb sti 29: 5b pop %rbx * 2a: 44 89 e0 mov %r12d,%eax <-- trapping instruction 2d: 5d pop %rbp 2e: 41 5c pop %r12 30: 41 5d pop %r13 32: 41 5e pop %r14 34: e9 54 ad e7 02 jmpq 0x2e7ad8d 39: e8 df 60 d4 ff callq 0xffd4611d 3e: 48 rex.W 3f: c7 .byte 0xc7