================================================================== BUG: KMSAN: uninit-value in alloc_vmap_area+0xe12/0x15f0 mm/vmalloc.c:488 CPU: 0 PID: 20978 Comm: syz-executor0 Not tainted 5.0.0-rc1+ #7 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 alloc_vmap_area+0xe12/0x15f0 mm/vmalloc.c:488 __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 module_alloc+0x12f/0x160 arch/x86/kernel/module.c:87 bpf_jit_alloc_exec+0x42/0x50 bpf_jit_binary_alloc+0x19e/0x4a0 kernel/bpf/core.c:770 bpf_int_jit_compile+0x71bf/0x8650 arch/x86/net/bpf_jit_comp.c:1152 bpf_prog_select_runtime+0xb99/0xec0 kernel/bpf/core.c:1734 bpf_migrate_filter net/core/filter.c:1275 [inline] bpf_prepare_filter+0x1828/0x1c90 net/core/filter.c:1323 bpf_prog_create_from_user+0x68f/0x820 net/core/filter.c:1417 fanout_set_data_cbpf net/packet/af_packet.c:1546 [inline] fanout_set_data net/packet/af_packet.c:1580 [inline] packet_setsockopt+0x3566/0x5e70 net/packet/af_packet.c:3813 __sys_setsockopt+0x493/0x540 net/socket.c:1902 __do_sys_setsockopt net/socket.c:1913 [inline] __se_sys_setsockopt+0xdd/0x100 net/socket.c:1910 __x64_sys_setsockopt+0x62/0x80 net/socket.c:1910 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x457ec9 Code: 6d b7 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f2b39e2cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000457ec9 RDX: 0000000000000016 RSI: 0000000000000107 RDI: 0000000000000005 RBP: 000000000073bf00 R08: 0000000000000010 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 00007f2b39e2d6d4 R13: 00000000004c5eaf R14: 00000000004dac40 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+0x7b/0x1b0 mm/kmsan/kmsan_hooks.c:251 __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/ipv4/netfilter/ip_tables.c:825 [inline] get_entries net/ipv4/netfilter/ip_tables.c:1027 [inline] do_ipt_get_ctl+0x7da/0x1010 net/ipv4/netfilter/ip_tables.c:1703 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline] nf_getsockopt+0x481/0x4e0 net/netfilter/nf_sockopt.c:122 ip_getsockopt+0x2b1/0x470 net/ipv4/ip_sockglue.c:1576 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 ==================================================================