================================================================== BUG: KMSAN: kernel-infoleak in _copy_to_user+0x178/0x220 lib/usercopy.c:32 CPU: 0 PID: 14660 Comm: syz-executor1 Not tainted 4.20.0-rc7+ #14 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x173/0x1d0 lib/dump_stack.c:113 kmsan_report+0x12e/0x2a0 mm/kmsan/kmsan.c:613 kmsan_internal_check_memory+0x510/0xb00 mm/kmsan/kmsan.c:692 kmsan_copy_to_user+0xab/0xc0 mm/kmsan/kmsan_hooks.c:601 _copy_to_user+0x178/0x220 lib/usercopy.c:32 copy_to_user include/linux/uaccess.h:177 [inline] copy_siginfo_to_user+0x80/0x160 kernel/signal.c:2921 ptrace_peek_siginfo kernel/ptrace.c:741 [inline] ptrace_request+0x2370/0x27b0 kernel/ptrace.c:912 arch_ptrace+0xa06/0xfa0 arch/x86/kernel/ptrace.c:867 __do_sys_ptrace kernel/ptrace.c:1144 [inline] __se_sys_ptrace+0x2eb/0x870 kernel/ptrace.c:1109 __x64_sys_ptrace+0x56/0x70 kernel/ptrace.c:1109 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x457759 Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f45e7ff4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000065 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457759 RDX: 00000000200000c0 RSI: 0000000000001142 RDI: 0000000000004209 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000710000 R11: 0000000000000246 R12: 00007f45e7ff56d4 R13: 00000000004c3f9d R14: 00000000004d7170 R15: 00000000ffffffff Local variable description: ----kiov@ptrace_request Variable was created at: ptrace_request+0x194/0x27b0 kernel/ptrace.c:885 arch_ptrace+0xa06/0xfa0 arch/x86/kernel/ptrace.c:867 Bytes 0-15 of 48 are uninitialized Memory access of size 48 starts at ffff88803312fd68 Data copied to user address 0000000000710000 ==================================================================