================================================================== BUG: KMSAN: uninit-value in slab_alloc_node mm/slub.c:2705 [inline] BUG: KMSAN: uninit-value in __kmalloc_node+0xb2d/0x1220 mm/slub.c:3823 CPU: 1 PID: 4493 Comm: syz-executor2 Not tainted 4.18.0-rc8+ #33 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+0x17c/0x1c0 lib/dump_stack.c:113 kmsan_report+0x188/0x2a0 mm/kmsan/kmsan.c:982 __msan_warning+0x70/0xc0 mm/kmsan/kmsan_instr.c:645 slab_alloc_node mm/slub.c:2705 [inline] __kmalloc_node+0xb2d/0x1220 mm/slub.c:3823 kmalloc_node include/linux/slab.h:555 [inline] alloc_vmap_area+0x1e6/0x1530 mm/vmalloc.c:420 __get_vm_area_node+0x390/0x790 mm/vmalloc.c:1397 __vmalloc_node_range+0x32a/0x1140 mm/vmalloc.c:1749 __vmalloc_node mm/vmalloc.c:1799 [inline] __vmalloc_node_flags mm/vmalloc.c:1813 [inline] vzalloc+0xd8/0xf0 mm/vmalloc.c:1852 xt_counters_alloc+0xe6/0x110 net/netfilter/x_tables.c:1358 __do_replace+0x11a/0xff0 net/ipv6/netfilter/ip6_tables.c:1069 do_replace net/ipv6/netfilter/ip6_tables.c:1160 [inline] do_ip6t_set_ctl+0x73c/0x930 net/ipv6/netfilter/ip6_tables.c:1684 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x47c/0x4e0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x1e2/0x350 net/ipv6/ipv6_sockglue.c:939 tcp_setsockopt+0x1c0/0x1f0 net/ipv4/tcp.c:3065 sock_common_setsockopt+0x13b/0x170 net/core/sock.c:3040 __sys_setsockopt+0x496/0x540 net/socket.c:1912 __do_sys_setsockopt net/socket.c:1923 [inline] __se_sys_setsockopt net/socket.c:1920 [inline] __x64_sys_setsockopt+0x15c/0x1c0 net/socket.c:1920 do_syscall_64+0x15b/0x220 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x459b9a Code: 49 89 ca b8 37 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 da 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ba 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:0000000000a3f638 EFLAGS: 00000202 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000a3f660 RCX: 0000000000459b9a RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 0000000000707ca0 R08: 00000000000003b8 R09: 0000000000004000 R10: 0000000000705b40 R11: 0000000000000202 R12: 0000000000000003 R13: 0000000000000000 R14: 0000000000000029 R15: 0000000000705ae0 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:256 [inline] kmsan_internal_poison_shadow+0xb8/0x1b0 mm/kmsan/kmsan.c:181 kmsan_kmalloc+0x98/0x100 mm/kmsan/kmsan_hooks.c:91 __kmalloc+0x13a/0x350 mm/slub.c:3782 kmalloc include/linux/slab.h:518 [inline] tipc_topsrv_queue_evt+0x49f/0x970 net/tipc/topsrv.c:333 tipc_sub_send_event net/tipc/subscr.c:54 [inline] tipc_sub_timeout+0x28f/0x400 net/tipc/subscr.c:109 call_timer_fn+0x270/0x5c0 kernel/time/timer.c:1326 expire_timers kernel/time/timer.c:1363 [inline] __run_timers+0xd74/0x1170 kernel/time/timer.c:1666 run_timer_softirq+0x43/0x70 kernel/time/timer.c:1692 __do_softirq+0x582/0x969 kernel/softirq.c:292 ==================================================================