===================================================== BUG: KMSAN: uninit-value in hsr_addr_subst_dest+0x626/0x860 net/hsr/hsr_framereg.c:376 CPU: 1 PID: 20241 Comm: syz-executor.1 Not tainted 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 hsr_addr_subst_dest+0x626/0x860 net/hsr/hsr_framereg.c:376 hsr_xmit net/hsr/hsr_forward.c:332 [inline] hsr_forward_do net/hsr/hsr_forward.c:430 [inline] hsr_forward_skb+0x1d27/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f0c549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55065fc EFLAGS: 00000296 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000140 RDX: 0000000000000048 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:121 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memmove_metadata+0xe/0x10 mm/kmsan/kmsan.c:251 __msan_memmove+0x46/0x60 mm/kmsan/kmsan_instr.c:92 hsr_create_tagged_frame+0x855/0x11b0 net/hsr/hsr_forward.c:272 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104 kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2922 [inline] __kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609 kmalloc_reserve net/core/skbuff.c:353 [inline] __alloc_skb+0x4dd/0xe90 net/core/skbuff.c:424 __pskb_copy_fclone+0x188/0x1920 net/core/skbuff.c:1601 __pskb_copy include/linux/skbuff.h:1167 [inline] hsr_create_tagged_frame+0x4aa/0x11b0 net/hsr/hsr_forward.c:257 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c ===================================================== ===================================================== BUG: KMSAN: uninit-value in find_node_by_addr_A net/hsr/hsr_framereg.c:68 [inline] BUG: KMSAN: uninit-value in hsr_addr_subst_dest+0x333/0x860 net/hsr/hsr_framereg.c:379 CPU: 1 PID: 20241 Comm: syz-executor.1 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 find_node_by_addr_A net/hsr/hsr_framereg.c:68 [inline] hsr_addr_subst_dest+0x333/0x860 net/hsr/hsr_framereg.c:379 hsr_xmit net/hsr/hsr_forward.c:332 [inline] hsr_forward_do net/hsr/hsr_forward.c:430 [inline] hsr_forward_skb+0x1d27/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f0c549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55065fc EFLAGS: 00000296 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000140 RDX: 0000000000000048 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:121 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memmove_metadata+0xe/0x10 mm/kmsan/kmsan.c:251 __msan_memmove+0x46/0x60 mm/kmsan/kmsan_instr.c:92 hsr_create_tagged_frame+0x855/0x11b0 net/hsr/hsr_forward.c:272 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104 kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2922 [inline] __kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609 kmalloc_reserve net/core/skbuff.c:353 [inline] __alloc_skb+0x4dd/0xe90 net/core/skbuff.c:424 __pskb_copy_fclone+0x188/0x1920 net/core/skbuff.c:1601 __pskb_copy include/linux/skbuff.h:1167 [inline] hsr_create_tagged_frame+0x4aa/0x11b0 net/hsr/hsr_forward.c:257 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c ===================================================== hsr_slave_0: hsr_addr_subst_dest: Unknown node ===================================================== BUG: KMSAN: uninit-value in eth_type_trans+0x3e8/0xc10 net/ethernet/eth.c:167 CPU: 1 PID: 20241 Comm: syz-executor.1 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 eth_type_trans+0x3e8/0xc10 net/ethernet/eth.c:167 __dev_forward_skb2+0x478/0xb90 net/core/dev.c:2242 __dev_forward_skb+0x70/0x80 net/core/dev.c:2251 veth_forward_skb drivers/net/veth.c:279 [inline] veth_xmit+0x4a6/0xd90 drivers/net/veth.c:309 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 hsr_xmit net/hsr/hsr_forward.c:339 [inline] hsr_forward_do net/hsr/hsr_forward.c:430 [inline] hsr_forward_skb+0x1f60/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f0c549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55065fc EFLAGS: 00000296 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000140 RDX: 0000000000000048 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:121 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memmove_metadata+0xe/0x10 mm/kmsan/kmsan.c:251 __msan_memmove+0x46/0x60 mm/kmsan/kmsan_instr.c:92 hsr_create_tagged_frame+0x855/0x11b0 net/hsr/hsr_forward.c:272 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104 kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2922 [inline] __kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609 kmalloc_reserve net/core/skbuff.c:353 [inline] __alloc_skb+0x4dd/0xe90 net/core/skbuff.c:424 __pskb_copy_fclone+0x188/0x1920 net/core/skbuff.c:1601 __pskb_copy include/linux/skbuff.h:1167 [inline] hsr_create_tagged_frame+0x4aa/0x11b0 net/hsr/hsr_forward.c:257 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c ===================================================== ===================================================== BUG: KMSAN: uninit-value in eth_type_trans+0x99f/0xc10 net/ethernet/eth.c:169 CPU: 1 PID: 20241 Comm: syz-executor.1 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 eth_type_trans+0x99f/0xc10 net/ethernet/eth.c:169 __dev_forward_skb2+0x478/0xb90 net/core/dev.c:2242 __dev_forward_skb+0x70/0x80 net/core/dev.c:2251 veth_forward_skb drivers/net/veth.c:279 [inline] veth_xmit+0x4a6/0xd90 drivers/net/veth.c:309 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 hsr_xmit net/hsr/hsr_forward.c:339 [inline] hsr_forward_do net/hsr/hsr_forward.c:430 [inline] hsr_forward_skb+0x1f60/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f0c549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55065fc EFLAGS: 00000296 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000140 RDX: 0000000000000048 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:121 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memmove_metadata+0xe/0x10 mm/kmsan/kmsan.c:251 __msan_memmove+0x46/0x60 mm/kmsan/kmsan_instr.c:92 hsr_create_tagged_frame+0x855/0x11b0 net/hsr/hsr_forward.c:272 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104 kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2922 [inline] __kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609 kmalloc_reserve net/core/skbuff.c:353 [inline] __alloc_skb+0x4dd/0xe90 net/core/skbuff.c:424 __pskb_copy_fclone+0x188/0x1920 net/core/skbuff.c:1601 __pskb_copy include/linux/skbuff.h:1167 [inline] hsr_create_tagged_frame+0x4aa/0x11b0 net/hsr/hsr_forward.c:257 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c ===================================================== ===================================================== BUG: KMSAN: uninit-value in hsr_addr_subst_dest+0x626/0x860 net/hsr/hsr_framereg.c:376 CPU: 1 PID: 20241 Comm: syz-executor.1 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 hsr_addr_subst_dest+0x626/0x860 net/hsr/hsr_framereg.c:376 hsr_xmit net/hsr/hsr_forward.c:332 [inline] hsr_forward_do net/hsr/hsr_forward.c:430 [inline] hsr_forward_skb+0x1d27/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f0c549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55065fc EFLAGS: 00000296 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000140 RDX: 0000000000000048 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:121 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memmove_metadata+0xe/0x10 mm/kmsan/kmsan.c:251 __msan_memmove+0x46/0x60 mm/kmsan/kmsan_instr.c:92 hsr_create_tagged_frame+0x855/0x11b0 net/hsr/hsr_forward.c:272 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104 kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2922 [inline] __kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609 kmalloc_reserve net/core/skbuff.c:353 [inline] __alloc_skb+0x4dd/0xe90 net/core/skbuff.c:424 __pskb_copy_fclone+0x188/0x1920 net/core/skbuff.c:1601 __pskb_copy include/linux/skbuff.h:1167 [inline] hsr_create_tagged_frame+0x4aa/0x11b0 net/hsr/hsr_forward.c:257 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c ===================================================== ===================================================== BUG: KMSAN: uninit-value in find_node_by_addr_A net/hsr/hsr_framereg.c:68 [inline] BUG: KMSAN: uninit-value in hsr_addr_subst_dest+0x333/0x860 net/hsr/hsr_framereg.c:379 CPU: 1 PID: 20241 Comm: syz-executor.1 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 find_node_by_addr_A net/hsr/hsr_framereg.c:68 [inline] hsr_addr_subst_dest+0x333/0x860 net/hsr/hsr_framereg.c:379 hsr_xmit net/hsr/hsr_forward.c:332 [inline] hsr_forward_do net/hsr/hsr_forward.c:430 [inline] hsr_forward_skb+0x1d27/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f0c549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55065fc EFLAGS: 00000296 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000140 RDX: 0000000000000048 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:121 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memmove_metadata+0xe/0x10 mm/kmsan/kmsan.c:251 __msan_memmove+0x46/0x60 mm/kmsan/kmsan_instr.c:92 hsr_create_tagged_frame+0x855/0x11b0 net/hsr/hsr_forward.c:272 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104 kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2922 [inline] __kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609 kmalloc_reserve net/core/skbuff.c:353 [inline] __alloc_skb+0x4dd/0xe90 net/core/skbuff.c:424 __pskb_copy_fclone+0x188/0x1920 net/core/skbuff.c:1601 __pskb_copy include/linux/skbuff.h:1167 [inline] hsr_create_tagged_frame+0x4aa/0x11b0 net/hsr/hsr_forward.c:257 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c ===================================================== hsr_slave_1: hsr_addr_subst_dest: Unknown node ===================================================== BUG: KMSAN: uninit-value in eth_type_trans+0x3e8/0xc10 net/ethernet/eth.c:167 CPU: 1 PID: 20241 Comm: syz-executor.1 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 eth_type_trans+0x3e8/0xc10 net/ethernet/eth.c:167 __dev_forward_skb2+0x478/0xb90 net/core/dev.c:2242 __dev_forward_skb+0x70/0x80 net/core/dev.c:2251 veth_forward_skb drivers/net/veth.c:279 [inline] veth_xmit+0x4a6/0xd90 drivers/net/veth.c:309 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 hsr_xmit net/hsr/hsr_forward.c:339 [inline] hsr_forward_do net/hsr/hsr_forward.c:430 [inline] hsr_forward_skb+0x1f60/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f0c549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55065fc EFLAGS: 00000296 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000140 RDX: 0000000000000048 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:121 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memmove_metadata+0xe/0x10 mm/kmsan/kmsan.c:251 __msan_memmove+0x46/0x60 mm/kmsan/kmsan_instr.c:92 hsr_create_tagged_frame+0x855/0x11b0 net/hsr/hsr_forward.c:272 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104 kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2922 [inline] __kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609 kmalloc_reserve net/core/skbuff.c:353 [inline] __alloc_skb+0x4dd/0xe90 net/core/skbuff.c:424 __pskb_copy_fclone+0x188/0x1920 net/core/skbuff.c:1601 __pskb_copy include/linux/skbuff.h:1167 [inline] hsr_create_tagged_frame+0x4aa/0x11b0 net/hsr/hsr_forward.c:257 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c ===================================================== ===================================================== BUG: KMSAN: uninit-value in eth_type_trans+0x99f/0xc10 net/ethernet/eth.c:169 CPU: 1 PID: 20241 Comm: syz-executor.1 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 eth_type_trans+0x99f/0xc10 net/ethernet/eth.c:169 __dev_forward_skb2+0x478/0xb90 net/core/dev.c:2242 __dev_forward_skb+0x70/0x80 net/core/dev.c:2251 veth_forward_skb drivers/net/veth.c:279 [inline] veth_xmit+0x4a6/0xd90 drivers/net/veth.c:309 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 hsr_xmit net/hsr/hsr_forward.c:339 [inline] hsr_forward_do net/hsr/hsr_forward.c:430 [inline] hsr_forward_skb+0x1f60/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f0c549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55065fc EFLAGS: 00000296 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000140 RDX: 0000000000000048 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:121 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memmove_metadata+0xe/0x10 mm/kmsan/kmsan.c:251 __msan_memmove+0x46/0x60 mm/kmsan/kmsan_instr.c:92 hsr_create_tagged_frame+0x855/0x11b0 net/hsr/hsr_forward.c:272 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104 kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2922 [inline] __kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609 kmalloc_reserve net/core/skbuff.c:353 [inline] __alloc_skb+0x4dd/0xe90 net/core/skbuff.c:424 __pskb_copy_fclone+0x188/0x1920 net/core/skbuff.c:1601 __pskb_copy include/linux/skbuff.h:1167 [inline] hsr_create_tagged_frame+0x4aa/0x11b0 net/hsr/hsr_forward.c:257 hsr_forward_do net/hsr/hsr_forward.c:417 [inline] hsr_forward_skb+0x16e5/0x27f0 net/hsr/hsr_forward.c:568 hsr_dev_xmit+0x133/0x230 net/hsr/hsr_device.c:220 __netdev_start_xmit include/linux/netdevice.h:4825 [inline] netdev_start_xmit include/linux/netdevice.h:4839 [inline] xmit_one+0x2b6/0x760 net/core/dev.c:3605 dev_hard_start_xmit net/core/dev.c:3621 [inline] __dev_queue_xmit+0x3432/0x4600 net/core/dev.c:4194 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4227 __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1461/0x16b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2448 [inline] bpf_clone_redirect+0x4a1/0x660 net/core/filter.c:2420 ___bpf_prog_run+0x2b78/0xb950 kernel/bpf/core.c:1525 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1750 bpf_test_run+0x53f/0xe60 include/linux/filter.h:770 bpf_prog_test_run_skb+0x1914/0x3500 net/bpf/test_run.c:582 bpf_prog_test_run kernel/bpf/syscall.c:3132 [inline] __do_sys_bpf+0xbe6f/0x1aba0 kernel/bpf/syscall.c:4411 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4351 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4351 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x6a/0xc0 arch/x86/entry/common.c:167 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:210 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c =====================================================