================================================================== BUG: KMSAN: uninit-value in batadv_interface_tx+0x912/0x1e40 net/batman-adv/soft-interface.c:250 CPU: 1 PID: 22286 Comm: syz-executor.1 Not tainted 5.0.0-rc1+ #9 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+0x173/0x1d0 lib/dump_stack.c:113 kmsan_report+0x12e/0x2a0 mm/kmsan/kmsan.c:600 __msan_warning+0x82/0xf0 mm/kmsan/kmsan_instr.c:313 batadv_interface_tx+0x912/0x1e40 net/batman-adv/soft-interface.c:250 __netdev_start_xmit include/linux/netdevice.h:4382 [inline] netdev_start_xmit include/linux/netdevice.h:4391 [inline] dev_direct_xmit+0x8a3/0xbb0 net/core/dev.c:3930 packet_direct_xmit+0x256/0x3e0 net/packet/af_packet.c:246 packet_snd net/packet/af_packet.c:2932 [inline] packet_sendmsg+0x79bb/0x9760 net/packet/af_packet.c:2957 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg net/socket.c:631 [inline] sock_write_iter+0x3f4/0x4d0 net/socket.c:900 call_write_iter include/linux/fs.h:1862 [inline] aio_write+0x7cd/0xa60 fs/aio.c:1581 __io_submit_one fs/aio.c:1860 [inline] io_submit_one+0x17de/0x3f90 fs/aio.c:1908 __do_sys_io_submit fs/aio.c:1953 [inline] __se_sys_io_submit+0x2aa/0x660 fs/aio.c:1923 __x64_sys_io_submit+0x4a/0x70 fs/aio.c:1923 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x457e29 Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f234723ec78 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457e29 RDX: 0000000020000080 RSI: 0000000000000001 RDI: 00007f234721e000 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f234723f6d4 R13: 00000000004bf02f R14: 00000000004d09b0 R15: 00000000ffffffff Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:205 [inline] kmsan_internal_poison_shadow+0x92/0x150 mm/kmsan/kmsan.c:159 kmsan_kmalloc+0xa6/0x130 mm/kmsan/kmsan_hooks.c:176 kmem_cache_alloc_node_trace+0xb59/0xc70 mm/slub.c:2814 kmalloc_node include/linux/slab.h:583 [inline] alloc_vmap_area+0x210/0x15f0 mm/vmalloc.c:420 __get_vm_area_node+0x3e6/0x7f0 mm/vmalloc.c:1397 get_vm_area+0xbf/0xd0 mm/vmalloc.c:1435 kmsan_vmalloc_area_node+0x6d/0x1b0 mm/kmsan/kmsan_hooks.c:250 __vmalloc_area_node mm/vmalloc.c:1709 [inline] __vmalloc_node_range+0xc14/0x13a0 mm/vmalloc.c:1756 __vmalloc_node mm/vmalloc.c:1801 [inline] __vmalloc_node_flags mm/vmalloc.c:1815 [inline] vzalloc+0xd8/0xf0 mm/vmalloc.c:1854 alloc_counters+0x99/0x8d0 net/ipv6/netfilter/ip6_tables.c:819 copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:841 [inline] get_entries net/ipv6/netfilter/ip6_tables.c:1044 [inline] do_ip6t_get_ctl+0x7da/0x1030 net/ipv6/netfilter/ip6_tables.c:1712 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline] nf_getsockopt+0x481/0x4e0 net/netfilter/nf_sockopt.c:122 ipv6_getsockopt+0x279/0x510 net/ipv6/ipv6_sockglue.c:1392 tcp_getsockopt+0x1c6/0x1f0 net/ipv4/tcp.c:3591 sock_common_getsockopt+0x13f/0x180 net/core/sock.c:2950 __sys_getsockopt+0x489/0x550 net/socket.c:1939 __do_sys_getsockopt net/socket.c:1950 [inline] __se_sys_getsockopt+0xe1/0x100 net/socket.c:1947 __x64_sys_getsockopt+0x62/0x80 net/socket.c:1947 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 ==================================================================