------------[ cut here ]------------ WARNING: CPU: 1 PID: 7483 at kernel/events/core.c:4907 put_pmu_ctx+0x239/0x2f0 Modules linked in: CPU: 1 PID: 7483 Comm: syz-executor.3 Not tainted 6.1.0-rc4-next-20221111 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:put_pmu_ctx+0x239/0x2f0 Code: f1 ff e8 8a 19 f1 ff 48 8d 7b 50 48 c7 c6 c0 46 57 81 e8 ea 9d dc ff eb d6 e8 73 19 f1 ff 0f 0b e9 64 ff ff ff e8 67 19 f1 ff <0f> 0b eb 88 e8 3e f0 24 00 eb a5 e8 57 19 f1 ff 0f 0b e9 50 fe ff RSP: 0018:ffff88803ecbfd18 EFLAGS: 00010212 RAX: 00000000000080f5 RBX: ffff88806d03e878 RCX: ffffc90003c11000 RDX: 0000000000040000 RSI: ffffffff81577139 RDI: 0000000000000001 RBP: ffff88806d03e8a8 R08: 0000000000000001 R09: 0000000000000001 R10: ffffed100da06904 R11: 0000000000000001 R12: ffff88806d034820 R13: ffff88806d0348f0 R14: ffff88806d03e880 R15: ffff88806d0348f0 FS: 00007f2c5aa73700(0000) GS:ffff88806d100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556619c98 CR3: 00000000156e6000 CR4: 0000000000350ee0 Call Trace: _free_event+0x2dc/0x1210 free_event+0x58/0xc0 __do_sys_perf_event_open+0x65f/0x2880 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f2c5d4fdb19 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:00007f2c5aa73188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f2c5d610f60 RCX: 00007f2c5d4fdb19 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 00000000200000c0 RBP: 00007f2c5d557f6d R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdb6fd9dcf R14: 00007f2c5aa73300 R15: 0000000000022000 irq event stamp: 42645 hardirqs last enabled at (42705): [] asm_sysvec_apic_timer_interrupt+0x1a/0x20 hardirqs last disabled at (42740): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (20330): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (17807): [] __irq_exit_rcu+0x11b/0x180 ---[ end trace 0000000000000000 ]---