------------[ cut here ]------------
WARNING: CPU: 0 PID: 6129 at kernel/cgroup/cgroup.c:1424 cset_cgroup_from_root+0x1c7/0x230
Modules linked in:
CPU: 0 PID: 6129 Comm: syz.2.955 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:cset_cgroup_from_root+0x1c7/0x230 kernel/cgroup/cgroup.c:1424
Code: 78 4c 89 f8 48 c1 e8 03 80 3c 28 00 74 08 4c 89 ff e8 5d b2 52 00 4d 8b 27 4d 85 e4 75 c7 e8 30 e8 08 00 0f 0b e8 29 e8 08 00 <0f> 0b e9 a4 fe ff ff e8 1d e8 08 00 0f 0b e9 f9 fe ff ff 48 c7 c1
RSP: 0018:ffffc900031778b8 EFLAGS: 00010087
RAX: ffffffff81777247 RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc90003c0e000 RSI: 0000000000000711 RDI: 0000000000000712
RBP: dffffc0000000000 R08: ffffffff817770e5 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff88807b1cc000
R13: dffffc0000000000 R14: ffff888029bec000 R15: ffffffff8c948000
FS:  00007f56991226c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32c1fffc CR3: 0000000024a15000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 cgroup_path_ns_locked+0x6c/0xd0 kernel/cgroup/cgroup.c:2302
 proc_cpuset_show+0x27d/0x3f0 kernel/cgroup/cpuset.c:3787
 proc_single_show+0xf6/0x180 fs/proc/base.c:778
 traverse+0x1d5/0x530 fs/seq_file.c:111
 seq_read_iter+0xc0c/0xd10 fs/seq_file.c:195
 seq_read+0x452/0x5c0 fs/seq_file.c:162
 do_iter_read+0x4c6/0x760 fs/read_write.c:792
 vfs_readv fs/read_write.c:910 [inline]
 do_preadv+0x211/0x350 fs/read_write.c:1002
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f569aca9ff9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5699122038 EFLAGS: 00000246 ORIG_RAX: 0000000000000127
RAX: ffffffffffffffda RBX: 00007f569ae61f80 RCX: 00007f569aca9ff9
RDX: 0000000000000001 RSI: 00000000200004c0 RDI: 0000000000000003
RBP: 00007f569ad1c296 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffffffe R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f569ae61f80 R15: 00007fffd7d68808
 </TASK>