------------[ cut here ]------------ WARNING: CPU: 0 PID: 3721 at kernel/events/core.c:1948 __do_sys_perf_event_open kernel/events/core.c:12565 [inline] WARNING: CPU: 0 PID: 3721 at kernel/events/core.c:1948 __se_sys_perf_event_open+0x4578/0x4940 kernel/events/core.c:12257 Modules linked in: CPU: 0 PID: 3721 Comm: syz-executor.0 Not tainted 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:perf_event_validate_size kernel/events/core.c:1948 [inline] RIP: 0010:__do_sys_perf_event_open kernel/events/core.c:12565 [inline] RIP: 0010:__se_sys_perf_event_open+0x4578/0x4940 kernel/events/core.c:12257 Code: 07 80 c1 03 38 c1 0f 8c 1c cd ff ff 48 89 df e8 de ae 30 00 e9 0f cd ff ff e8 54 50 d9 ff 0f 0b e9 4d ec ff ff e8 48 50 d9 ff <0f> 0b e9 0b e6 ff ff e8 3c 50 d9 ff 41 be ea ff ff ff e9 63 de ff RSP: 0018:ffffc9000455fd20 EFLAGS: 00010283 RAX: ffffffff81b13e98 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90004d2b000 RSI: 000000000000186d RDI: 000000000000186e RBP: ffffc9000455ff20 R08: ffffffff81b12344 R09: fffffbfff1ce6906 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 FS: 00007ff5e158d6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff5e099d988 CR3: 000000001f508000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff5e087cbe9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff5e158d0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007ff5e099bf80 RCX: 00007ff5e087cbe9 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 00000000200008c0 RBP: 00007ff5e08c847a R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff5e099bf80 R15: 00007ffe412cbee8