IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 ip (4550) used greatest stack depth: 54536 bytes left ================================================================== BUG: KMSAN: uninit-value in __list_add_valid+0x1b8/0x450 lib/list_debug.c:23 CPU: 1 PID: 4626 Comm: ip Not tainted 4.17.0+ #5 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:1117 __msan_warning_32+0x70/0xc0 mm/kmsan/kmsan_instr.c:620 __list_add_valid+0x1b8/0x450 lib/list_debug.c:23 __list_add include/linux/list.h:60 [inline] list_add include/linux/list.h:79 [inline] account_entity_enqueue kernel/sched/fair.c:2652 [inline] enqueue_entity kernel/sched/fair.c:4176 [inline] enqueue_task_fair+0xe12/0x4490 kernel/sched/fair.c:5359 enqueue_task kernel/sched/core.c:751 [inline] activate_task kernel/sched/core.c:770 [inline] ttwu_activate kernel/sched/core.c:1658 [inline] ttwu_do_activate kernel/sched/core.c:1717 [inline] ttwu_queue kernel/sched/core.c:1862 [inline] try_to_wake_up+0x162f/0x2260 kernel/sched/core.c:2075 wake_up_process+0x34/0x40 kernel/sched/core.c:2148 process_timeout+0x59/0x70 kernel/time/timer.c:1730 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:365 [inline] irq_exit+0x202/0x240 kernel/softirq.c:405 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:863 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:kmsan_kmalloc+0xc6/0x100 mm/kmsan/kmsan.c:317 RSP: 0018:ffff88019ec4fc60 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000246 RBX: ffff8801d86adc00 RCX: 000000000000002b RDX: 000000000000002a RSI: ffffea000b128128 RDI: ffff8801d86adc00 RBP: ffff88019ec4fca0 R08: 00000000010000c0 R09: 0000000000000003 R10: 0000000000000002 R11: ffffffff81c9aa40 R12: ffff88021f00dc80 R13: ffff8801a7979d40 R14: 00000000000000a8 R15: 00000000014000c0 kmsan_slab_alloc+0x10/0x20 mm/kmsan/kmsan.c:322 slab_post_alloc_hook mm/slab.h:446 [inline] slab_alloc_node mm/slub.c:2753 [inline] slab_alloc mm/slub.c:2761 [inline] kmem_cache_alloc+0x68c/0xb70 mm/slub.c:2766 prepare_creds+0x65/0x5e0 kernel/cred.c:252 do_faccessat+0xed/0xbc0 fs/open.c:370 __do_sys_access fs/open.c:441 [inline] __se_sys_access fs/open.c:439 [inline] __x64_sys_access+0x9c/0xd0 fs/open.c:439 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f8f03a1a267 RSP: 002b:00007ffceff87f98 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00000000004032f9 RCX: 00007f8f03a1a267 RDX: 000000000000001d RSI: 0000000000000000 RDI: 00007f8f03a1e2e6 RBP: 00007f8f03c1d000 R08: 00007f8f03c25570 R09: 0000000000000000 R10: 000000006ffffeff R11: 0000000000000246 R12: 00007f8f03c251c8 R13: 00007f8f03c1d718 R14: 00000000000033ef R15: 00007f8f03c25570 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:279 [inline] kmsan_save_stack mm/kmsan/kmsan.c:294 [inline] kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:685 __msan_chain_origin+0x69/0xc0 mm/kmsan/kmsan_instr.c:464 __list_add include/linux/list.h:65 [inline] list_add include/linux/list.h:79 [inline] list_move include/linux/list.h:171 [inline] pick_next_task_fair+0x2474/0x2530 kernel/sched/fair.c:6968 pick_next_task+0x1ba/0x420 kernel/sched/core.c:3368 __schedule+0x20f/0x770 kernel/sched/core.c:3498 do_task_dead+0xc8/0xf0 kernel/sched/core.c:3541 do_exit+0x347e/0x3930 kernel/exit.c:924 do_group_exit+0x1a0/0x360 kernel/exit.c:970 __do_sys_exit_group+0x21/0x30 kernel/exit.c:981 __se_sys_exit_group+0x14/0x20 kernel/exit.c:979 __x64_sys_exit_group+0x4c/0x50 kernel/exit.c:979 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Local variable description: ----tlb.i@ldt_arch_exit_mmap Variable was created at: ldt_arch_exit_mmap+0x46/0x160 arch/x86/kernel/ldt.c:302 arch_exit_mmap arch/x86/include/asm/mmu_context.h:245 [inline] exit_mmap+0x410/0x980 mm/mmap.c:3094 ==================================================================