================================================================== BUG: KMSAN: uninit-value in add32_with_carry arch/x86/include/asm/checksum_64.h:185 [inline] BUG: KMSAN: uninit-value in do_csum arch/x86/lib/csum-partial_64.c:114 [inline] BUG: KMSAN: uninit-value in csum_partial+0x78e/0x850 arch/x86/lib/csum-partial_64.c:136 CPU: 0 PID: 7449 Comm: syz-executor3 Not tainted 4.16.0+ #84 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:676 add32_with_carry arch/x86/include/asm/checksum_64.h:185 [inline] do_csum arch/x86/lib/csum-partial_64.c:114 [inline] csum_partial+0x78e/0x850 arch/x86/lib/csum-partial_64.c:136 csum_partial_ext+0x89/0xa0 include/net/checksum.h:118 __skb_checksum+0x6d4/0x1010 net/core/skbuff.c:2498 skb_checksum+0xec/0x120 net/core/skbuff.c:2545 __skb_checksum_complete+0x90/0x400 net/core/datagram.c:752 __udp_lib_checksum_complete include/net/udp.h:115 [inline] udp_lib_checksum_complete include/net/udp.h:122 [inline] __udp4_lib_rcv+0x3156/0x4740 net/ipv4/udp.c:2124 udp_rcv+0x5c/0x70 net/ipv4/udp.c:2287 ip_local_deliver_finish+0x6ed/0xd40 net/ipv4/ip_input.c:216 NF_HOOK include/linux/netfilter.h:288 [inline] ip_local_deliver+0x43c/0x4e0 net/ipv4/ip_input.c:257 dst_input include/net/dst.h:449 [inline] ip_rcv_finish+0x1253/0x16d0 net/ipv4/ip_input.c:397 NF_HOOK include/linux/netfilter.h:288 [inline] ip_rcv+0x119d/0x16f0 net/ipv4/ip_input.c:493 __netif_receive_skb_core+0x47cf/0x4a80 net/core/dev.c:4562 __netif_receive_skb net/core/dev.c:4627 [inline] process_backlog+0x62d/0xe20 net/core/dev.c:5307 napi_poll net/core/dev.c:5705 [inline] net_rx_action+0x7c1/0x1a70 net/core/dev.c:5771 __do_softirq+0x56d/0x93d kernel/softirq.c:285 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1040 do_softirq kernel/softirq.c:329 [inline] __local_bh_enable_ip+0x114/0x140 kernel/softirq.c:182 local_bh_enable+0x36/0x40 include/linux/bottom_half.h:32 rcu_read_unlock_bh include/linux/rcupdate.h:726 [inline] ip_finish_output2+0x124e/0x1380 net/ipv4/ip_output.c:231 ip_finish_output+0xcb0/0xff0 net/ipv4/ip_output.c:317 NF_HOOK_COND include/linux/netfilter.h:277 [inline] ip_output+0x502/0x5c0 net/ipv4/ip_output.c:405 dst_output include/net/dst.h:443 [inline] ip_local_out net/ipv4/ip_output.c:124 [inline] ip_send_skb+0x5f3/0x820 net/ipv4/ip_output.c:1414 udp_send_skb+0xe97/0x1320 net/ipv4/udp.c:809 udp_push_pending_frames net/ipv4/udp.c:837 [inline] udp_sendmsg+0xa24/0x3180 net/ipv4/udp.c:1076 inet_sendmsg+0x48d/0x740 net/ipv4/af_inet.c:764 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg net/socket.c:640 [inline] sock_write_iter+0x3b9/0x470 net/socket.c:909 call_write_iter include/linux/fs.h:1782 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x719/0x910 fs/read_write.c:482 vfs_write+0x463/0x8d0 fs/read_write.c:544 SYSC_write+0x172/0x360 fs/read_write.c:589 SyS_write+0x55/0x80 fs/read_write.c:581 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x455329 RSP: 002b:00007f9ed9cfbc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f9ed9cfc6d4 RCX: 0000000000455329 RDX: 0000000000000a96 RSI: 00000000200002c0 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000006b9 R14: 00000000006fd1f8 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:278 [inline] kmsan_alloc_meta_for_pages+0x161/0x3a0 mm/kmsan/kmsan.c:814 kmsan_alloc_page+0x82/0xe0 mm/kmsan/kmsan.c:868 __alloc_pages_nodemask+0xf5b/0x5dc0 mm/page_alloc.c:4283 alloc_pages_current+0x6b5/0x970 mm/mempolicy.c:2055 alloc_pages include/linux/gfp.h:494 [inline] skb_page_frag_refill+0x3ba/0x5e0 net/core/sock.c:2208 sk_page_frag_refill+0xa4/0x340 net/core/sock.c:2228 __ip_append_data+0x107e/0x3d10 net/ipv4/ip_output.c:1057 ip_append_data+0x2fb/0x440 net/ipv4/ip_output.c:1170 udp_sendmsg+0x746/0x3180 net/ipv4/udp.c:1070 inet_sendmsg+0x48d/0x740 net/ipv4/af_inet.c:764 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg net/socket.c:640 [inline] sock_write_iter+0x3b9/0x470 net/socket.c:909 call_write_iter include/linux/fs.h:1782 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x719/0x910 fs/read_write.c:482 vfs_write+0x463/0x8d0 fs/read_write.c:544 SYSC_write+0x172/0x360 fs/read_write.c:589 SyS_write+0x55/0x80 fs/read_write.c:581 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 ==================================================================