===================================================== BUG: KMSAN: uninit-value in __netif_receive_skb_core+0x36b1/0x5890 net/core/dev.c:5197 CPU: 1 PID: 17936 Comm: syz-executor.3 Not tainted 5.8.0-rc5-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:121 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 __netif_receive_skb_core+0x36b1/0x5890 net/core/dev.c:5197 __netif_receive_skb_one_core net/core/dev.c:5279 [inline] __netif_receive_skb net/core/dev.c:5395 [inline] process_backlog+0x605/0x14e0 net/core/dev.c:6239 napi_poll net/core/dev.c:6684 [inline] net_rx_action+0x746/0x1aa0 net/core/dev.c:6752 __do_softirq+0x311/0x83d kernel/softirq.c:293 asm_call_on_stack+0x12/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:23 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:50 [inline] do_softirq_own_stack+0x7c/0xa0 arch/x86/kernel/irq_64.c:77 do_softirq kernel/softirq.c:338 [inline] __local_bh_enable_ip+0x184/0x1d0 kernel/softirq.c:190 local_bh_enable+0x36/0x40 include/linux/bottom_half.h:32 rcu_read_unlock_bh include/linux/rcupdate.h:723 [inline] __dev_queue_xmit+0x338e/0x3b20 net/core/dev.c:4158 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4164 packet_snd net/packet/af_packet.c:2979 [inline] packet_sendmsg+0x763f/0x87a0 net/packet/af_packet.c:3004 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] kernel_sendmsg+0x433/0x440 net/socket.c:692 sock_no_sendpage+0x235/0x300 net/core/sock.c:2853 kernel_sendpage net/socket.c:3642 [inline] sock_sendpage+0x1e1/0x2c0 net/socket.c:945 pipe_to_sendpage+0x38c/0x4c0 fs/splice.c:448 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x565/0xf00 fs/splice.c:626 splice_from_pipe fs/splice.c:661 [inline] generic_splice_sendpage+0x1d5/0x2d0 fs/splice.c:834 do_splice_from fs/splice.c:846 [inline] do_splice+0x2249/0x30a0 fs/splice.c:1144 __do_sys_splice fs/splice.c:1419 [inline] __se_sys_splice+0x271/0x420 fs/splice.c:1401 __x64_sys_splice+0x6e/0x90 fs/splice.c:1401 do_syscall_64+0xb0/0x150 arch/x86/entry/common.c:386 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c369 Code: Bad RIP value. RSP: 002b:00007f19ed83bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000032240 RCX: 000000000045c369 RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000078bff8 R08: 0000000080000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bfac R13: 0000000000c9fb6f R14: 00007f19ed83c9c0 R15: 000000000078bfac 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 vlan_set_encap_proto include/linux/if_vlan.h:656 [inline] skb_vlan_untag+0x9a2/0xdb0 net/core/skbuff.c:5431 __netif_receive_skb_core+0x3866/0x5890 net/core/dev.c:5204 __netif_receive_skb_one_core net/core/dev.c:5279 [inline] __netif_receive_skb net/core/dev.c:5395 [inline] process_backlog+0x605/0x14e0 net/core/dev.c:6239 napi_poll net/core/dev.c:6684 [inline] net_rx_action+0x746/0x1aa0 net/core/dev.c:6752 __do_softirq+0x311/0x83d kernel/softirq.c:293 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:2839 [inline] __kmalloc_node_track_caller+0xb40/0x1200 mm/slub.c:4478 __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:5770 sock_alloc_send_pskb+0xada/0xc60 net/core/sock.c:2356 packet_alloc_skb net/packet/af_packet.c:2827 [inline] packet_snd net/packet/af_packet.c:2922 [inline] packet_sendmsg+0x5f04/0x87a0 net/packet/af_packet.c:3004 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] kernel_sendmsg+0x433/0x440 net/socket.c:692 sock_no_sendpage+0x235/0x300 net/core/sock.c:2853 kernel_sendpage net/socket.c:3642 [inline] sock_sendpage+0x1e1/0x2c0 net/socket.c:945 pipe_to_sendpage+0x38c/0x4c0 fs/splice.c:448 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x565/0xf00 fs/splice.c:626 splice_from_pipe fs/splice.c:661 [inline] generic_splice_sendpage+0x1d5/0x2d0 fs/splice.c:834 do_splice_from fs/splice.c:846 [inline] do_splice+0x2249/0x30a0 fs/splice.c:1144 __do_sys_splice fs/splice.c:1419 [inline] __se_sys_splice+0x271/0x420 fs/splice.c:1401 __x64_sys_splice+0x6e/0x90 fs/splice.c:1401 do_syscall_64+0xb0/0x150 arch/x86/entry/common.c:386 entry_SYSCALL_64_after_hwframe+0x44/0xa9 =====================================================