RDX: 0000000000000001 RSI: 0000000000000117 RDI: 0000000000000003 RBP: 00007ffde5aee620 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020052000 R11: 0000000000000246 R12: ffffffffffffffff R13: 0000000000000004 R14: 0000000000000000 R15: 0000000000000000 ================================================================== BUG: KMSAN: uninit-value in slab_alloc_node mm/slub.c:2722 [inline] BUG: KMSAN: uninit-value in __kmalloc_node+0x801/0x1190 mm/slub.c:3832 CPU: 1 PID: 4510 Comm: syzkaller711812 Not tainted 4.16.0+ #86 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x185/0x1d0 lib/dump_stack.c:53 kmsan_report+0x142/0x240 mm/kmsan/kmsan.c:1067 __msan_warning_32+0x6c/0xb0 mm/kmsan/kmsan_instr.c:683 slab_alloc_node mm/slub.c:2722 [inline] __kmalloc_node+0x801/0x1190 mm/slub.c:3832 kmalloc_node include/linux/slab.h:554 [inline] kzalloc_node include/linux/slab.h:712 [inline] __get_vm_area_node+0x28e/0x810 mm/vmalloc.c:1402 __vmalloc_node_range+0x2ad/0x1140 mm/vmalloc.c:1754 __vmalloc_node mm/vmalloc.c:1804 [inline] __vmalloc_node_flags mm/vmalloc.c:1818 [inline] vzalloc+0xb2/0xc0 mm/vmalloc.c:1857 alloc_counters+0x99/0x920 net/ipv6/netfilter/ip6_tables.c:830 copy_entries_to_user net/ipv4/netfilter/arp_tables.c:686 [inline] get_entries net/ipv4/netfilter/arp_tables.c:871 [inline] do_arpt_get_ctl+0x7da/0xe60 net/ipv4/netfilter/arp_tables.c:1489 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline] nf_getsockopt+0x47b/0x4e0 net/netfilter/nf_sockopt.c:122 ip_getsockopt+0x284/0x3c0 net/ipv4/ip_sockglue.c:1572 tcp_getsockopt+0x1c1/0x1f0 net/ipv4/tcp.c:3359 sock_common_getsockopt+0x13a/0x170 net/core/sock.c:2934 SYSC_getsockopt+0x49b/0x570 net/socket.c:1880 SyS_getsockopt+0x76/0xa0 net/socket.c:1862 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x4440da RSP: 002b:00007ffde5aedeb8 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004440da RDX: 0000000000000061 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007ffde5aedfc0 R08: 00007ffde5aedecc R09: 000000000122a880 R10: 00007ffde5aedfc0 R11: 0000000000000212 R12: 000000000000b0e1 R13: 00000000006ce448 R14: 0000000000000000 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:278 [inline] kmsan_internal_poison_shadow+0xb8/0x1b0 mm/kmsan/kmsan.c:188 kmsan_kmalloc+0x94/0x100 mm/kmsan/kmsan.c:314 __kmalloc+0x23c/0x350 mm/slub.c:3791 kmalloc include/linux/slab.h:517 [inline] sock_alloc_inode+0xb9/0x2b0 net/socket.c:247 alloc_inode fs/inode.c:209 [inline] new_inode_pseudo+0x8a/0x430 fs/inode.c:890 sock_alloc net/socket.c:565 [inline] __sock_create+0x392/0xf60 net/socket.c:1249 sock_create net/socket.c:1325 [inline] SYSC_socket+0x16e/0x620 net/socket.c:1355 SyS_socket+0x53/0x80 net/socket.c:1335 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 ==================================================================