================================================================== BUG: KMSAN: uninit-value in rcu_cblist_dequeue+0x1bb/0x290 kernel/rcu/rcu_segcblist.c:54 CPU: 0 PID: 245 Comm: kworker/u4:5 Not tainted 4.16.0+ #87 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net 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 rcu_cblist_dequeue+0x1bb/0x290 kernel/rcu/rcu_segcblist.c:54 rcu_do_batch kernel/rcu/tree.c:2672 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2933 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2900 [inline] rcu_process_callbacks+0x17cf/0x2070 kernel/rcu/tree.c:2917 __do_softirq+0x56d/0x93d 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:541 smp_apic_timer_interrupt+0x64/0x90 arch/x86/kernel/apic/apic.c:1055 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:857 RIP: 0010:memset_erms+0xb/0x10 arch/x86/lib/memset_64.S:66 RSP: 0018:ffff8801d88df9a8 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff12 RAX: ffff8801d88efaff RBX: ffff8801d88dfa68 RCX: 0000000000000000 RDX: 0000000000000008 RSI: 00000000ffffffff RDI: ffff8801d88efa70 RBP: ffff8801d88dfa48 R08: 0000000001080020 R09: ffff8801d88efa68 R10: 0000000000000000 R11: 0000000000000004 R12: 0000000000000008 R13: ffffffff8aa84a10 R14: 0000000000000008 R15: ffff8801d8bd9d80 rcu_all_qs+0x32/0x1f0 kernel/rcu/tree.c:478 _cond_resched+0x3c/0xd0 kernel/sched/core.c:4935 inet_twsk_purge+0x187/0xc80 net/ipv4/inet_timewait_sock.c:265 dccp_v4_exit_batch+0x31/0x40 net/dccp/ipv4.c:1027 ops_exit_list net/core/net_namespace.c:145 [inline] cleanup_net+0xddc/0x18a0 net/core/net_namespace.c:517 process_one_work+0x12c6/0x1f60 kernel/workqueue.c:2113 worker_thread+0x113c/0x24f0 kernel/workqueue.c:2247 kthread+0x539/0x720 kernel/kthread.c:239 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:406 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:278 [inline] kmsan_save_stack mm/kmsan/kmsan.c:293 [inline] kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:684 __msan_chain_origin+0x69/0xc0 mm/kmsan/kmsan_instr.c:528 rcu_cblist_dequeue+0x1e0/0x290 kernel/rcu/rcu_segcblist.c:54 rcu_do_batch kernel/rcu/tree.c:2672 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2933 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2900 [inline] rcu_process_callbacks+0x17cf/0x2070 kernel/rcu/tree.c:2917 __do_softirq+0x56d/0x93d kernel/softirq.c:285 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:278 [inline] kmsan_save_stack mm/kmsan/kmsan.c:293 [inline] kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:684 __msan_chain_origin+0x69/0xc0 mm/kmsan/kmsan_instr.c:528 rcu_segcblist_enqueue+0x24c/0x2d0 kernel/rcu/rcu_segcblist.c:150 __call_rcu+0x227/0xef0 kernel/rcu/tree.c:3060 call_rcu_sched+0x32/0x40 kernel/rcu/tree.c:3100 proc_destroy_inode+0x4d/0x60 fs/proc/inode.c:85 destroy_inode fs/inode.c:266 [inline] evict+0xc7b/0xda0 fs/inode.c:570 iput_final fs/inode.c:1515 [inline] iput+0xb85/0xf10 fs/inode.c:1542 dentry_unlink_inode+0x84b/0x8a0 fs/dcache.c:371 __dentry_kill+0x86e/0xd20 fs/dcache.c:575 dentry_kill fs/dcache.c:616 [inline] dput+0x72e/0xce0 fs/dcache.c:831 __fput+0x933/0xa10 fs/file_table.c:227 ____fput+0x37/0x40 fs/file_table.c:243 task_work_run+0x243/0x2c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x10e1/0x38d0 kernel/exit.c:867 do_group_exit+0x1a0/0x360 kernel/exit.c:970 get_signal+0x1320/0x1f20 kernel/signal.c:2469 do_signal+0xb8/0x1c80 arch/x86/kernel/signal.c:809 exit_to_usermode_loop arch/x86/entry/common.c:162 [inline] prepare_exit_to_usermode+0x271/0x3a0 arch/x86/entry/common.c:196 syscall_return_slowpath+0xe9/0x700 arch/x86/entry/common.c:265 do_syscall_64+0x36d/0x430 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 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 kmem_cache_alloc+0xaab/0xb90 mm/slub.c:2756 __d_alloc+0x8b/0xc60 fs/dcache.c:1610 d_alloc fs/dcache.c:1688 [inline] d_alloc_parallel+0x1a5/0x22e0 fs/dcache.c:2473 lookup_open fs/namei.c:3113 [inline] do_last fs/namei.c:3291 [inline] path_openat+0x16ce/0x6610 fs/namei.c:3520 do_filp_open+0x261/0x640 fs/namei.c:3554 do_sys_open+0x624/0x960 fs/open.c:1059 SYSC_openat+0xc7/0xe0 fs/open.c:1086 SyS_openat+0x63/0x90 fs/open.c:1080 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 ==================================================================