================================================================== BUG: KMSAN: uninit-value in slab_alloc_node mm/slub.c:2703 [inline] BUG: KMSAN: uninit-value in __kmalloc_node_track_caller+0x667/0x1160 mm/slub.c:4351 CPU: 0 PID: 2165 Comm: udevd Not tainted 4.19.0-rc3+ #48 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+0x14b/0x190 lib/dump_stack.c:113 kmsan_report+0x183/0x2b0 mm/kmsan/kmsan.c:956 __msan_warning+0x70/0xc0 mm/kmsan/kmsan_instr.c:645 slab_alloc_node mm/slub.c:2703 [inline] __kmalloc_node_track_caller+0x667/0x1160 mm/slub.c:4351 __kmalloc_reserve net/core/skbuff.c:138 [inline] __alloc_skb+0x2f5/0x9e0 net/core/skbuff.c:206 alloc_skb include/linux/skbuff.h:996 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1189 [inline] netlink_sendmsg+0xb49/0x1290 net/netlink/af_netlink.c:1883 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg net/socket.c:631 [inline] ___sys_sendmsg+0xe70/0x1290 net/socket.c:2114 __sys_sendmsg net/socket.c:2152 [inline] __do_sys_sendmsg net/socket.c:2161 [inline] __se_sys_sendmsg+0x2a3/0x3d0 net/socket.c:2159 __x64_sys_sendmsg+0x4a/0x70 net/socket.c:2159 do_syscall_64+0xb8/0x100 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x7f20fe73f320 Code: 02 48 83 c8 ff eb 8d 48 8b 05 14 7b 2a 00 f7 da 64 89 10 48 83 c8 ff eb c9 90 83 3d d5 d2 2a 00 00 75 10 b8 2e 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 5e ba 00 00 48 89 04 24 RSP: 002b:00007fff23da4af8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f20fe73f320 RDX: 0000000000000000 RSI: 00007fff23da4b40 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f20fe787c20 R10: 736563697665642f R11: 0000000000000246 R12: 0000000001b452d0 R13: 00000000000000ad R14: 0000000001b57650 R15: 0000000001b45250 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:256 [inline] kmsan_internal_poison_shadow+0xb8/0x1b0 mm/kmsan/kmsan.c:181 kmsan_kmalloc+0x98/0x100 mm/kmsan/kmsan_hooks.c:91 kmsan_slab_alloc+0x10/0x20 mm/kmsan/kmsan_hooks.c:100 slab_post_alloc_hook mm/slab.h:446 [inline] slab_alloc_node mm/slub.c:2718 [inline] __kmalloc_node_track_caller+0x9e7/0x1160 mm/slub.c:4351 __kmalloc_reserve net/core/skbuff.c:138 [inline] __alloc_skb+0x2f5/0x9e0 net/core/skbuff.c:206 alloc_skb include/linux/skbuff.h:996 [inline] __tcp_send_ack+0x10d/0x880 net/ipv4/tcp_output.c:3584 tcp_send_ack+0x68/0x90 net/ipv4/tcp_output.c:3611 __tcp_ack_snd_check+0x786/0x8e0 net/ipv4/tcp_input.c:5186 tcp_ack_snd_check net/ipv4/tcp_input.c:5222 [inline] tcp_rcv_established+0x1b4e/0x2860 net/ipv4/tcp_input.c:5643 tcp_v4_do_rcv+0x689/0xd50 net/ipv4/tcp_ipv4.c:1532 tcp_v4_rcv+0x6b60/0x70a0 net/ipv4/tcp_ipv4.c:1824 ip_local_deliver_finish+0x7ee/0xea0 net/ipv4/ip_input.c:215 NF_HOOK include/linux/netfilter.h:287 [inline] ip_local_deliver+0x438/0x4d0 net/ipv4/ip_input.c:256 dst_input include/net/dst.h:450 [inline] ip_rcv_finish net/ipv4/ip_input.c:415 [inline] NF_HOOK include/linux/netfilter.h:287 [inline] ip_rcv+0x65f/0x6d0 net/ipv4/ip_input.c:524 __netif_receive_skb_one_core net/core/dev.c:4891 [inline] __netif_receive_skb net/core/dev.c:5001 [inline] netif_receive_skb_internal+0x5bd/0x970 net/core/dev.c:5104 napi_skb_finish net/core/dev.c:5563 [inline] napi_gro_receive+0x668/0xb10 net/core/dev.c:5594 receive_buf+0x573c/0x7c70 drivers/net/virtio_net.c:1036 virtnet_receive drivers/net/virtio_net.c:1298 [inline] virtnet_poll+0xcca/0x1a20 drivers/net/virtio_net.c:1385 napi_poll net/core/dev.c:6227 [inline] net_rx_action+0x723/0x19d0 net/core/dev.c:6293 __do_softirq+0x562/0x948 kernel/softirq.c:292 ==================================================================