===================================================== BUG: KMSAN: uninit-value in get_unique_tuple net/netfilter/nf_nat_core.c:548 [inline] BUG: KMSAN: uninit-value in nf_nat_setup_info+0x628/0x4a40 net/netfilter/nf_nat_core.c:642 get_unique_tuple net/netfilter/nf_nat_core.c:548 [inline] nf_nat_setup_info+0x628/0x4a40 net/netfilter/nf_nat_core.c:642 nfnetlink_parse_nat_setup+0xb86/0xcf0 ctnetlink_parse_nat_setup+0xde/0x390 net/netfilter/nf_conntrack_netlink.c:1845 ctnetlink_setup_nat net/netfilter/nf_conntrack_netlink.c:1920 [inline] ctnetlink_create_conntrack net/netfilter/nf_conntrack_netlink.c:2325 [inline] ctnetlink_new_conntrack+0x1d5d/0x4240 net/netfilter/nf_conntrack_netlink.c:2452 nfnetlink_rcv_msg+0xe0a/0xf80 net/netfilter/nfnetlink.c:296 netlink_rcv_skb+0x40c/0x7e0 net/netlink/af_netlink.c:2494 nfnetlink_rcv+0x667/0x4740 net/netfilter/nfnetlink.c:654 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x1093/0x1360 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x14d9/0x1720 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg net/socket.c:725 [inline] ____sys_sendmsg+0xe11/0x12c0 net/socket.c:2413 ___sys_sendmsg net/socket.c:2467 [inline] __sys_sendmsg+0x704/0x840 net/socket.c:2496 __do_sys_sendmsg net/socket.c:2505 [inline] __se_sys_sendmsg net/socket.c:2503 [inline] __x64_sys_sendmsg+0xe2/0x120 net/socket.c:2503 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x44/0xae Uninit was created at: __alloc_pages+0xbbf/0x1090 mm/page_alloc.c:5429 alloc_pages+0xa08/0xd50 alloc_slab_page mm/slub.c:1816 [inline] allocate_slab+0x29e/0x1b00 mm/slub.c:1961 new_slab mm/slub.c:2021 [inline] ___slab_alloc+0xb52/0x1da0 mm/slub.c:3035 __slab_alloc mm/slub.c:3122 [inline] slab_alloc_node mm/slub.c:3213 [inline] slab_alloc mm/slub.c:3255 [inline] kmem_cache_alloc+0xbb3/0x11c0 mm/slub.c:3260 __nf_conntrack_alloc+0x232/0x7f0 net/netfilter/nf_conntrack_core.c:1553 init_conntrack+0x29b/0x24c0 net/netfilter/nf_conntrack_core.c:1634 resolve_normal_ct net/netfilter/nf_conntrack_core.c:1745 [inline] nf_conntrack_in+0x1abc/0x3130 net/netfilter/nf_conntrack_core.c:1903 ipv6_conntrack_in+0x68/0x80 net/netfilter/nf_conntrack_proto.c:407 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0x184/0x490 net/netfilter/core.c:619 nf_hook include/linux/netfilter.h:262 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] ipv6_rcv+0x3c7/0x460 net/ipv6/ip6_input.c:297 __netif_receive_skb_one_core net/core/dev.c:5351 [inline] __netif_receive_skb+0x1ec/0x630 net/core/dev.c:5465 netif_receive_skb_internal+0x1b3/0x3c0 net/core/dev.c:5551 netif_receive_skb+0x49/0x360 net/core/dev.c:5610 tun_rx_batched+0xadd/0xd50 tun_get_user+0x577a/0x5bd0 drivers/net/tun.c:1963 tun_chr_write_iter+0x407/0x580 drivers/net/tun.c:1993 call_write_iter include/linux/fs.h:2074 [inline] new_sync_write fs/read_write.c:503 [inline] vfs_write+0x1318/0x2030 fs/read_write.c:590 ksys_write+0x28b/0x510 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0xdb/0x120 fs/read_write.c:652 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x44/0xae CPU: 1 PID: 10609 Comm: syz-executor.5 Not tainted 5.17.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 =====================================================