===================================================== BUG: KMSAN: uninit-value in virtio_net_hdr_to_skb+0x1414/0x14f0 include/linux/virtio_net.h:86 CPU: 1 PID: 15491 Comm: syz-executor.4 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:121 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 virtio_net_hdr_to_skb+0x1414/0x14f0 include/linux/virtio_net.h:86 packet_snd net/packet/af_packet.c:2994 [inline] packet_sendmsg+0x85b8/0x99d0 net/packet/af_packet.c:3031 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] sock_write_iter+0x585/0x680 net/socket.c:1001 call_write_iter include/linux/fs.h:1977 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x1083/0x1b00 fs/read_write.c:605 ksys_write+0x275/0x500 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write+0x92/0xb0 fs/read_write.c:667 __ia32_sys_write+0x4a/0x70 fs/read_write.c:667 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+0x77/0xd0 arch/x86/entry/common.c:168 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:211 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f4d549 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:00000000f55475fc EFLAGS: 00000296 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000300 RDX: 0000000000000139 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags+0x3c/0x90 mm/kmsan/kmsan.c:120 kmsan_alloc_page+0xd0/0x1e0 mm/kmsan/kmsan_shadow.c:273 __alloc_pages_nodemask+0x827/0xf90 mm/page_alloc.c:5044 alloc_pages_current+0x7b6/0xb60 mm/mempolicy.c:2277 alloc_pages include/linux/gfp.h:561 [inline] __vmalloc_area_node mm/vmalloc.c:2524 [inline] __vmalloc_node_range+0x987/0x1310 mm/vmalloc.c:2590 __vmalloc_node mm/vmalloc.c:2633 [inline] vmalloc+0xe0/0xf0 mm/vmalloc.c:2666 ebt_register_table+0x474/0x2000 net/bridge/netfilter/ebtables.c:1163 broute_net_init+0x71/0x80 net/bridge/netfilter/ebtable_broute.c:104 ops_init+0x595/0x7e0 net/core/net_namespace.c:140 setup_net+0x3ea/0x1560 net/core/net_namespace.c:333 copy_net_ns+0x84c/0xc80 net/core/net_namespace.c:474 create_new_namespaces+0x8c0/0x1270 kernel/nsproxy.c:110 copy_namespaces+0x3cf/0x4f0 kernel/nsproxy.c:178 copy_process+0x40b3/0x9b80 kernel/fork.c:2118 kernel_clone+0x4ea/0x1350 kernel/fork.c:2502 __do_compat_sys_ia32_clone arch/x86/kernel/sys_ia32.c:254 [inline] __se_compat_sys_ia32_clone+0x222/0x350 arch/x86/kernel/sys_ia32.c:240 __ia32_compat_sys_ia32_clone+0x5d/0x80 arch/x86/kernel/sys_ia32.c:240 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+0x77/0xd0 arch/x86/entry/common.c:168 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:211 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c =====================================================