===================================================== BUG: KMSAN: uninit-value in bond_neigh_setup+0xa4/0x110 drivers/net/bonding/bond_main.c:3745 CPU: 1 PID: 19456 Comm: syz-executor.5 Not tainted 5.5.0-rc1-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+0x1c9/0x220 lib/dump_stack.c:118 kmsan_report+0xf8/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 bond_neigh_setup+0xa4/0x110 drivers/net/bonding/bond_main.c:3745 bond_neigh_init+0x216/0x4b0 drivers/net/bonding/bond_main.c:3716 ___neigh_create+0x15f1/0x2e20 net/core/neighbour.c:613 __neigh_create+0xbd/0xd0 net/core/neighbour.c:674 ip6_finish_output2+0x149a/0x2670 net/ipv6/ip6_output.c:113 __ip6_finish_output+0x83d/0x8f0 net/ipv6/ip6_output.c:142 ip6_finish_output+0x2db/0x420 net/ipv6/ip6_output.c:152 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip6_output+0x60a/0x770 net/ipv6/ip6_output.c:175 dst_output include/net/dst.h:436 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] mld_sendpack+0xebd/0x13d0 net/ipv6/mcast.c:1682 mld_send_cr net/ipv6/mcast.c:1978 [inline] mld_ifc_timer_expire+0x1181/0x1790 net/ipv6/mcast.c:2477 call_timer_fn+0x232/0x530 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers+0xd60/0x1270 kernel/time/timer.c:1773 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1786 __do_softirq+0x4a1/0x83a kernel/softirq.c:293 invoke_softirq kernel/softirq.c:375 [inline] irq_exit+0x230/0x280 kernel/softirq.c:416 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:536 smp_apic_timer_interrupt+0x48/0x70 arch/x86/kernel/apic/apic.c:1140 apic_timer_interrupt+0x2e/0x40 arch/x86/entry/entry_64.S:834 RIP: 0010:kmsan_get_metadata+0x21/0x190 mm/kmsan/kmsan_shadow.c:191 Code: 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 53 41 89 d6 48 89 fb 48 83 e3 fc 85 d2 48 0f 44 df 40 f6 c7 03 48 0f 44 df <48> 89 df e8 e7 e2 ff ff 84 c0 75 0c 48 89 df e8 0b e3 ff ff 84 c0 RSP: 0018:ffffacb44ca6edb0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: ffff9d430fdeb400 RBX: ffff9d430fde9400 RCX: ffffe4e0490f58d0 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff9d430fde9400 RBP: ffffacb44ca6edc8 R08: ffffe4e04000000f R09: ffff9d426fffb000 R10: 0000000000000004 R11: ffffffff9fb6df70 R12: 0000000000000000 R13: ffff9d430fde9400 R14: 0000000000000001 R15: 0000000000000000 kmsan_get_shadow_origin_ptr+0x81/0xb0 mm/kmsan/kmsan_shadow.c:159 __msan_metadata_ptr_for_load_8+0x10/0x20 mm/kmsan/kmsan_instr.c:55 batadv_hardif_get_by_netdev include/linux/compiler.h:206 [inline] batadv_hard_if_event+0x202/0x35e0 net/batman-adv/hard-interface.c:1031 notifier_call_chain kernel/notifier.c:83 [inline] __raw_notifier_call_chain kernel/notifier.c:361 [inline] raw_notifier_call_chain+0x13d/0x240 kernel/notifier.c:368 call_netdevice_notifiers_info net/core/dev.c:1893 [inline] call_netdevice_notifiers_extack net/core/dev.c:1905 [inline] call_netdevice_notifiers net/core/dev.c:1919 [inline] register_netdevice+0x2245/0x31b0 net/core/dev.c:9311 bond_newlink+0x107/0x1c0 drivers/net/bonding/bond_netlink.c:458 __rtnl_newlink net/core/rtnetlink.c:3305 [inline] rtnl_newlink+0x2a8a/0x3a90 net/core/rtnetlink.c:3363 rtnetlink_rcv_msg+0x115a/0x1580 net/core/rtnetlink.c:5424 netlink_rcv_skb+0x431/0x620 net/netlink/af_netlink.c:2477 rtnetlink_rcv+0x50/0x60 net/core/rtnetlink.c:5442 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0xfa0/0x1100 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x11f0/0x1480 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:639 [inline] sock_sendmsg net/socket.c:659 [inline] ____sys_sendmsg+0x1362/0x13f0 net/socket.c:2330 ___sys_sendmsg net/socket.c:2384 [inline] __sys_sendmsg+0x4f0/0x5e0 net/socket.c:2417 __do_sys_sendmsg net/socket.c:2426 [inline] __se_sys_sendmsg+0x97/0xb0 net/socket.c:2424 __x64_sys_sendmsg+0x4a/0x70 net/socket.c:2424 do_syscall_64+0xb6/0x160 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45a919 Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f41e488ec78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a919 RDX: 0000000000000000 RSI: 0000000020000580 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f41e488f6d4 R13: 00000000004c9a29 R14: 00000000004e1930 R15: 00000000ffffffff Local variable ----parms@bond_neigh_init created at: bond_neigh_init+0x8c/0x4b0 drivers/net/bonding/bond_main.c:3707 bond_neigh_init+0x8c/0x4b0 drivers/net/bonding/bond_main.c:3707 =====================================================