===================================================== BUG: KMSAN: uninit-value in hsr_register_frame_in+0x25d/0x340 net/hsr/hsr_framereg.c:400 hsr_register_frame_in+0x25d/0x340 net/hsr/hsr_framereg.c:400 hsr_forward_skb+0xda5/0x2790 net/hsr/hsr_forward.c:577 hsr_handle_frame+0x9dd/0xac0 net/hsr/hsr_slave.c:69 __netif_receive_skb_core+0x21c9/0x5c60 net/core/dev.c:5337 __netif_receive_skb_one_core net/core/dev.c:5441 [inline] __netif_receive_skb+0xf2/0x630 net/core/dev.c:5557 process_backlog+0x55d/0xc30 net/core/dev.c:6434 __napi_poll+0x150/0xb20 net/core/dev.c:6993 napi_poll net/core/dev.c:7060 [inline] net_rx_action+0x733/0x14c0 net/core/dev.c:7147 __do_softirq+0x1c9/0x6ec kernel/softirq.c:558 do_softirq+0x120/0x1c0 kernel/softirq.c:459 __local_bh_enable_ip+0xab/0xb0 kernel/softirq.c:383 local_bh_enable+0x36/0x40 include/linux/bottom_half.h:32 __dev_direct_xmit+0xc22/0xcc0 net/core/dev.c:4281 dev_direct_xmit include/linux/netdevice.h:2977 [inline] packet_direct_xmit+0x2a5/0x530 net/packet/af_packet.c:246 packet_snd net/packet/af_packet.c:3017 [inline] packet_sendmsg+0x8970/0x9c80 net/packet/af_packet.c:3044 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] __sys_sendto+0x9ef/0xc70 net/socket.c:2036 __do_sys_sendto net/socket.c:2048 [inline] __se_sys_sendto net/socket.c:2044 [inline] __x64_sys_sendto+0x19c/0x210 net/socket.c:2044 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x44/0xae Uninit was stored to memory at: hsr_add_node+0x809/0xe90 net/hsr/hsr_framereg.c:172 hsr_get_node+0xb8e/0xc10 net/hsr/hsr_framereg.c:254 fill_frame_info net/hsr/hsr_forward.c:538 [inline] hsr_forward_skb+0x472/0x2790 net/hsr/hsr_forward.c:574 hsr_handle_frame+0x9dd/0xac0 net/hsr/hsr_slave.c:69 __netif_receive_skb_core+0x21c9/0x5c60 net/core/dev.c:5337 __netif_receive_skb_one_core net/core/dev.c:5441 [inline] __netif_receive_skb+0xf2/0x630 net/core/dev.c:5557 process_backlog+0x55d/0xc30 net/core/dev.c:6434 __napi_poll+0x150/0xb20 net/core/dev.c:6993 napi_poll net/core/dev.c:7060 [inline] net_rx_action+0x733/0x14c0 net/core/dev.c:7147 __do_softirq+0x1c9/0x6ec kernel/softirq.c:558 Uninit was created at: slab_post_alloc_hook mm/slab.h:524 [inline] slab_alloc_node mm/slub.c:3227 [inline] __kmalloc_node_track_caller+0xa3b/0x13c0 mm/slub.c:4962 kmalloc_reserve net/core/skbuff.c:356 [inline] __alloc_skb+0x4db/0xe40 net/core/skbuff.c:427 alloc_skb include/linux/skbuff.h:1116 [inline] alloc_skb_with_frags+0x1dc/0xc10 net/core/skbuff.c:6083 sock_alloc_send_pskb+0xe37/0x1010 net/core/sock.c:2493 packet_alloc_skb net/packet/af_packet.c:2865 [inline] packet_snd net/packet/af_packet.c:2960 [inline] packet_sendmsg+0x6986/0x9c80 net/packet/af_packet.c:3044 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] __sys_sendto+0x9ef/0xc70 net/socket.c:2036 __do_sys_sendto net/socket.c:2048 [inline] __se_sys_sendto net/socket.c:2044 [inline] __x64_sys_sendto+0x19c/0x210 net/socket.c:2044 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x44/0xae =====================================================