------------[ cut here ]------------ WARNING: CPU: 0 PID: 5274 at kernel/events/core.c:1950 perf_event_validate_size kernel/events/core.c:1950 [inline] WARNING: CPU: 0 PID: 5274 at kernel/events/core.c:1950 __do_sys_perf_event_open+0x2748/0x2c70 kernel/events/core.c:12655 Modules linked in: CPU: 0 PID: 5274 Comm: syz-executor.1 Not tainted 6.7.0-rc5-syzkaller-01543-g9c9d9f683cab #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:1950 [inline] RIP: 0010:__do_sys_perf_event_open+0x2748/0x2c70 kernel/events/core.c:12655 Code: ff 48 8d b8 a8 00 00 00 e8 45 07 cf 08 bf 01 00 00 00 89 c3 89 c6 e8 37 71 d5 ff 83 eb 01 0f 84 2d ed ff ff e8 b9 75 d5 ff 90 <0f> 0b 90 e9 1f ed ff ff e8 ab 75 d5 ff be 03 00 00 00 48 89 ef e8 RSP: 0000:ffffc90004d5fd90 EFLAGS: 00010283 RAX: 000000000001f35d RBX: 00000000ffffffff RCX: ffffc90009ce1000 RDX: 0000000000040000 RSI: ffffffff81b227e7 RDI: 0000000000000005 RBP: ffff888017e49820 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff915f8890 R12: ffff888048261100 R13: 1ffff920009abfbd R14: ffff88802397d940 R15: ffff888017e49820 FS: 00007f5d49a2c6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9e9a377198 CR3: 0000000028d80000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f5d48c7cce9 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:00007f5d49a2c0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f5d48d9bf80 RCX: 00007f5d48c7cce9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000a40 RBP: 00007f5d48cc947a R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5d48d9bf80 R15: 00007fff67d7e0e8