------------[ cut here ]------------ WARNING: CPU: 1 PID: 6653 at kernel/events/core.c:5572 __free_event+0x50f/0x620 kernel/events/core.c:5572 Modules linked in: CPU: 1 UID: 0 PID: 6653 Comm: syz.2.207 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:ffffc9000f097858 EFLAGS: 00010283 RAX: ffffffff81f8132e RBX: 1ffff11009e1d98e RCX: 0000000000080000 RDX: ffffc9000db7e000 RSI: 000000000000270d RDI: 000000000000270e RBP: 0000000000000003 R08: ffffffff81f810fb R09: 1ffff110064bcb45 R10: dffffc0000000000 R11: ffffed10064bcb46 R12: ffff88804f0ecc68 R13: ffff88804f0ecc70 R14: 1ffff11009e1d98d R15: dffffc0000000000 FS: 00007fd9a03f66c0(0000) GS:ffff888125097000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa9366d3e2d CR3: 0000000031576000 CR4: 00000000003526f0 DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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