------------[ cut here ]------------ WARNING: CPU: 0 PID: 24345 at kernel/cgroup/cpuset.c:1488 update_cpumasks_hier+0x10ca/0x1210 kernel/cgroup/cpuset.c:1487 Modules linked in: CPU: 0 PID: 24345 Comm: syz-executor.5 Not tainted 5.17.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:update_cpumasks_hier+0x10ca/0x1210 kernel/cgroup/cpuset.c:1487 Code: 75 23 e8 09 9a 04 00 eb 05 e8 02 9a 04 00 49 bc 00 00 00 00 00 fc ff df 4c 8d ac 24 c0 00 00 00 e9 e0 fa ff ff e8 e6 99 04 00 <0f> 0b eb e0 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c e3 fe ff ff 4c RSP: 0018:ffffc90002b0f7e0 EFLAGS: 00010283 RAX: ffffffff81810daa RBX: 0000000000000002 RCX: 0000000000040000 RDX: ffffc90011161000 RSI: 000000000000f882 RDI: 000000000000f883 RBP: ffffc90002b0fa10 R08: ffffffff81810d79 R09: fffffbfff1ffbfc7 R10: fffffbfff1ffbfc7 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc90002b0f8a0 R14: ffff88814ab36800 R15: ffff88814ab36930 FS: 00007f4b1ff48700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7deb615998 CR3: 0000000079712000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: update_cpumask kernel/cgroup/cpuset.c:1616 [inline] cpuset_write_resmask+0x77b/0x9b0 kernel/cgroup/cpuset.c:2454 cgroup_file_write+0x2a4/0x780 kernel/cgroup/cgroup.c:3882 kernfs_fop_write_iter+0x3b6/0x510 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+0xb11/0xe90 fs/read_write.c:590 ksys_write+0x18f/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4b215d3059 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4b1ff48168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f4b216e5f60 RCX: 00007f4b215d3059 RDX: 0000000000000048 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f4b2162d08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd1b7c997f R14: 00007f4b1ff48300 R15: 0000000000022000