===================================================== BUG: KMSAN: uninit-value in bond_neigh_setup+0xa4/0x110 drivers/net/bonding/bond_main.c:3745 CPU: 1 PID: 1564 Comm: kworker/u4:39 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net 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+0x131/0x190 mm/kmsan/kmsan_shadow.c:202 Code: 01 c8 49 63 cf 48 03 04 cd 80 de 4f 9f 75 62 48 89 df e8 72 00 00 00 48 85 c0 74 53 48 89 c1 48 8b 50 40 31 c0 48 85 d2 74 47 <89> d6 83 e6 01 48 85 f6 75 3d 48 8b 41 48 48 85 c0 74 32 81 e3 ff RSP: 0018:ffffaddf0b14f570 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: ffff9622775fe910 RCX: ffffe92e4254df60 RDX: ffffe92e4254dfb0 RSI: 00000000000001c0 RDI: ffff9622775fe910 RBP: ffffaddf0b14f588 R08: ffffe92e4000000f R09: ffff96232fffb000 R10: 0000000080200019 R11: 0000000080200018 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 kmsan_get_shadow_origin_ptr+0x6c/0xb0 mm/kmsan/kmsan_shadow.c:154 __msan_metadata_ptr_for_load_8+0x10/0x20 mm/kmsan/kmsan_instr.c:55 kernfs_name_compare fs/kernfs/dir.c:326 [inline] kernfs_find_ns+0x7db/0x8d0 fs/kernfs/dir.c:847 kernfs_remove_by_name_ns+0xc4/0x1f0 fs/kernfs/dir.c:1514 kernfs_remove_by_name include/linux/kernfs.h:586 [inline] remove_files fs/sysfs/group.c:27 [inline] sysfs_remove_group+0x34f/0x5f0 fs/sysfs/group.c:288 sysfs_remove_groups+0xe1/0x190 fs/sysfs/group.c:312 device_remove_groups drivers/base/core.c:1589 [inline] device_remove_attrs drivers/base/core.c:1771 [inline] device_del+0xc7a/0x1fc0 drivers/base/core.c:2663 netdev_unregister_kobject+0x247/0x2d0 net/core/net-sysfs.c:1718 rollback_registered_many+0x222f/0x28b0 net/core/dev.c:8771 unregister_netdevice_many+0x79/0x5e0 net/core/dev.c:9907 ip_tunnel_delete_nets+0x6b7/0x6f0 net/ipv4/ip_tunnel.c:1113 ipgre_exit_batch_net+0x6b/0x80 net/ipv4/ip_gre.c:997 ops_exit_list net/core/net_namespace.c:175 [inline] cleanup_net+0xe9c/0x1990 net/core/net_namespace.c:597 process_one_work+0x1572/0x1ef0 kernel/workqueue.c:2264 worker_thread+0x111b/0x2460 kernel/workqueue.c:2410 kthread+0x4b5/0x4f0 kernel/kthread.c:256 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:353 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 =====================================================