===================================================== BUG: KMSAN: uninit-value in mpol_rebind_policy mm/mempolicy.c:355 [inline] BUG: KMSAN: uninit-value in mpol_rebind_task+0x2ac/0x2c0 mm/mempolicy.c:371 mpol_rebind_policy mm/mempolicy.c:355 [inline] mpol_rebind_task+0x2ac/0x2c0 mm/mempolicy.c:371 cpuset_change_task_nodemask kernel/cgroup/cpuset.c:1740 [inline] cpuset_attach+0x78c/0x15f0 kernel/cgroup/cpuset.c:2308 cgroup_migrate_execute+0x1023/0x1d20 kernel/cgroup/cgroup.c:2516 cgroup_migrate kernel/cgroup/cgroup.c:2772 [inline] cgroup_attach_task+0x540/0x8b0 kernel/cgroup/cgroup.c:2805 __cgroup1_procs_write+0x5f2/0x7e0 kernel/cgroup/cgroup-v1.c:523 cgroup1_tasks_write+0x94/0xb0 kernel/cgroup/cgroup-v1.c:542 cgroup_file_write+0x4d0/0x9f0 kernel/cgroup/cgroup.c:3882 kernfs_fop_write_iter+0x66a/0x9f0 fs/kernfs/file.c:296 call_write_iter include/linux/fs.h:2074 [inline] new_sync_write fs/read_write.c:503 [inline] vfs_write+0x1318/0x2030 fs/read_write.c:590 ksys_write+0x28b/0x510 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0xdb/0x120 fs/read_write.c:652 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x44/0xae Uninit was created at: slab_post_alloc_hook mm/slab.h:737 [inline] slab_alloc_node mm/slub.c:3244 [inline] slab_alloc mm/slub.c:3252 [inline] kmem_cache_alloc+0x8d9/0x11a0 mm/slub.c:3257 mpol_new mm/mempolicy.c:295 [inline] do_set_mempolicy+0x42d/0xb70 mm/mempolicy.c:857 kernel_set_mempolicy mm/mempolicy.c:1579 [inline] __do_sys_set_mempolicy mm/mempolicy.c:1585 [inline] __se_sys_set_mempolicy+0x44c/0xb60 mm/mempolicy.c:1582 __x64_sys_set_mempolicy+0xd8/0x110 mm/mempolicy.c:1582 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x44/0xae CPU: 1 PID: 19701 Comm: syz-executor.4 Not tainted 5.17.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 =====================================================