================================================================== BUG: KMSAN: kernel-infoleak in _copy_to_user+0x16b/0x1f0 lib/usercopy.c:32 CPU: 0 PID: 13767 Comm: syz-executor.0 Not tainted 5.1.0+ #1 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+0x191/0x1f0 lib/dump_stack.c:113 kmsan_report+0x130/0x2a0 mm/kmsan/kmsan.c:622 kmsan_internal_check_memory+0x974/0xa80 mm/kmsan/kmsan.c:716 kmsan_copy_to_user+0xa9/0xb0 mm/kmsan/kmsan_hooks.c:493 _copy_to_user+0x16b/0x1f0 lib/usercopy.c:32 copy_to_user include/linux/uaccess.h:174 [inline] copy_siginfo_to_user+0x80/0x160 kernel/signal.c:3059 ptrace_peek_siginfo kernel/ptrace.c:742 [inline] ptrace_request+0x24bd/0x2950 kernel/ptrace.c:913 arch_ptrace+0x9fa/0x1090 arch/x86/kernel/ptrace.c:868 __do_sys_ptrace kernel/ptrace.c:1155 [inline] __se_sys_ptrace+0x2b9/0x7b0 kernel/ptrace.c:1120 __x64_sys_ptrace+0x56/0x70 kernel/ptrace.c:1120 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x459279 Code: fd b7 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 b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd00e6e7c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000065 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000459279 RDX: 00000000200000c0 RSI: 0000000000000545 RDI: 0000000000004209 RBP: 000000000075bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000716000 R11: 0000000000000246 R12: 00007fd00e6e86d4 R13: 00000000004c61f4 R14: 00000000004dab10 R15: 00000000ffffffff Local variable description: ----info.i@ptrace_request Variable was created at: ptrace_peek_siginfo kernel/ptrace.c:714 [inline] ptrace_request+0x2161/0x2950 kernel/ptrace.c:913 arch_ptrace+0x9fa/0x1090 arch/x86/kernel/ptrace.c:868 Bytes 0-47 of 48 are uninitialized Memory access of size 48 starts at ffff8880737ffd70 Data copied to user address 0000000000716000 ==================================================================