audit: type=1326 audit(1641697606.279:308): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=12410 comm="syz-executor.6" exe="/syz-executor.6" sig=0 arch=c000003e syscall=16 compat=0 ip=0x7f8014dd5b19 code=0x7ffc0000 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 12461 at kernel/events/core.c:1978 perf_group_attach+0x396/0x450 kernel/events/core.c:1978 Modules linked in: CPU: 1 PID: 12461 Comm: syz-executor.7 Not tainted 5.10.90 #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_attach+0x396/0x450 kernel/events/core.c:1978 Code: 48 c1 e8 03 42 80 3c 20 00 75 5f 48 8b 5b 10 48 83 eb 10 48 39 dd 75 d4 5b 5d 41 5c 41 5d 41 5e e9 1f ec f2 ff e8 1a ec f2 ff <0f> 0b e9 b1 fd ff ff 48 c7 c7 7c 38 47 85 e8 87 37 1e 00 e9 b9 fc RSP: 0018:ffff88804d097cb0 EFLAGS: 00010012 RAX: 0000000000002bc9 RBX: ffff8880467f8000 RCX: ffffc9000a833000 RDX: 0000000000040000 RSI: ffffffff814cad96 RDI: ffff8880467f8220 RBP: ffff888017d7b000 R08: 0000000000000001 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000001 R12: ffff8880449ab800 R13: 0000000000000000 R14: ffff8880449a8008 R15: 0000000000000000 FS: 00007fbe08afb700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055cc4b645080 CR3: 0000000047e94000 CR4: 0000000000350ee0 Call Trace: add_event_to_ctx kernel/events/core.c:2654 [inline] perf_install_in_context+0x44d/0x550 kernel/events/core.c:2929 __do_sys_perf_event_open+0x1cee/0x2d00 kernel/events/core.c:12073 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fbe0b585b19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbe08afb188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007fbe0b698f60 RCX: 00007fbe0b585b19 RDX: 0000000000000000 RSI: 00000000000002a9 RDI: 0000000020001d80 RBP: 00007fbe0b5dff6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffca1865acf R14: 00007fbe08afb300 R15: 0000000000022000 irq event stamp: 758 hardirqs last enabled at (757): [] __send_ipi_mask+0x2fd/0x3c0 arch/x86/kernel/kvm.c:555 hardirqs last disabled at (758): [] __raw_spin_lock_irq include/linux/spinlock_api_smp.h:126 [inline] hardirqs last disabled at (758): [] _raw_spin_lock_irq+0x3e/0x40 kernel/locking/spinlock.c:167 softirqs last enabled at (362): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (355): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 2cbbc7c41493510e ]--- ======================================================