===================================================== BUG: KMSAN: uninit-value in geneve_xmit_skb drivers/net/geneve.c:909 [inline] BUG: KMSAN: uninit-value in geneve_xmit+0x300c/0x3200 drivers/net/geneve.c:1005 CPU: 0 PID: 9802 Comm: syz-executor.3 Not tainted 5.8.0-rc5-syzkaller #0 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+0x21c/0x280 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:121 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 geneve_xmit_skb drivers/net/geneve.c:909 [inline] geneve_xmit+0x300c/0x3200 drivers/net/geneve.c:1005 __netdev_start_xmit include/linux/netdevice.h:4611 [inline] netdev_start_xmit include/linux/netdevice.h:4625 [inline] xmit_one+0x3cf/0x750 net/core/dev.c:3556 dev_hard_start_xmit net/core/dev.c:3572 [inline] __dev_queue_xmit+0x3aad/0x4470 net/core/dev.c:4131 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4164 neigh_resolve_output+0xbb0/0xc90 net/core/neighbour.c:1489 neigh_output include/net/neighbour.h:509 [inline] ip6_finish_output2+0x249c/0x2a70 net/ipv6/ip6_output.c:117 __ip6_finish_output+0x9c0/0xa90 net/ipv6/ip6_output.c:143 ip6_finish_output+0x14b/0x4b0 net/ipv6/ip6_output.c:153 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip6_output+0x68d/0x7f0 net/ipv6/ip6_output.c:176 dst_output include/net/dst.h:443 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] mld_sendpack+0xf6c/0x1470 net/ipv6/mcast.c:1679 mld_send_cr net/ipv6/mcast.c:1975 [inline] mld_ifc_timer_expire+0x13b8/0x1b50 net/ipv6/mcast.c:2474 call_timer_fn+0x226/0x550 kernel/time/timer.c:1404 expire_timers+0x4fc/0x780 kernel/time/timer.c:1449 __run_timers+0xaf4/0xd30 kernel/time/timer.c:1773 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1786 __do_softirq+0x2ea/0x7f5 kernel/softirq.c:293 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:23 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:50 [inline] do_softirq_own_stack+0x7c/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:390 [inline] __irq_exit_rcu+0x226/0x270 kernel/softirq.c:420 irq_exit_rcu+0xe/0x10 kernel/softirq.c:432 sysvec_apic_timer_interrupt+0x107/0x130 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:593 RIP: 0010:metadata_is_contiguous+0x1a8/0x1b0 mm/kmsan/kmsan.c:514 Code: 8b 30 45 31 ff 48 c7 c7 78 63 e1 91 31 c0 e8 3c 24 58 ff 8b 3b e8 a8 22 00 00 44 89 f8 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f <5d> c3 66 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 RSP: 0018:ffff8881c7cd7608 EFLAGS: 00000292 RAX: 0000000000000001 RBX: ffff8881c7cd7910 RCX: 0000000000000008 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881c7cd7908 RBP: ffff8881c7cd7608 R08: ffffea000000000f R09: ffff88812fffa000 R10: 0000000000000004 R11: 00000000ffffffff R12: 80000001c8acb007 R13: 000000000000000f R14: ffff8881c7cd7908 R15: 0000000000000000 kmsan_get_shadow_origin_ptr+0x5e/0xb0 mm/kmsan/kmsan_shadow.c:148 __msan_metadata_ptr_for_load_8+0x10/0x20 mm/kmsan/kmsan_instr.c:55 native_set_pte arch/x86/include/asm/pgtable_64.h:67 [inline] native_set_pte_at arch/x86/include/asm/pgtable.h:1042 [inline] copy_one_pte mm/memory.c:808 [inline] copy_pte_range mm/memory.c:851 [inline] copy_pmd_range mm/memory.c:902 [inline] copy_pud_range mm/memory.c:936 [inline] copy_p4d_range mm/memory.c:958 [inline] copy_page_range+0x29e2/0x50d0 mm/memory.c:1020 dup_mmap+0x1826/0x2020 kernel/fork.c:610 dup_mm+0x236/0x800 kernel/fork.c:1373 copy_mm kernel/fork.c:1429 [inline] copy_process+0x3de9/0x96c0 kernel/fork.c:2100 _do_fork+0x2fa/0x11b0 kernel/fork.c:2445 __do_sys_clone kernel/fork.c:2601 [inline] __se_sys_clone+0x3d9/0x420 kernel/fork.c:2582 __x64_sys_clone+0x62/0x80 kernel/fork.c:2582 do_syscall_64+0xad/0x160 arch/x86/entry/common.c:386 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45bb8a Code: Bad RIP value. RSP: 002b:000000000169fd60 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 000000000169fd60 RCX: 000000000045bb8a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 000000000169fda0 R08: 0000000000000001 R09: 0000000002d27940 R10: 0000000002d27c10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 000000000169fdf0 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:310 __msan_chain_origin+0x50/0x90 mm/kmsan/kmsan_instr.c:165 geneve_changelink+0xdb2/0x10f0 drivers/net/geneve.c:1652 __rtnl_newlink net/core/rtnetlink.c:3255 [inline] rtnl_newlink+0x3384/0x3ed0 net/core/rtnetlink.c:3397 rtnetlink_rcv_msg+0x142b/0x18c0 net/core/rtnetlink.c:5460 netlink_rcv_skb+0x6d7/0x7e0 net/netlink/af_netlink.c:2469 rtnetlink_rcv+0x50/0x60 net/core/rtnetlink.c:5478 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x11c8/0x1490 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x173a/0x1840 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0xc82/0x1240 net/socket.c:2352 ___sys_sendmsg net/socket.c:2406 [inline] __sys_sendmsg+0x6d1/0x840 net/socket.c:2439 __do_sys_sendmsg net/socket.c:2448 [inline] __se_sys_sendmsg+0x97/0xb0 net/socket.c:2446 __x64_sys_sendmsg+0x4a/0x70 net/socket.c:2446 do_syscall_64+0xad/0x160 arch/x86/entry/common.c:386 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Local variable ----df@geneve_changelink created at: geneve_changelink+0x101/0x10f0 drivers/net/geneve.c:1622 geneve_changelink+0x101/0x10f0 drivers/net/geneve.c:1622 =====================================================