------------[ cut here ]------------
WARNING: CPU: 1 PID: 7217 at kernel/events/core.c:10329 __perf_event_overflow+0xaf9/0xe10 kernel/events/core.c:10329
Modules linked in:
CPU: 1 UID: 0 PID: 7217 Comm: syz.2.593 Not tainted 6.16.0-syzkaller-06699-ge8d780dcd957-dirty #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:__perf_event_overflow+0xaf9/0xe10 kernel/events/core.c:10329
Code: 89 3e 4c 8b 3c 24 e9 c3 fc ff ff e8 41 79 d0 ff 49 bd 00 00 00 00 00 fc ff df 4c 8b 74 24 28 e9 06 fe ff ff e8 28 79 d0 ff 90 <0f> 0b 90 e9 1b ff ff ff e8 1a 79 d0 ff 48 c7 c7 40 ec 93 8b e8 7e
RSP: 0018:ffffc900042af100 EFLAGS: 00010293
RAX: ffffffff81ef3ce8 RBX: ffff888107f25780 RCX: ffff888031d63980
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900042af210 R08: ffff888107f259cf R09: 1ffff11020fe4b39
R10: dffffc0000000000 R11: ffffed1020fe4b3a R12: ffffc900042af6a8
R13: dffffc0000000000 R14: ffff888107f259c8 R15: 0000000000000000
FS:  00007f9e2dbd76c0(0000) GS:ffff8881a3c7e000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 000000010851c000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 perf_swevent_overflow kernel/events/core.c:10427 [inline]
 perf_swevent_event+0x2f4/0x5e0 kernel/events/core.c:-1
 do_perf_sw_event kernel/events/core.c:10567 [inline]
 ___perf_sw_event+0x4a1/0x700 kernel/events/core.c:10594
 __perf_sw_event+0xfa/0x1a0 kernel/events/core.c:10606
 perf_sw_event include/linux/perf_event.h:1596 [inline]
 do_user_addr_fault+0x12e4/0x1390 arch/x86/mm/fault.c:1283
 handle_page_fault arch/x86/mm/fault.c:1476 [inline]
 exc_page_fault+0x76/0xf0 arch/x86/mm/fault.c:1532
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0010:rep_movs_alternative+0x75/0x90 arch/x86/lib/copy_user_64.S:101
Code: 05 c3 cc cc cc cc 48 8b 06 48 89 07 48 8d 47 08 48 83 e0 f8 48 29 f8 48 01 c7 48 01 c6 48 29 c1 48 89 c8 48 c1 e9 03 83 e0 07 <f3> 48 a5 89 c1 85 c9 75 91 e9 7d 0a 04 00 48 8d 0c c8 eb 86 cc cc
RSP: 0018:ffffc900042af758 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888126480000 RCX: 0000000000006604
RDX: 0000000000000001 RSI: 0000200000001000 RDI: ffff888126480fc0
RBP: ffffc900042af8b0 R08: ffff8881264b3fdf R09: 1ffff11024c967fb
R10: dffffc0000000000 R11: ffffed1024c967fc R12: 1ffff92000855fbf
R13: 0000200000000040 R14: ffffc900042afe08 R15: 0000000000033fe0
 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]
 copy_from_user_iter lib/iov_iter.c:55 [inline]
 iterate_ubuf include/linux/iov_iter.h:30 [inline]
 iterate_and_advance2 include/linux/iov_iter.h:300 [inline]
 iterate_and_advance include/linux/iov_iter.h:328 [inline]
 __copy_from_iter lib/iov_iter.c:249 [inline]
 _copy_from_iter+0x24c/0x16f0 lib/iov_iter.c:260
 copy_from_iter include/linux/uio.h:228 [inline]
 copy_from_iter_full include/linux/uio.h:245 [inline]
 memcpy_from_msg include/linux/skbuff.h:4197 [inline]
 netlink_sendmsg+0x6b2/0xb30 net/netlink/af_netlink.c:1881
 sock_sendmsg_nosec net/socket.c:714 [inline]
 __sock_sendmsg+0x21c/0x270 net/socket.c:729
 ____sys_sendmsg+0x505/0x830 net/socket.c:2614
 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2668
 __sys_sendmsg net/socket.c:2700 [inline]
 __do_sys_sendmsg net/socket.c:2705 [inline]
 __se_sys_sendmsg net/socket.c:2703 [inline]
 __x64_sys_sendmsg+0x19b/0x260 net/socket.c:2703
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9e2cd8ebe9
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:00007f9e2dbd7038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f9e2cfb5fa0 RCX: 00007f9e2cd8ebe9
RDX: 3500000000000000 RSI: 0000200000000000 RDI: 0000000000000004
RBP: 00007f9e2ce11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9e2cfb6038 R14: 00007f9e2cfb5fa0 R15: 00007fffbb640868
 </TASK>
----------------
Code disassembly (best guess):
   0:	05 c3 cc cc cc       	add    $0xccccccc3,%eax
   5:	cc                   	int3
   6:	48 8b 06             	mov    (%rsi),%rax
   9:	48 89 07             	mov    %rax,(%rdi)
   c:	48 8d 47 08          	lea    0x8(%rdi),%rax
  10:	48 83 e0 f8          	and    $0xfffffffffffffff8,%rax
  14:	48 29 f8             	sub    %rdi,%rax
  17:	48 01 c7             	add    %rax,%rdi
  1a:	48 01 c6             	add    %rax,%rsi
  1d:	48 29 c1             	sub    %rax,%rcx
  20:	48 89 c8             	mov    %rcx,%rax
  23:	48 c1 e9 03          	shr    $0x3,%rcx
  27:	83 e0 07             	and    $0x7,%eax
* 2a:	f3 48 a5             	rep movsq %ds:(%rsi),%es:(%rdi) <-- trapping instruction
  2d:	89 c1                	mov    %eax,%ecx
  2f:	85 c9                	test   %ecx,%ecx
  31:	75 91                	jne    0xffffffc4
  33:	e9 7d 0a 04 00       	jmp    0x40ab5
  38:	48 8d 0c c8          	lea    (%rax,%rcx,8),%rcx
  3c:	eb 86                	jmp    0xffffffc4
  3e:	cc                   	int3
  3f:	cc                   	int3
