------------[ cut here ]------------ WARNING: CPU: 0 PID: 8445 at kernel/events/core.c:5572 __free_event+0x50f/0x620 kernel/events/core.c:5572 Modules linked in: CPU: 0 UID: 0 PID: 8445 Comm: syz.1.888 Not tainted 6.14.0-syzkaller-g06a22366d6a1 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__free_event+0x50f/0x620 kernel/events/core.c:5572 Code: ff 48 c7 c7 20 0d df 8e e8 ee a2 a6 ff 43 0f b6 44 25 00 84 c0 0f 85 f5 00 00 00 41 80 26 ef e9 ea fc ff ff e8 52 44 cb ff 90 <0f> 0b 90 42 80 3c 3b 00 0f 85 2d fe ff ff e9 30 fe ff ff e8 39 44 RSP: 0018:ffffc900038ff858 EFLAGS: 00010293 RAX: ffffffff81f8132e RBX: 1ffff11006aab802 RCX: ffff888032680000 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000001 RBP: 0000000000000003 R08: ffffffff81f810fb R09: 1ffff1100604fb45 R10: dffffc0000000000 R11: ffffed100604fb46 R12: ffff88803555c008 R13: ffff88803555c010 R14: 1ffff11006aab801 R15: dffffc0000000000 FS: 00007fed3d8746c0(0000) GS:ffff888124f97000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30920000 CR3: 0000000027fee000 CR4: 00000000003526f0 DR0: 0000200000000000 DR1: 0000000000000082 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: inherit_event+0x190/0x9d0 kernel/events/core.c:14036 inherit_group kernel/events/core.c:14110 [inline] inherit_task_group+0x18d/0x4f0 kernel/events/core.c:14177 perf_event_init_context kernel/events/core.c:14226 [inline] perf_event_init_task+0x244/0x650 kernel/events/core.c:14295 copy_process+0x151e/0x3d10 kernel/fork.c:2403 kernel_clone+0x242/0x930 kernel/fork.c:2844 __do_sys_clone kernel/fork.c:2987 [inline] __se_sys_clone kernel/fork.c:2971 [inline] __x64_sys_clone+0x268/0x2e0 kernel/fork.c:2971 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fed3c98d169 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fed3d873fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007fed3cba6160 RCX: 00007fed3c98d169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000ab009400 RBP: 00007fed3ca0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fed3cba6160 R15: 00007ffe33163678