================================================================== BUG: KMSAN: uninit-value in prefetch_freepointer mm/slub.c:276 [inline] BUG: KMSAN: uninit-value in slab_alloc_node mm/slub.c:2713 [inline] BUG: KMSAN: uninit-value in __kmalloc_node_track_caller+0xe81/0x11d0 mm/slub.c:4353 CPU: 0 PID: 8115 Comm: syz-executor7 Not tainted 4.18.0-rc8+ #34 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+0x17c/0x1c0 lib/dump_stack.c:113 kmsan_report+0x188/0x2a0 mm/kmsan/kmsan.c:982 __msan_warning+0x70/0xc0 mm/kmsan/kmsan_instr.c:645 prefetch_freepointer mm/slub.c:276 [inline] slab_alloc_node mm/slub.c:2713 [inline] __kmalloc_node_track_caller+0xe81/0x11d0 mm/slub.c:4353 __kmalloc_reserve net/core/skbuff.c:138 [inline] __alloc_skb+0x2ce/0x9b0 net/core/skbuff.c:206 skb_segment+0x145e/0x5ff0 net/core/skbuff.c:3647 tcp_gso_segment+0x87c/0x26d0 net/ipv4/tcp_offload.c:101 tcp4_gso_segment+0x208/0x5d0 net/ipv4/tcp_offload.c:54 inet_gso_segment+0xc93/0x1b80 net/ipv4/af_inet.c:1342 skb_mac_gso_segment+0x40f/0x770 net/core/dev.c:2792 __skb_gso_segment+0x65f/0x9f0 net/core/dev.c:2865 skb_gso_segment include/linux/netdevice.h:4099 [inline] ip_finish_output_gso net/ipv4/ip_output.c:269 [inline] ip_finish_output+0xbc7/0xfd0 net/ipv4/ip_output.c:312 NF_HOOK_COND include/linux/netfilter.h:276 [inline] ip_output+0x50f/0x5d0 net/ipv4/ip_output.c:405 dst_output include/net/dst.h:444 [inline] ip_local_out net/ipv4/ip_output.c:124 [inline] ip_queue_xmit+0x1ad6/0x2190 net/ipv4/ip_output.c:504 __tcp_transmit_skb+0x3f65/0x5680 net/ipv4/tcp_output.c:1172 tcp_transmit_skb net/ipv4/tcp_output.c:1188 [inline] tcp_write_xmit+0x3a17/0xa4e0 net/ipv4/tcp_output.c:2374 __tcp_push_pending_frames+0x124/0x400 net/ipv4/tcp_output.c:2547 tcp_sendmsg_locked+0x4120/0x6250 net/ipv4/tcp.c:1388 tcp_sendmsg+0xb2/0x100 net/ipv4/tcp.c:1447 inet_sendmsg+0x49a/0x740 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:642 [inline] sock_sendmsg net/socket.c:652 [inline] __sys_sendto+0x6a3/0x7c0 net/socket.c:1798 __do_sys_sendto net/socket.c:1810 [inline] __se_sys_sendto net/socket.c:1806 [inline] __x64_sys_sendto+0x1a1/0x210 net/socket.c:1806 do_syscall_64+0x15b/0x220 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x457089 Code: fd b4 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 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f04b1a36c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f04b1a376d4 RCX: 0000000000457089 RDX: fffffffffffffe4e RSI: 0000000020000000 RDI: 0000000000000008 RBP: 00000000009301e0 R08: 00000000200000c0 R09: 0000000000000006 R10: 00000000000000c0 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d4178 R14: 00000000004c8b48 R15: 0000000000000002 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:2720 [inline] __kmalloc_node_track_caller+0xb4c/0x11d0 mm/slub.c:4353 __kmalloc_reserve net/core/skbuff.c:138 [inline] __alloc_skb+0x2ce/0x9b0 net/core/skbuff.c:206 alloc_skb_fclone include/linux/skbuff.h:1030 [inline] sk_stream_alloc_skb+0x172/0xc90 net/ipv4/tcp.c:875 tso_fragment net/ipv4/tcp_output.c:1873 [inline] tcp_write_xmit+0x2637/0xa4e0 net/ipv4/tcp_output.c:2367 __tcp_push_pending_frames+0x124/0x400 net/ipv4/tcp_output.c:2547 tcp_push_pending_frames include/net/tcp.h:1698 [inline] tcp_data_snd_check+0x180/0xe40 net/ipv4/tcp_input.c:5135 tcp_rcv_established+0x19fd/0x2af0 net/ipv4/tcp_input.c:5610 tcp_v4_do_rcv+0x61e/0xcb0 net/ipv4/tcp_ipv4.c:1531 tcp_v4_rcv+0x6b94/0x70e0 net/ipv4/tcp_ipv4.c:1823 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+0xa6e/0x1cb0 net/ipv4/ip_input.c:396 NF_HOOK include/linux/netfilter.h:287 [inline] ip_rcv+0x1211/0x1410 net/ipv4/ip_input.c:492 __netif_receive_skb_core+0x4511/0x49d0 net/core/dev.c:4628 __netif_receive_skb net/core/dev.c:4693 [inline] process_backlog+0x5f1/0xd80 net/core/dev.c:5373 napi_poll net/core/dev.c:5771 [inline] net_rx_action+0x723/0x19d0 net/core/dev.c:5837 __do_softirq+0x582/0x969 kernel/softirq.c:292 ==================================================================