================================================================== BUG: KMSAN: uninit-value in rcu_cblist_dequeue+0x1bb/0x290 kernel/rcu/rcu_segcblist.c:54 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.16.0+ #84 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:676 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:native_safe_halt arch/x86/include/asm/irqflags.h:55 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:97 [inline] RIP: 0010:default_idle+0x1fb/0x3c0 arch/x86/kernel/process.c:354 RSP: 0018:ffffffff87c0fd88 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff12 RAX: ffff880203eb5440 RBX: 0000000000000000 RCX: ffff880000000000 RDX: ffff880203ab5440 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000 RBP: ffffffff87c0fdc0 R08: 0000000001080020 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff87c1eb00 R14: ffffffff87c0fe24 R15: ffffffff87c1f418 arch_cpu_idle+0x20/0x30 arch/x86/kernel/process.c:345 default_idle_call kernel/sched/idle.c:98 [inline] cpuidle_idle_call kernel/sched/idle.c:156 [inline] do_idle+0x349/0x790 kernel/sched/idle.c:246 cpu_startup_entry+0x45/0x50 kernel/sched/idle.c:351 rest_init+0x1c1/0x1f0 init/main.c:438 start_kernel+0xf93/0xfb0 init/main.c:719 x86_64_start_reservations arch/x86/kernel/head64.c:378 [inline] x86_64_start_kernel+0x2fa/0x310 arch/x86/kernel/head64.c:359 secondary_startup_64+0xa5/0xb0 arch/x86/kernel/head_64.S:239 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:521 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:521 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 destroy_inode fs/inode.c:268 [inline] evict+0xd4b/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 d_delete+0x1d5/0x580 fs/dcache.c:2398 devpts_pty_kill+0xf9/0x170 fs/devpts/inode.c:619 pty_close+0x721/0x780 drivers/tty/pty.c:74 tty_release+0xdf2/0x2350 drivers/tty/tty_io.c:1656 __fput+0x49e/0xa10 fs/file_table.c:209 ____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_name+0x113/0x5f0 fs/dcache.c:1742 devpts_pty_new+0x4bf/0x9b0 fs/devpts/inode.c:581 ptmx_open+0x4ba/0x7a0 drivers/tty/pty.c:850 chrdev_open+0xc20/0xd90 fs/char_dev.c:417 do_dentry_open+0xcc6/0x1430 fs/open.c:752 vfs_open+0x1b7/0x2e0 fs/open.c:866 do_last fs/namei.c:3379 [inline] path_openat+0x460a/0x6520 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 ==================================================================