------------[ cut here ]------------ WARNING: CPU: 0 PID: 2759 at kernel/cgroup/cpuset.c:1487 update_cpumasks_hier+0xa09/0x1480 kernel/cgroup/cpuset.c:1487 Modules linked in: CPU: 0 PID: 2759 Comm: syz-executor.0 Not tainted 5.16.0-syzkaller-11655-ge5313968c41b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:update_cpumasks_hier+0xa09/0x1480 kernel/cgroup/cpuset.c:1487 Code: 00 0f 85 67 09 00 00 49 33 9c 24 30 01 00 00 31 ff 0f b6 db 48 89 de e8 65 7b 04 00 48 85 db 0f 84 4c fc ff ff e8 c7 78 04 00 <0f> 0b e9 40 fc ff ff e8 bb 78 04 00 e8 96 d7 ef ff e8 b1 78 04 00 RSP: 0018:ffffc900056c7a80 EFLAGS: 00010212 RAX: 000000000000d2ff RBX: 0000000000000002 RCX: ffffc9000b4aa000 RDX: 0000000000040000 RSI: ffffffff8173dd29 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8fdeca17 R10: ffffffff8173dd1b R11: 0000000000000001 R12: ffff888019d21000 R13: dffffc0000000000 R14: ffff888019d21130 R15: 0000000000000000 FS: 00007f92e82f4700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00248b000 CR3: 00000000849f9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: update_cpumask kernel/cgroup/cpuset.c:1616 [inline] cpuset_write_resmask+0xfb7/0x20f0 kernel/cgroup/cpuset.c:2454 cgroup_file_write+0x1de/0x760 kernel/cgroup/cgroup.c:3877 kernfs_fop_write_iter+0x342/0x500 fs/kernfs/file.c:296 call_write_iter include/linux/fs.h:2086 [inline] new_sync_write+0x431/0x660 fs/read_write.c:503 vfs_write+0x7cd/0xae0 fs/read_write.c:590 ksys_write+0x12d/0x250 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f92e997f049 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:00007f92e82f4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f92e9a91f60 RCX: 00007f92e997f049 RDX: 0000000000000001 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007f92e99d908d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd5d2b412f R14: 00007f92e82f4300 R15: 0000000000022000