================================================================== BUG: KMSAN: uninit-value in copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] BUG: KMSAN: uninit-value in raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline] BUG: KMSAN: uninit-value in __copy_from_user_inatomic include/linux/uaccess.h:69 [inline] BUG: KMSAN: uninit-value in __probe_kernel_read+0x224/0x280 mm/maccess.c:33 CPU: 1 PID: 6599 Comm: syz-executor7 Not tainted 4.16.0+ #87 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x185/0x1d0 lib/dump_stack.c:53 kmsan_report+0x142/0x240 mm/kmsan/kmsan.c:1067 __msan_warning_32+0x6c/0xb0 mm/kmsan/kmsan_instr.c:683 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline] __copy_from_user_inatomic include/linux/uaccess.h:69 [inline] __probe_kernel_read+0x224/0x280 mm/maccess.c:33 is_valid_bugaddr+0xb6/0x1a0 arch/x86/kernel/traps.c:168 report_bug+0x6f/0x880 lib/bug.c:149 fixup_bug arch/x86/kernel/traps.c:179 [inline] do_error_trap+0x1aa/0x600 arch/x86/kernel/traps.c:297 do_invalid_op+0x46/0x50 arch/x86/kernel/traps.c:316 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:986 RIP: 0010:kmsan_copy_to_user+0x141/0x160 mm/kmsan/kmsan.c:1213 RSP: 0018:ffff88015677f968 EFLAGS: 00010206 RAX: ffff880155620000 RBX: ffff88015677fb00 RCX: 000000000000000a RDX: 00007ffffffff000 RSI: ffff88015677fb00 RDI: 656c69662f2e0001 RBP: ffff88015677f9b0 R08: 0000000001080020 R09: ffff8801564ffa24 R10: ffff880156c79000 R11: 000000018010000f R12: 000000000000000a R13: 656c69662f2e0001 R14: 0000000000000000 R15: 00000000dea000bf copy_to_user include/linux/uaccess.h:184 [inline] move_addr_to_user+0x32e/0x530 net/socket.c:227 ___sys_recvmsg+0x4e2/0x810 net/socket.c:2211 __sys_recvmmsg+0x54e/0xdb0 net/socket.c:2313 SYSC_recvmmsg+0x212/0x3e0 net/socket.c:2389 SyS_recvmmsg+0x76/0xa0 net/socket.c:2378 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x455979 RSP: 002b:00007f8cd827ec68 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f8cd827f6d4 RCX: 0000000000455979 RDX: 0000000000000379 RSI: 0000000020000000 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000049e R14: 00000000006f9f70 R15: 0000000000000000 Local variable description: ----vmf.i@handle_mm_fault Variable was created at: handle_mm_fault+0x1cb/0x7e50 mm/memory.c:4114 __do_page_fault+0xec4/0x1a10 arch/x86/mm/fault.c:1423 ==================================================================