------------[ cut here ]------------ WARNING: CPU: 1 PID: 3694 at kernel/events/core.c:1948 __do_sys_perf_event_open kernel/events/core.c:12565 [inline] WARNING: CPU: 1 PID: 3694 at kernel/events/core.c:1948 __se_sys_perf_event_open+0x4578/0x4940 kernel/events/core.c:12257 Modules linked in: CPU: 1 PID: 3694 Comm: syz-executor.4 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:ffffc9000476fd20 EFLAGS: 00010287 RAX: ffffffff81b13e98 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000d37b000 RSI: 0000000000003299 RDI: 000000000000329a RBP: ffffc9000476ff20 R08: ffffffff81b12344 R09: fffffbfff1ce6906 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fc19faf56c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f689a178978 CR3: 0000000027ca8000 CR4: 00000000003506e0 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:0x7fc19ee7cbe9 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:00007fc19faf50c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007fc19ef9bf80 RCX: 00007fc19ee7cbe9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200011c0 RBP: 00007fc19eec847a R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc19ef9bf80 R15: 00007ffd8ac858a8