===================================================== BUG: KMSAN: uninit-value in eth_type_trans+0x840/0xa90 net/ethernet/eth.c:169 CPU: 0 PID: 8763 Comm: syz-executor.2 Not tainted 5.10.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+0x1df/0x240 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197 eth_type_trans+0x840/0xa90 net/ethernet/eth.c:169 ip_tunnel_rcv+0x2932/0x2ff0 net/ipv4/ip_tunnel.c:408 erspan_rcv net/ipv4/ip_gre.c:339 [inline] gre_rcv+0x1803/0x1bd0 net/ipv4/ip_gre.c:437 gre_rcv+0x2f1/0x3f0 net/ipv4/gre_demux.c:165 ip_protocol_deliver_rcu+0x6e6/0xba0 net/ipv4/ip_input.c:204 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ip_local_deliver+0x645/0x7f0 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:449 [inline] ip_rcv_finish net/ipv4/ip_input.c:428 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ip_rcv+0x71b/0x790 net/ipv4/ip_input.c:539 __netif_receive_skb_one_core net/core/dev.c:5315 [inline] __netif_receive_skb net/core/dev.c:5429 [inline] process_backlog+0xfcc/0x1530 net/core/dev.c:6319 napi_poll net/core/dev.c:6763 [inline] net_rx_action+0x791/0x1b40 net/core/dev.c:6833 __do_softirq+0x261/0x74a kernel/softirq.c:298 asm_call_irq_on_stack+0x12/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x6e/0x90 arch/x86/kernel/irq_64.c:77 do_softirq kernel/softirq.c:343 [inline] __local_bh_enable_ip+0x184/0x1d0 kernel/softirq.c:195 local_bh_enable+0x36/0x40 include/linux/bottom_half.h:32 rcu_read_unlock_bh include/linux/rcupdate.h:730 [inline] ip_finish_output2+0x1fe8/0x24a0 net/ipv4/ip_output.c:231 __ip_finish_output+0x82b/0xd50 net/ipv4/ip_output.c:308 ip_finish_output+0x2c3/0x410 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip_output+0x5a4/0x690 net/ipv4/ip_output.c:432 dst_output include/net/dst.h:443 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0x1b8d/0x21d0 net/ipv4/ip_output.c:532 ip_queue_xmit+0xcc/0xf0 net/ipv4/ip_output.c:546 __tcp_transmit_skb+0x4807/0x6ab0 net/ipv4/tcp_output.c:1404 tcp_transmit_skb net/ipv4/tcp_output.c:1422 [inline] tcp_connect+0x3f49/0x6940 net/ipv4/tcp_output.c:3849 tcp_v6_connect+0x25f7/0x2790 net/ipv6/tcp_ipv6.c:334 __inet_stream_connect+0x2f5/0x1300 net/ipv4/af_inet.c:661 inet_stream_connect+0x101/0x180 net/ipv4/af_inet.c:725 __sys_connect_file net/socket.c:1852 [inline] __sys_connect+0x6ee/0x760 net/socket.c:1869 __do_sys_connect net/socket.c:1879 [inline] __se_sys_connect+0x8d/0xb0 net/socket.c:1876 __x64_sys_connect+0x4a/0x70 net/socket.c:1876 do_syscall_64+0xa2/0x120 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45a999 Code: 2d b6 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 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f93e3a73c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a999 RDX: 000000000000001c RSI: 0000000020000140 RDI: 0000000000000004 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f93e3a746d4 R13: 00000000004c112b R14: 00000000004d4f18 R15: 00000000ffffffff 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+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2906 [inline] __kmalloc_node_track_caller+0x9e8/0x1740 mm/slub.c:4512 __kmalloc_reserve net/core/skbuff.c:142 [inline] __alloc_skb+0x2d8/0xa90 net/core/skbuff.c:210 alloc_skb_fclone include/linux/skbuff.h:1144 [inline] sk_stream_alloc_skb+0x3ee/0x1180 net/ipv4/tcp.c:888 tcp_connect+0x2571/0x6940 net/ipv4/tcp_output.c:3836 tcp_v6_connect+0x25f7/0x2790 net/ipv6/tcp_ipv6.c:334 __inet_stream_connect+0x2f5/0x1300 net/ipv4/af_inet.c:661 inet_stream_connect+0x101/0x180 net/ipv4/af_inet.c:725 __sys_connect_file net/socket.c:1852 [inline] __sys_connect+0x6ee/0x760 net/socket.c:1869 __do_sys_connect net/socket.c:1879 [inline] __se_sys_connect+0x8d/0xb0 net/socket.c:1876 __x64_sys_connect+0x4a/0x70 net/socket.c:1876 do_syscall_64+0xa2/0x120 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xa9 =====================================================