================================================================== BUG: KMSAN: uninit-value in tomoyo_check_unix_address+0x36a/0xa30 security/tomoyo/network.c:597 CPU: 1 PID: 16625 Comm: syz-executor.3 Not tainted 5.1.0+ #3 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:619 __msan_warning+0x75/0xe0 mm/kmsan/kmsan_instr.c:310 tomoyo_check_unix_address+0x36a/0xa30 security/tomoyo/network.c:597 tomoyo_socket_connect_permission+0x315/0x400 security/tomoyo/network.c:705 tomoyo_socket_connect+0x8b/0xa0 security/tomoyo/tomoyo.c:456 security_socket_connect+0x127/0x200 security/security.c:1948 __sys_connect+0x536/0x820 net/socket.c:1804 __do_sys_connect net/socket.c:1819 [inline] __se_sys_connect+0x8d/0xb0 net/socket.c:1816 __x64_sys_connect+0x4a/0x70 net/socket.c:1816 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x2000060a Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 99 4a 2a e9 2c 02 9e 4c 0f 05 03 00 00 00 c4 a3 7b f0 c5 fe 41 e2 e9 c4 22 e9 aa bb 3c 00 00 RSP: 002b:00007f2912579bd8 EFLAGS: 00000202 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 000000002000060a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000006 R10: 0000000000000007 R11: 0000000000000202 R12: 000000000000000b R13: 000000000000000c R14: 000000000000000d R15: 00000000ffffffff Local variable description: ----address@__sys_connect Variable was created at: sockfd_lookup_light net/socket.c:488 [inline] __sys_connect+0x8c/0x820 net/socket.c:1796 __do_sys_connect net/socket.c:1819 [inline] __se_sys_connect+0x8d/0xb0 net/socket.c:1816 ==================================================================