===================================================== BUG: KMSAN: uninit-value in hsr_register_frame_in+0x12a/0x200 net/hsr/hsr_framereg.c:338 CPU: 0 PID: 12892 Comm: syz-executor.1 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 vfs_writev fs/read_write.c:1072 [inline] do_writev+0x42d/0x8f0 fs/read_write.c:1115 __do_sys_writev fs/read_write.c:1188 [inline] __se_sys_writev+0x9b/0xb0 fs/read_write.c:1185 __x64_sys_writev+0x4a/0x70 fs/read_write.c:1185 do_syscall_64+0xb8/0x160 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45ca59 Code: 0d b7 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 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fefe2969c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 000000000050e1a0 RCX: 000000000045ca59 RDX: 0000000000000001 RSI: 0000000020000440 RDI: 0000000000000003 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000d3f R14: 00000000004cb67f R15: 00007fefe296a6d4 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 vfs_writev fs/read_write.c:1072 [inline] do_writev+0x42d/0x8f0 fs/read_write.c:1115 __do_sys_writev fs/read_write.c:1188 [inline] __se_sys_writev+0x9b/0xb0 fs/read_write.c:1185 __x64_sys_writev+0x4a/0x70 fs/read_write.c:1185 do_syscall_64+0xb8/0x160 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x44/0xa9 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 vfs_writev fs/read_write.c:1072 [inline] do_writev+0x42d/0x8f0 fs/read_write.c:1115 __do_sys_writev fs/read_write.c:1188 [inline] __se_sys_writev+0x9b/0xb0 fs/read_write.c:1185 __x64_sys_writev+0x4a/0x70 fs/read_write.c:1185 do_syscall_64+0xb8/0x160 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x44/0xa9 =====================================================