------------[ cut here ]------------ WARNING: CPU: 1 PID: 8410 at kernel/events/core.c:10369 __perf_event_overflow+0xb3b/0xe40 kernel/events/core.c:10369 Modules linked in: CPU: 1 UID: 0 PID: 8410 Comm: syz.9.660 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__perf_event_overflow+0xb3b/0xe40 kernel/events/core.c:10369 Code: 08 4c 89 f7 e8 66 ff 34 00 4d 89 3e e9 bc fa ff ff 48 c7 44 24 40 00 00 00 00 e8 70 38 cf ff e9 1c fe ff ff e8 66 38 cf ff 90 <0f> 0b 90 e9 2d ff ff ff e8 58 38 cf ff 48 c7 c7 20 0b 74 8b e8 bc RSP: 0018:ffffc9001b2aefc0 EFLAGS: 00010287 RAX: ffffffff81f0cb8a RBX: 1ffff110051d7c4d RCX: 0000000000080000 RDX: ffffc9000e2a2000 RSI: 0000000000002fef RDI: 0000000000002ff0 RBP: ffffc9001b2af0d0 R08: ffff888028ebe00f R09: 1ffff110051d7c01 R10: dffffc0000000000 R11: ffffed10051d7c02 R12: dffffc0000000000 R13: ffff888028ebddc0 R14: ffff888028ebe008 R15: 0000000000000000 FS: 00007fc0130836c0(0000) GS:ffff88812623e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000000cc CR3: 000000006a994000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: perf_swevent_overflow kernel/events/core.c:10467 [inline] perf_swevent_event+0x2f4/0x5e0 kernel/events/core.c:-1 do_perf_sw_event kernel/events/core.c:10607 [inline] ___perf_sw_event+0x4a1/0x700 kernel/events/core.c:10634 __perf_sw_event+0xfa/0x1a0 kernel/events/core.c:10646 perf_sw_event include/linux/perf_event.h:1596 [inline] do_user_addr_fault+0x12d9/0x1380 arch/x86/mm/fault.c:1283 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x82/0x100 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 RIP: 0010:rep_movs_alternative+0x11/0x90 arch/x86/lib/copy_user_64.S:47 Code: e9 04 32 04 00 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 83 f9 40 73 44 83 f9 08 73 25 85 c9 74 0f 8a 06 <88> 07 48 ff c7 48 ff c6 48 ff c9 75 f1 e9 cd 31 04 00 66 2e 0f 1f RSP: 0018:ffffc9001b2af5e8 EFLAGS: 00050202 RAX: ffffffff84897e00 RBX: 0000000000000004 RCX: 0000000000000004 RDX: 0000000000000000 RSI: ffffc9001b2afac0 RDI: 00002000000000cc RBP: ffffc9001b2afb30 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52003655f58 R12: 00002000000000d0 R13: 00007ffffffff000 R14: ffffc9001b2afac0 R15: 00002000000000cc copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:147 [inline] _inline_copy_to_user include/linux/uaccess.h:197 [inline] _copy_to_user+0x8a/0xb0 lib/usercopy.c:26 copy_to_user include/linux/uaccess.h:225 [inline] copy_to_sockptr_offset include/linux/sockptr.h:114 [inline] copy_to_bpfptr_offset include/linux/bpfptr.h:65 [inline] bpf_check+0x746e/0x1d620 kernel/bpf/verifier.c:24766 bpf_prog_load+0x13ba/0x19e0 kernel/bpf/syscall.c:3077 __sys_bpf+0x507/0x860 kernel/bpf/syscall.c:6149 __do_sys_bpf kernel/bpf/syscall.c:6259 [inline] __se_sys_bpf kernel/bpf/syscall.c:6257 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:6257 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc01218efc9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc013083038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fc0123e5fa0 RCX: 00007fc01218efc9 RDX: 0000000000000090 RSI: 0000200000000040 RDI: 0000000000000005 RBP: 00007fc012211f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc0123e6038 R14: 00007fc0123e5fa0 R15: 00007fff2522aca8 ---------------- Code disassembly (best guess): 0: e9 04 32 04 00 jmp 0x43209 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: 90 nop a: 90 nop b: 90 nop c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 48 83 f9 40 cmp $0x40,%rcx 1d: 73 44 jae 0x63 1f: 83 f9 08 cmp $0x8,%ecx 22: 73 25 jae 0x49 24: 85 c9 test %ecx,%ecx 26: 74 0f je 0x37 28: 8a 06 mov (%rsi),%al * 2a: 88 07 mov %al,(%rdi) <-- trapping instruction 2c: 48 ff c7 inc %rdi 2f: 48 ff c6 inc %rsi 32: 48 ff c9 dec %rcx 35: 75 f1 jne 0x28 37: e9 cd 31 04 00 jmp 0x43209 3c: 66 data16 3d: 2e cs 3e: 0f .byte 0xf 3f: 1f (bad)