================================================================== BUG: KMSAN: uninit-value in strnlen+0xc4/0x110 lib/string.c:499 CPU: 0 PID: 9652 Comm: syz-executor1 Not tainted 4.16.0+ #87 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 __msan_warning_32+0x6c/0xb0 mm/kmsan/kmsan_instr.c:683 strnlen+0xc4/0x110 lib/string.c:499 dev_name_hash net/core/dev.c:209 [inline] dev_get_by_name_rcu net/core/dev.c:764 [inline] dev_get_by_name+0x6e/0x350 net/core/dev.c:791 pppoe_connect+0xcb7/0x2360 drivers/net/ppp/pppoe.c:665 SYSC_connect+0x41a/0x510 net/socket.c:1639 SyS_connect+0x54/0x80 net/socket.c:1620 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x455979 RSP: 002b:00007f4c4427fc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f4c442806d4 RCX: 0000000000455979 RDX: 0000000000000009 RSI: 0000000020000080 RDI: 0000000000000014 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000064 R14: 00000000006f4a00 R15: 0000000000000000 Local variable description: ----address@SYSC_connect Variable was created at: SYSC_connect+0x6f/0x510 net/socket.c:1622 SyS_connect+0x54/0x80 net/socket.c:1620 ==================================================================