==================================================================
BUG: KMSAN: kernel-infoleak in _copy_to_user+0x16b/0x1f0 lib/usercopy.c:32
CPU: 0 PID: 11325 Comm: syz-executor.1 Not tainted 5.0.0-rc1+ #9
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:600
kmsan_internal_check_memory+0x9e4/0xb10 mm/kmsan/kmsan.c:692
kmsan_copy_to_user+0xab/0xc0 mm/kmsan/kmsan_hooks.c:601
_copy_to_user+0x16b/0x1f0 lib/usercopy.c:32
netlink: 8 bytes leftover after parsing attributes in process `syz-executor.3'.
copy_to_user include/linux/uaccess.h:174 [inline]
move_addr_to_user+0x311/0x570 net/socket.c:227
___sys_recvmsg+0xb65/0x1310 net/socket.c:2284
do_recvmmsg+0x646/0x10c0 net/socket.c:2391
__sys_recvmmsg net/socket.c:2472 [inline]
__do_sys_recvmmsg net/socket.c:2493 [inline]
__se_sys_recvmmsg+0x25d/0x350 net/socket.c:2486
__x64_sys_recvmmsg+0x62/0x80 net/socket.c:2486
do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291
entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x457e29
Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fbe46048c78 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000457e29
RDX: 0000000000000003 RSI: 0000000020000e40 RDI: 0000000000000004
RBP: 000000000073bf00 R08: 0000000020000f00 R09: 0000000000000000
R10: 0000000000000020 R11: 0000000000000246 R12: 00007fbe460496d4
R13: 00000000004c4b3e R14: 00000000004d8648 R15: 00000000ffffffff
Local variable description: ----addr@___sys_recvmsg
Variable was created at:
___sys_recvmsg+0xf6/0x1310 net/socket.c:2245
do_recvmmsg+0x646/0x10c0 net/socket.c:2391
Bytes 0-31 of 32 are uninitialized
Memory access of size 32 starts at ffff888036cefbb0
Data copied to user address 0000000020000040
==================================================================