===================================================== BUG: KMSAN: uninit-value in hsr_register_frame_in+0x12a/0x200 net/hsr/hsr_framereg.c:338 CPU: 1 PID: 12408 Comm: syz-executor.4 Not tainted 5.7.0-rc4-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+0xf7/0x1e0 mm/kmsan/kmsan_report.c:121 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 hsr_register_frame_in+0x12a/0x200 net/hsr/hsr_framereg.c:338 hsr_forward_skb+0xd14/0x30d0 net/hsr/hsr_forward.c:360 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:223 __netdev_start_xmit include/linux/netdevice.h:4533 [inline] netdev_start_xmit include/linux/netdevice.h:4547 [inline] xmit_one net/core/dev.c:3477 [inline] dev_hard_start_xmit+0x531/0xab0 net/core/dev.c:3493 __dev_queue_xmit+0x2f8d/0x3b20 net/core/dev.c:4052 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4085 packet_snd net/packet/af_packet.c:2979 [inline] packet_sendmsg+0x8347/0x93b0 net/packet/af_packet.c:3004 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] sock_write_iter+0x6bc/0x6d0 net/socket.c:1004 do_iter_readv_writev+0xa23/0xc70 include/linux/fs.h:1901 do_iter_write+0x303/0xdc0 fs/read_write.c:999 compat_writev+0x2df/0x5a0 fs/read_write.c:1352 do_compat_writev fs/read_write.c:1373 [inline] __do_compat_sys_writev fs/read_write.c:1384 [inline] __se_compat_sys_writev+0x182/0x370 fs/read_write.c:1380 __ia32_compat_sys_writev+0x4a/0x70 fs/read_write.c:1380 do_syscall_32_irqs_on arch/x86/entry/common.c:339 [inline] do_fast_syscall_32+0x3bf/0x6d0 arch/x86/entry/common.c:398 entry_SYSENTER_compat+0x68/0x77 arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f54dd9 Code: 90 e8 0b 00 00 00 f3 90 0f ae e8 eb f9 8d 74 26 00 89 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f5d4f0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000092 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000440 RDX: 0000000000000001 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 hsr_add_node+0xa78/0xc00 net/hsr/hsr_framereg.c:155 hsr_get_node+0x636/0x6f0 net/hsr/hsr_framereg.c:214 hsr_fill_frame_info net/hsr/hsr_forward.c:315 [inline] hsr_forward_skb+0x780/0x30d0 net/hsr/hsr_forward.c:358 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:223 __netdev_start_xmit include/linux/netdevice.h:4533 [inline] netdev_start_xmit include/linux/netdevice.h:4547 [inline] xmit_one net/core/dev.c:3477 [inline] dev_hard_start_xmit+0x531/0xab0 net/core/dev.c:3493 __dev_queue_xmit+0x2f8d/0x3b20 net/core/dev.c:4052 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4085 packet_snd net/packet/af_packet.c:2979 [inline] packet_sendmsg+0x8347/0x93b0 net/packet/af_packet.c:3004 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] sock_write_iter+0x6bc/0x6d0 net/socket.c:1004 do_iter_readv_writev+0xa23/0xc70 include/linux/fs.h:1901 do_iter_write+0x303/0xdc0 fs/read_write.c:999 compat_writev+0x2df/0x5a0 fs/read_write.c:1352 do_compat_writev fs/read_write.c:1373 [inline] __do_compat_sys_writev fs/read_write.c:1384 [inline] __se_compat_sys_writev+0x182/0x370 fs/read_write.c:1380 __ia32_compat_sys_writev+0x4a/0x70 fs/read_write.c:1380 do_syscall_32_irqs_on arch/x86/entry/common.c:339 [inline] do_fast_syscall_32+0x3bf/0x6d0 arch/x86/entry/common.c:398 entry_SYSENTER_compat+0x68/0x77 arch/x86/entry/entry_64_compat.S:139 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_poison_shadow+0x66/0xd0 mm/kmsan/kmsan.c:127 kmsan_slab_alloc+0x8a/0xe0 mm/kmsan/kmsan_hooks.c:80 slab_alloc_node mm/slub.c:2802 [inline] __kmalloc_node_track_caller+0xb40/0x1200 mm/slub.c:4436 __kmalloc_reserve net/core/skbuff.c:142 [inline] __alloc_skb+0x2fd/0xac0 net/core/skbuff.c:210 alloc_skb include/linux/skbuff.h:1083 [inline] alloc_skb_with_frags+0x18c/0xa70 net/core/skbuff.c:5772 sock_alloc_send_pskb+0xada/0xc60 net/core/sock.c:2265 packet_alloc_skb net/packet/af_packet.c:2827 [inline] packet_snd net/packet/af_packet.c:2922 [inline] packet_sendmsg+0x66a0/0x93b0 net/packet/af_packet.c:3004 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] sock_write_iter+0x6bc/0x6d0 net/socket.c:1004 do_iter_readv_writev+0xa23/0xc70 include/linux/fs.h:1901 do_iter_write+0x303/0xdc0 fs/read_write.c:999 compat_writev+0x2df/0x5a0 fs/read_write.c:1352 do_compat_writev fs/read_write.c:1373 [inline] __do_compat_sys_writev fs/read_write.c:1384 [inline] __se_compat_sys_writev+0x182/0x370 fs/read_write.c:1380 __ia32_compat_sys_writev+0x4a/0x70 fs/read_write.c:1380 do_syscall_32_irqs_on arch/x86/entry/common.c:339 [inline] do_fast_syscall_32+0x3bf/0x6d0 arch/x86/entry/common.c:398 entry_SYSENTER_compat+0x68/0x77 arch/x86/entry/entry_64_compat.S:139 =====================================================