================================================================== BUG: KMSAN: uninit-value in copy_to_user include/linux/uaccess.h:184 [inline] BUG: KMSAN: uninit-value in put_timespec64+0x159/0x200 kernel/time/time.c:867 CPU: 0 PID: 3644 Comm: syz-executor0 Not tainted 4.16.0+ #82 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 kmsan_internal_check_memory+0x125/0x1d0 mm/kmsan/kmsan.c:1157 kmsan_copy_to_user+0x69/0x160 mm/kmsan/kmsan.c:1199 copy_to_user include/linux/uaccess.h:184 [inline] put_timespec64+0x159/0x200 kernel/time/time.c:867 SYSC_clock_gettime+0x289/0x2f0 kernel/time/posix-timers.c:1069 SyS_clock_gettime+0x45/0x70 kernel/time/posix-timers.c:1057 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x45807a RSP: 002b:0000000000a3ea88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e4 RAX: ffffffffffffffda RBX: 000000000000004e RCX: 000000000045807a RDX: 0000000000000000 RSI: 0000000000a3ea90 RDI: 0000000000000001 RBP: 000000000001a276 R08: 0000000000000001 R09: 00000000022ff940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000163 R15: 000000000001a261 Local variable description: ----kts@put_timespec64 Variable was created at: put_timespec64+0x54/0x200 kernel/time/time.c:862 SYSC_clock_gettime+0x289/0x2f0 kernel/time/posix-timers.c:1069 Bytes 8-13 of 16 are uninitialized ==================================================================