===================================================== 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: 18262 Comm: syz-executor.1 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 do_softirq kernel/softirq.c:338 [inline] __local_bh_enable_ip+0x184/0x1d0 kernel/softirq.c:190 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0x4b/0x60 kernel/locking/spinlock.c:207 spin_unlock_bh include/linux/spinlock.h:398 [inline] fib6_table_dump net/ipv6/ip6_fib.c:472 [inline] fib6_tables_dump+0x859/0xc40 net/ipv6/ip6_fib.c:500 fib6_dump+0x146/0x180 net/ipv6/fib6_notifier.c:39 fib_net_dump net/core/fib_notifier.c:71 [inline] register_fib_notifier+0x54a/0xc80 net/core/fib_notifier.c:109 nsim_fib_create+0x8ff/0xb80 drivers/net/netdevsim/fib.c:909 nsim_dev_reload_create drivers/net/netdevsim/dev.c:988 [inline] nsim_dev_reload_up+0x2d2/0x13c0 drivers/net/netdevsim/dev.c:728 devlink_reload+0x1a29/0x2c90 net/core/devlink.c:2804 devlink_nl_cmd_reload+0xa4f/0xdb0 net/core/devlink.c:2832 genl_family_rcv_msg_doit net/netlink/genetlink.c:669 [inline] genl_family_rcv_msg net/netlink/genetlink.c:714 [inline] genl_rcv_msg+0x1703/0x18a0 net/netlink/genetlink.c:731 netlink_rcv_skb+0x6d7/0x7e0 net/netlink/af_netlink.c:2469 genl_rcv+0x63/0x80 net/netlink/genetlink.c:742 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 __compat_sys_sendmsg net/compat.c:466 [inline] __do_compat_sys_sendmsg net/compat.c:473 [inline] __se_compat_sys_sendmsg+0xa7/0xc0 net/compat.c:470 __ia32_compat_sys_sendmsg+0x4a/0x70 net/compat.c:470 do_syscall_32_irqs_on arch/x86/entry/common.c:430 [inline] __do_fast_syscall_32+0x2af/0x480 arch/x86/entry/common.c:477 do_fast_syscall_32+0x6b/0xd0 arch/x86/entry/common.c:505 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:554 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fb8549 Code: Bad RIP value. RSP: 002b:00000000f55b20cc EFLAGS: 00000296 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000800 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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 __compat_sys_sendmsg net/compat.c:466 [inline] __do_compat_sys_sendmsg net/compat.c:473 [inline] __se_compat_sys_sendmsg+0xa7/0xc0 net/compat.c:470 __ia32_compat_sys_sendmsg+0x4a/0x70 net/compat.c:470 do_syscall_32_irqs_on arch/x86/entry/common.c:430 [inline] __do_fast_syscall_32+0x2af/0x480 arch/x86/entry/common.c:477 do_fast_syscall_32+0x6b/0xd0 arch/x86/entry/common.c:505 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:554 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c 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 =====================================================