================================================================== BUG: KMSAN: uninit-value in ip_vs_lblc_check_expire+0xe62/0xf10 net/netfilter/ipvs/ip_vs_lblc.c:315 CPU: 1 PID: 15113 Comm: syz-executor1 Not tainted 4.17.0+ #21 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+0x185/0x1d0 lib/dump_stack.c:113 kmsan_report+0x188/0x2a0 mm/kmsan/kmsan.c:1437 __msan_warning_32+0x70/0xc0 mm/kmsan/kmsan_instr.c:640 ip_vs_lblc_check_expire+0xe62/0xf10 net/netfilter/ipvs/ip_vs_lblc.c:315 call_timer_fn+0x280/0x5d0 kernel/time/timer.c:1326 expire_timers kernel/time/timer.c:1363 [inline] __run_timers+0xd96/0x11b0 kernel/time/timer.c:1666 run_timer_softirq+0x43/0x70 kernel/time/timer.c:1692 __do_softirq+0x592/0x979 kernel/softirq.c:285 invoke_softirq kernel/softirq.c:366 [inline] irq_exit+0x207/0x240 kernel/softirq.c:407 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:525 smp_apic_timer_interrupt+0x64/0x90 arch/x86/kernel/apic/apic.c:1055 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:868 RIP: 0010:native_restore_fl arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:78 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x5a/0x80 kernel/locking/spinlock.c:184 RSP: 0018:ffff88010c21f5c0 EFLAGS: 00000292 ORIG_RAX: ffffffffffffff13 RAX: ffff8801fcdf80b8 RBX: ffffffff8b5f80b8 RCX: ffff8801fc9f80b8 RDX: ffff8801fc9f80b8 RSI: aaaaaaaaaaaab000 RDI: ffffea0000443d00 RBP: ffff88010c21f5f8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000088 R12: 0000000000000000 R13: ffff8801fcdf80b8 R14: 0000000000000000 R15: 0000000000000292 spin_unlock_irqrestore include/linux/spinlock.h:365 [inline] pcpu_alloc+0xe7a/0x2040 mm/percpu.c:1453 __alloc_percpu+0x7a/0x90 mm/percpu.c:1548 alloc_vfsmnt+0x3ce/0xcf0 fs/namespace.c:220 clone_mnt+0xce/0x1d90 fs/namespace.c:1077 copy_tree+0x91f/0x1dc0 fs/namespace.c:1806 propagate_one+0x87c/0xee0 fs/pnode.c:265 propagate_mnt+0x3bb/0x12d0 fs/pnode.c:315 attach_recursive_mnt+0xb67/0x3c70 fs/namespace.c:2033 graft_tree fs/namespace.c:2133 [inline] do_loopback fs/namespace.c:2254 [inline] do_mount+0x3e4a/0x4ed0 fs/namespace.c:2842 ksys_mount+0x32e/0x3d0 fs/namespace.c:3064 __do_sys_mount fs/namespace.c:3078 [inline] __se_sys_mount fs/namespace.c:3075 [inline] __x64_sys_mount+0x157/0x1c0 fs/namespace.c:3075 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x455ba9 RSP: 002b:00007f78ff64dc68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f78ff64e6d4 RCX: 0000000000455ba9 RDX: 0000000020753000 RSI: 0000000020187ff8 RDI: 0000000020377ff8 RBP: 000000000072bea0 R08: 00000000200e7000 R09: 0000000000000000 R10: 0000000000005010 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004c2128 R14: 00000000004cfa38 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:313 [inline] kmsan_internal_alloc_meta_for_pages+0x146/0x700 mm/kmsan/kmsan.c:842 kmsan_alloc_page+0x75/0xd0 mm/kmsan/kmsan.c:1140 __alloc_pages_nodemask+0xf7b/0x5cc0 mm/page_alloc.c:4404 alloc_pages_current+0x6b1/0x970 mm/mempolicy.c:2093 alloc_pages include/linux/gfp.h:494 [inline] kmalloc_order mm/slab_common.c:1148 [inline] kmalloc_order_trace+0xbb/0x390 mm/slab_common.c:1159 kmalloc_large include/linux/slab.h:446 [inline] __kmalloc+0x335/0x350 mm/slub.c:3805 kmalloc include/linux/slab.h:517 [inline] ip_vs_lblc_init_svc+0x57/0x310 net/netfilter/ipvs/ip_vs_lblc.c:355 ip_vs_bind_scheduler+0xa9/0x1f0 net/netfilter/ipvs/ip_vs_sched.c:51 ip_vs_add_service+0xa9d/0x1d90 net/netfilter/ipvs/ip_vs_ctl.c:1265 do_ip_vs_set_ctl+0x2aa9/0x2cd0 net/netfilter/ipvs/ip_vs_ctl.c:2462 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x47c/0x4e0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x24b/0x2b0 net/ipv4/ip_sockglue.c:1251 udp_setsockopt+0x108/0x1b0 net/ipv4/udp.c:2416 ipv6_setsockopt+0x311/0x350 net/ipv6/ipv6_sockglue.c:917 tcp_setsockopt+0x1c0/0x1f0 net/ipv4/tcp.c:2891 sock_common_setsockopt+0x13b/0x170 net/core/sock.c:3039 __sys_setsockopt+0x496/0x540 net/socket.c:1903 __do_sys_setsockopt net/socket.c:1914 [inline] __se_sys_setsockopt net/socket.c:1911 [inline] __x64_sys_setsockopt+0x15c/0x1c0 net/socket.c:1911 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x63/0xe7 ==================================================================