================================================================== 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: 1 PID: 6415 Comm: syz-executor6 Not tainted 4.16.0+ #83 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:0x45813a RSP: 002b:0000000000a3e948 EFLAGS: 00000246 ORIG_RAX: 00000000000000e4 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045813a RDX: 000000000072ca20 RSI: 0000000000a3e950 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000a3e940 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000002 R14: 000000000072ca20 R15: 000000000001360d 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-12 of 16 are uninitialized ==================================================================