------------[ cut here ]------------ WARNING: CPU: 0 PID: 6003 at kernel/events/core.c:10226 __perf_event_overflow+0xaf9/0xe10 kernel/events/core.c:10226 Modules linked in: CPU: 0 UID: 0 PID: 6003 Comm: syz.0.30 Not tainted 6.15.0-rc4-syzkaller-gb4432656b36e #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__perf_event_overflow+0xaf9/0xe10 kernel/events/core.c:10226 Code: 89 3e 4c 8b 3c 24 e9 c3 fc ff ff e8 b1 73 d0 ff 49 bd 00 00 00 00 00 fc ff df 4c 8b 74 24 28 e9 06 fe ff ff e8 98 73 d0 ff 90 <0f> 0b 90 e9 1b ff ff ff e8 8a 73 d0 ff 48 c7 c7 60 b3 73 8b e8 9e RSP: 0018:ffffc90003d8f500 EFLAGS: 00010293 RAX: ffffffff81ef4b38 RBX: ffff88802f60bd40 RCX: ffff888024e85a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003d8f610 R08: ffff88802f60bf7f R09: 1ffff11005ec17ef R10: dffffc0000000000 R11: ffffed1005ec17f0 R12: ffffc90003d8fa88 R13: dffffc0000000000 R14: ffff88802f60bf78 R15: 0000000000000000 FS: 00007f1a138796c0(0000) GS:ffff8881260cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000325f6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: perf_swevent_overflow kernel/events/core.c:10324 [inline] perf_swevent_event+0x2f4/0x5e0 kernel/events/core.c:-1 do_perf_sw_event kernel/events/core.c:10464 [inline] ___perf_sw_event+0x4a1/0x700 kernel/events/core.c:10491 __perf_sw_event+0xfa/0x1a0 kernel/events/core.c:10503 perf_sw_event include/linux/perf_event.h:1537 [inline] do_user_addr_fault+0x12e4/0x1390 arch/x86/mm/fault.c:1284 handle_page_fault arch/x86/mm/fault.c:1480 [inline] exc_page_fault+0x68/0x110 arch/x86/mm/fault.c:1538 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:rep_movs_alternative+0x30/0x90 arch/x86/lib/copy_user_64.S:60 Code: 83 f9 08 73 25 85 c9 74 0f 8a 06 88 07 48 ff c7 48 ff c6 48 ff c9 75 f1 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <48> 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 db 83 f9 08 RSP: 0018:ffffc90003d8fb38 EFLAGS: 00050206 RAX: 00007ffffffff001 RBX: 0000000000000038 RCX: 0000000000000038 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffc90003d8fba0 RBP: ffffc90003d8fdb0 R08: ffffc90003d8fbd7 R09: 1ffff920007b1f7a R10: dffffc0000000000 R11: fffff520007b1f7b R12: ffffc90003d8fe00 R13: 1ffff920007b1f70 R14: ffffc90003d8fba0 R15: 0000000000000000 copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:141 [inline] _inline_copy_from_user include/linux/uaccess.h:178 [inline] _copy_from_user+0x7a/0xb0 lib/usercopy.c:18 copy_from_user include/linux/uaccess.h:212 [inline] copy_msghdr_from_user net/socket.c:2496 [inline] sendmsg_copy_msghdr net/socket.c:2597 [inline] ___sys_sendmsg+0x158/0x2a0 net/socket.c:2616 __sys_sendmsg net/socket.c:2652 [inline] __do_sys_sendmsg net/socket.c:2657 [inline] __se_sys_sendmsg net/socket.c:2655 [inline] __x64_sys_sendmsg+0x19b/0x260 net/socket.c:2655 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1a1298e969 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:00007f1a13879038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1a12bb5fa0 RCX: 00007f1a1298e969 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f1a12a10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1a12bb5fa0 R15: 00007ffe263aa648 ---------------- Code disassembly (best guess): 0: 83 f9 08 cmp $0x8,%ecx 3: 73 25 jae 0x2a 5: 85 c9 test %ecx,%ecx 7: 74 0f je 0x18 9: 8a 06 mov (%rsi),%al b: 88 07 mov %al,(%rdi) d: 48 ff c7 inc %rdi 10: 48 ff c6 inc %rsi 13: 48 ff c9 dec %rcx 16: 75 f1 jne 0x9 18: c3 ret 19: cc int3 1a: cc int3 1b: cc int3 1c: cc int3 1d: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 24: 00 00 00 27: 0f 1f 00 nopl (%rax) * 2a: 48 8b 06 mov (%rsi),%rax <-- trapping instruction 2d: 48 89 07 mov %rax,(%rdi) 30: 48 83 c6 08 add $0x8,%rsi 34: 48 83 c7 08 add $0x8,%rdi 38: 83 e9 08 sub $0x8,%ecx 3b: 74 db je 0x18 3d: 83 f9 08 cmp $0x8,%ecx