panic: Inode doesn't match what kernfs thinks! OrderedChild: &{dir:{InodeNoopRefCount:{InodeTemporary:{}} InodeAlwaysValid:{} InodeAttrs:{devMajor:0 devMinor:14 ino:272 mode:16749 uid:0 gid:0 nlink:2 blockSize:4096 atime:1646236891022582262 mtime:1646236891022582262 ctime:1646236891022582262} InodeNotSymlink:{} InodeDirectoryNoNewChildren:{} OrderedChildren:{writable:true mu:{m:{w:{Mutex:{state:0 sema:0}} writerSem:0 readerSem:0 readerCount:0 readerWait:0}} order:{head:0xc000b76b40 tail:0xc000b76f00} set:map[cgroup.procs:0xc000b76e80 cpu.cfs_period_us:0xc000b76e00 cpu.cfs_quota_us:0xc000b76b40 cpu.shares:0xc000b76d00 cpuacct.stat:0xc000b76c00 cpuacct.usage:0xc000b76e40 cpuacct.usage_sys:0xc000b76d40 cpuacct.usage_user:0xc000b76b80 cpuset.cpus:0xc000b76f00 cpuset.mems:0xc000b76c40 job.id:0xc000b76c80 memory.limit_in_bytes:0xc000b76cc0 memory.move_charge_at_immigrate:0xc000b76bc0 memory.soft_limit_in_bytes:0xc000b76dc0 memory.usage_in_bytes:0xc000b76d80 tasks:0xc000b76ec0]} implStatFS:{} locks:{bsd:{mu:{m:{Mutex:{state:0 sema:0}}} locks:{root:{nrSegments:0 parent: parentIndex:0 hasChildren:false maxGap:[] keys:[{Start:0 End:0} {Start:0 End:0} {Start:0 End:0} {Start:0 End:0} {Start:0 End:0}] values:[{Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}}] children:[ ]}} blockedQueue:{list:{head: tail:} mu:{m:{w:{Mutex:{state:0 sema:0}} writerSem:0 readerSem:0 readerCount:0 readerWait:0}}}} posix:{mu:{m:{Mutex:{state:0 sema:0}}} locks:{root:{nrSegments:0 parent: parentIndex:0 hasChildren:false maxGap:[] keys:[{Start:0 End:0} {Start:0 End:0} {Start:0 End:0} {Start:0 End:0} {Start:0 End:0}] values:[{Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}}] children:[ ]}} blockedQueue:{list:{head: tail:} mu:{m:{w:{Mutex:{state:0 sema:0}} writerSem:0 readerSem:0 readerCount:0 readerWait:0}}}}} fs:0xc00021e200 cgi:0xc000b79880} controllers:map[cpu:0xc0005bb080 cpuacct:0xc00095c0a0 cpuset:0xc000b76b00 job:0xc00095c540 memory:0xc0005bb050] ts:map[]}, kernfs: &{dir:{InodeNoopRefCount:{InodeTemporary:{}} InodeAlwaysValid:{} InodeAttrs:{devMajor:0 devMinor:14 ino:255 mode:16749 uid:0 gid:0 nlink:2 blockSize:4096 atime:1646236891022194632 mtime:1646236891022194632 ctime:1646236891022194632} InodeNotSymlink:{} InodeDirectoryNoNewChildren:{} OrderedChildren:{writable:true mu:{m:{w:{Mutex:{state:0 sema:0}} writerSem:0 readerSem:0 readerCount:0 readerWait:0}} order:{head:0xc000b13900 tail:0xc000b13cc0} set:map[cgroup.procs:0xc000b13900 cpu.cfs_period_us:0xc000b13a00 cpu.cfs_quota_us:0xc000b13c40 cpu.shares:0xc000b13a40 cpuacct.stat:0xc000b13a80 cpuacct.usage:0xc000b13bc0 cpuacct.usage_sys:0xc000b13ac0 cpuacct.usage_user:0xc000b13c80 cpuset.cpus:0xc000b13980 cpuset.mems:0xc000b13cc0 job.id:0xc000b13c00 memory.limit_in_bytes:0xc000b139c0 memory.move_charge_at_immigrate:0xc000b13b80 memory.soft_limit_in_bytes:0xc000b13b40 memory.usage_in_bytes:0xc000b13b00 tasks:0xc000b13940]} implStatFS:{} locks:{bsd:{mu:{m:{Mutex:{state:0 sema:0}}} locks:{root:{nrSegments:0 parent: parentIndex:0 hasChildren:false maxGap:[] keys:[{Start:0 End:0} {Start:0 End:0} {Start:0 End:0} {Start:0 End:0} {Start:0 End:0}] values:[{Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}}] children:[ ]}} blockedQueue:{list:{head: tail:} mu:{m:{w:{Mutex:{state:0 sema:0}} writerSem:0 readerSem:0 readerCount:0 readerWait:0}}}} posix:{mu:{m:{Mutex:{state:0 sema:0}}} locks:{root:{nrSegments:0 parent: parentIndex:0 hasChildren:false maxGap:[] keys:[{Start:0 End:0} {Start:0 End:0} {Start:0 End:0} {Start:0 End:0} {Start:0 End:0}] values:[{Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}} {Readers:map[] Writer: WriterInfo:{PID:0}}] children:[ ]}} blockedQueue:{list:{head: tail:} mu:{m:{w:{Mutex:{state:0 sema:0}} writerSem:0 readerSem:0 readerCount:0 readerWait:0}}}}} fs:0xc00021e200 cgi:0xc000c9dc00} controllers:map[cpu:0xc00057e8a0 cpuacct:0xc00095c0a0 cpuset:0xc000b138c0 job:0xc0000b83c0 memory:0xc00057e870] ts:map[]} goroutine 322 [running]: panic({0x1074a40, 0xc00068e760}) GOROOT/src/runtime/panic.go:1147 +0x3a8 fp=0xc00082b4e8 sp=0xc00082b428 pc=0x4351c8 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*OrderedChildren).checkExistingLocked(0x7e13a5, {0xc000ab5102, 0xbd26b3}, {0x141ce08, 0xc000c9dc00}) pkg/sentry/fsimpl/kernfs/inode_impl_util.go:593 +0x126 fp=0xc00082b558 sp=0xc00082b4e8 pc=0x7e9ca6 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*OrderedChildren).Unlink(0xc000b81c40, {0xc0004e75f0, 0x7004ae}, {0xc000ab5102, 0x5}, {0x141ce08, 0xc000c9dc00}) pkg/sentry/fsimpl/kernfs/inode_impl_util.go:605 +0xd9 fp=0xc00082b5c0 sp=0xc00082b558 pc=0x7e9dd9 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*OrderedChildren).RmDir(...) pkg/sentry/fsimpl/kernfs/inode_impl_util.go:617 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*dir).RmDir(0xc000b81c00, {0x14172f0, 0xc000866000}, {0xc000ab5102, 0x4330d0}, {0x141ce08, 0xc000c9dc00}) pkg/sentry/fsimpl/cgroupfs/cgroupfs.go:534 +0x2cc fp=0xc00082b658 sp=0xc00082b5c0 pc=0xbcb22c gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).RmDir(0xc000b81c00, {0x14172f0, 0xc000866000}, {0xc000ab5102, 0x3fd6271700c0}, {0x141ce08, 0xc000c9dc00}) :1 +0x4e fp=0xc00082b6a0 sp=0xc00082b658 pc=0xbd36ae gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).RmdirAt(0xc00021e200, {0x14172f0, 0xc000866000}, 0xc000ab6000) pkg/sentry/fsimpl/kernfs/filesystem.go:793 +0x456 fp=0xc00082b930 sp=0xc00082b6a0 pc=0x7e4176 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*filesystem).RmdirAt(0xc00021e200, {0x14172f0, 0xc000866000}, 0xc000bcc010) :1 +0x33 fp=0xc00082b960 sp=0xc00082b930 pc=0xbd96b3 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).RmdirAt(0xc00020c7e0, {0x14172f0, 0xc000866000}, 0xc0007ce240, 0xc000bca400) pkg/sentry/vfs/vfs.go:562 +0xe7 fp=0xc00082b9b8 sp=0xc00082b960 pc=0x7044e7 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.rmdirat(0xc000866000, 0x0, 0x0) pkg/sentry/syscalls/linux/vfs2/filesystem.go:263 +0x1b8 fp=0xc00082bb28 sp=0xc00082b9b8 pc=0xdf1bd8 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Unlinkat(0xc000866000, {{0x3}, {0x200000c0}, {0x200}, {0x1}, {0x1}, {0x1}}) pkg/sentry/syscalls/linux/vfs2/filesystem.go:296 +0x39 fp=0xc00082bb50 sp=0xc00082bb28 pc=0xdf2079 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000866000, 0x107, {{0x3}, {0x200000c0}, {0x200}, {0x1}, {0x1}, {0x1}}) pkg/sentry/kernel/task_syscall.go:103 +0x376 fp=0xc00082bca0 sp=0xc00082bb50 pc=0x9716d6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000866000, 0xc00032b7dc, {{0x3}, {0x200000c0}, {0x200}, {0x1}, {0x1}, {0x1}}) pkg/sentry/kernel/task_syscall.go:238 +0x4d fp=0xc00082bd10 sp=0xc00082bca0 pc=0x97224d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0000ce378, 0x866000, {{0x3}, {0x200000c0}, {0x200}, {0x1}, {0x1}, {0x1}}) pkg/sentry/kernel/task_syscall.go:198 +0x65 fp=0xc00082bd70 sp=0xc00082bd10 pc=0x971f05 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000866000) pkg/sentry/kernel/task_syscall.go:173 +0x31a fp=0xc00082be38 sp=0xc00082bd70 pc=0x971c3a gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000684600, 0xc000866000) pkg/sentry/kernel/task_run.go:254 +0xe45 fp=0xc00082bf60 sp=0xc00082be38 pc=0x966b45 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000866000, 0x23) pkg/sentry/kernel/task_run.go:95 +0x1ac fp=0xc00082bfc0 sp=0xc00082bf60 pc=0x96568c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start·dwrap·235() pkg/sentry/kernel/task_start.go:339 +0x2a fp=0xc00082bfe0 sp=0xc00082bfc0 pc=0x97022a runtime.goexit() src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00082bfe8 sp=0xc00082bfe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:339 +0xfe