================================================================== BUG: KMSAN: uninit-value in ip_rcv+0xa93/0x16a0 net/ipv4/ip_input.c:464 CPU: 1 PID: 4511 Comm: syz-executor5 Not tainted 4.17.0+ #9 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+0x185/0x1d0 lib/dump_stack.c:113 kmsan_report+0x188/0x2a0 mm/kmsan/kmsan.c:1125 __msan_warning_32+0x70/0xc0 mm/kmsan/kmsan_instr.c:620 ip_rcv+0xa93/0x16a0 net/ipv4/ip_input.c:464 __netif_receive_skb_core+0x47f3/0x4aa0 net/core/dev.c:4592 __netif_receive_skb net/core/dev.c:4657 [inline] process_backlog+0x62d/0xe20 net/core/dev.c:5337 napi_poll net/core/dev.c:5735 [inline] net_rx_action+0x766/0x1a80 net/core/dev.c:5801 __do_softirq+0x592/0x979 kernel/softirq.c:285 invoke_softirq kernel/softirq.c:365 [inline] irq_exit+0x202/0x240 kernel/softirq.c:405 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:525 smp_apic_timer_interrupt+0x64/0x90 arch/x86/kernel/apic/apic.c:1055 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:866 RIP: 0010:pte_pfn arch/x86/include/asm/pgtable.h:190 [inline] RIP: 0010:_vm_normal_page mm/memory.c:829 [inline] RIP: 0010:copy_one_pte mm/memory.c:1038 [inline] RIP: 0010:copy_pte_range mm/memory.c:1102 [inline] RIP: 0010:copy_pmd_range mm/memory.c:1153 [inline] RIP: 0010:copy_pud_range mm/memory.c:1187 [inline] RIP: 0010:copy_p4d_range mm/memory.c:1209 [inline] RIP: 0010:copy_page_range+0x1b35/0x3f50 mm/memory.c:1271 RSP: 0018:ffff88014a19f850 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 800000016f61f007 RCX: 00000000ffffff00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88014a19fb08 R08: 800000016f61f007 R09: ffff88011617e000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 800000016f61f007 R15: 0000000000000000 dup_mmap kernel/fork.c:512 [inline] dup_mm kernel/fork.c:1235 [inline] copy_mm kernel/fork.c:1289 [inline] copy_process+0x6d9b/0x9be0 kernel/fork.c:1795 _do_fork+0x353/0xf60 kernel/fork.c:2089 __do_sys_clone kernel/fork.c:2196 [inline] __se_sys_clone kernel/fork.c:2190 [inline] __x64_sys_clone+0x15e/0x1b0 kernel/fork.c:2190 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45414a RSP: 002b:0000000000a3ea70 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000a3ea70 RCX: 000000000045414a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000a3eab0 R08: 0000000000000001 R09: 0000000001c77940 R10: 0000000001c77c10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 00000000007024c0 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:282 [inline] kmsan_save_stack mm/kmsan/kmsan.c:297 [inline] kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:689 kmsan_memcpy_origins+0x11d/0x170 mm/kmsan/kmsan.c:530 __msan_memcpy+0x109/0x160 mm/kmsan/kmsan_instr.c:413 pskb_expand_head+0x3a6/0x1a70 net/core/skbuff.c:1470 skb_unclone include/linux/skbuff.h:1441 [inline] skb_copy_ubufs+0x375/0x2650 net/core/skbuff.c:1184 skb_orphan_frags_rx include/linux/skbuff.h:2569 [inline] __netif_receive_skb_core+0x48b8/0x4aa0 net/core/dev.c:4589 __netif_receive_skb net/core/dev.c:4657 [inline] process_backlog+0x62d/0xe20 net/core/dev.c:5337 napi_poll net/core/dev.c:5735 [inline] net_rx_action+0x766/0x1a80 net/core/dev.c:5801 __do_softirq+0x592/0x979 kernel/softirq.c:285 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:282 [inline] kmsan_internal_poison_shadow+0xb8/0x1b0 mm/kmsan/kmsan.c:192 kmsan_kmalloc+0x94/0x100 mm/kmsan/kmsan.c:318 kmsan_slab_alloc+0x10/0x20 mm/kmsan/kmsan.c:325 IPVS: ftp: loaded support on port[0] = 21 slab_post_alloc_hook mm/slab.h:446 [inline] slab_alloc_node mm/slub.c:2753 [inline] __kmalloc_node_track_caller+0xb35/0x11b0 mm/slub.c:4395 __kmalloc_reserve net/core/skbuff.c:138 [inline] __alloc_skb+0x2cb/0x9e0 net/core/skbuff.c:206 alloc_skb_fclone include/linux/skbuff.h:1030 [inline] sk_stream_alloc_skb+0x17c/0xcf0 net/ipv4/tcp.c:875 tcp_sendmsg_locked+0x237e/0x6610 net/ipv4/tcp.c:1290 tcp_sendmsg+0xb2/0x100 net/ipv4/tcp.c:1447 inet_sendmsg+0x3fc/0x760 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:629 [inline] sock_sendmsg net/socket.c:639 [inline] __sys_sendto+0x6c4/0x7e0 net/socket.c:1789 __do_sys_sendto net/socket.c:1801 [inline] __se_sys_sendto net/socket.c:1797 [inline] __x64_sys_sendto+0x1a1/0x210 net/socket.c:1797 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 ==================================================================