================================================================== BUG: KMSAN: uninit-value in rcu_segcblist_pend_cbs+0xa9/0xf0 kernel/rcu/rcu_segcblist.c:104 CPU: 1 PID: 9 Comm: rcu_sched Not tainted 4.17.0-rc5+ #101 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+0x149/0x260 mm/kmsan/kmsan.c:1084 __msan_warning_32+0x6e/0xc0 mm/kmsan/kmsan_instr.c:686 rcu_segcblist_pend_cbs+0xa9/0xf0 kernel/rcu/rcu_segcblist.c:104 rcu_advance_cbs kernel/rcu/tree.c:1850 [inline] __note_gp_changes+0x1be/0x950 kernel/rcu/tree.c:1887 rcu_gp_cleanup kernel/rcu/tree.c:2148 [inline] rcu_gp_kthread+0x2fa9/0x38d0 kernel/rcu/tree.c:2280 kthread+0x4e3/0x6d0 kernel/kthread.c:241 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:412 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:529 rcu_segcblist_enqueue+0x275/0x2d0 kernel/rcu/rcu_segcblist.c:151 __call_rcu+0x227/0xef0 kernel/rcu/tree.c:3057 kfree_call_rcu+0x35/0x40 kernel/rcu/tree.c:3139 sock_destroy_inode+0x71/0xd0 net/socket.c:272 destroy_inode fs/inode.c:266 [inline] evict+0xc7b/0xda0 fs/inode.c:574 iput_final fs/inode.c:1519 [inline] iput+0xa9a/0xe30 fs/inode.c:1545 dentry_unlink_inode+0x84b/0x8a0 fs/dcache.c:376 __dentry_kill+0x86e/0xd20 fs/dcache.c:568 dentry_kill+0x1a9/0xc70 fs/dcache.c:674 dput+0x277/0x560 fs/dcache.c:850 __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 __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+0x154/0x220 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:279 [inline] kmsan_alloc_meta_for_pages+0x161/0x3a0 mm/kmsan/kmsan.c:815 kmsan_alloc_page+0x82/0xe0 mm/kmsan/kmsan.c:885 __alloc_pages_nodemask+0xf8e/0x5dd0 mm/page_alloc.c:4402 alloc_pages_current+0x6b5/0x970 mm/mempolicy.c:2093 alloc_pages include/linux/gfp.h:494 [inline] alloc_slab_page mm/slub.c:1467 [inline] allocate_slab mm/slub.c:1612 [inline] new_slab+0x349/0x1b60 mm/slub.c:1683 new_slab_objects mm/slub.c:2464 [inline] ___slab_alloc+0x1512/0x1f60 mm/slub.c:2616 __slab_alloc mm/slub.c:2656 [inline] slab_alloc_node mm/slub.c:2719 [inline] slab_alloc mm/slub.c:2761 [inline] kmem_cache_alloc+0x648/0xb90 mm/slub.c:2766 sock_alloc_inode+0x5f/0x2b0 net/socket.c:243 alloc_inode fs/inode.c:209 [inline] new_inode_pseudo+0x8a/0x430 fs/inode.c:894 sock_alloc net/socket.c:564 [inline] __sock_create+0x392/0xf60 net/socket.c:1249 sock_create net/socket.c:1325 [inline] __sys_socket+0x179/0x640 net/socket.c:1355 __do_sys_socket net/socket.c:1364 [inline] __se_sys_socket net/socket.c:1362 [inline] __x64_sys_socket+0xd8/0x120 net/socket.c:1362 do_syscall_64+0x154/0x220 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 ==================================================================