panic: WARNING: circular locking detected: tmpfs.filesystemRWMutex -> vfs.inotifyEventMutex: goroutine 262848 [running]: gvisor.dev/gvisor/pkg/log.Stacks(0xa0) pkg/log/log.go:316 +0x8d gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0001c0680, 0xc0001c1780, {0xc000bbe6e0, 0x1, 0x1}) pkg/sync/locking/lockdep.go:56 +0x1f4 gvisor.dev/gvisor/pkg/sync/locking.checkLock.func1(0xc0001c1d20, 0xc002174c08) pkg/sync/locking/lockdep.go:76 +0x65 gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc0001c1d00, 0xc002174d20) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:441 +0x226 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0001c0680, 0xc0001c1d00, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:73 +0x46c gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc0001c0680, 0x0) pkg/sync/locking/lockdep.go:107 +0x3ba gvisor.dev/gvisor/pkg/sentry/vfs.(*inotifyEventMutex).Lock(0xc0073fe338) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sentry/vfs/inotify_event_mutex.go:18 +0x3f gvisor.dev/gvisor/pkg/sentry/vfs.(*Inotify).queueEvent(0xc0073fe2a0, 0xc0035b8e40) pkg/sentry/vfs/inotify.go:276 +0x47 gvisor.dev/gvisor/pkg/sentry/vfs.(*Watch).Notify(0xc002d2dc40, {0x0, 0x0}, 0x2, 0x0) pkg/sentry/vfs/inotify.go:609 +0x28d gvisor.dev/gvisor/pkg/sentry/vfs.(*Watches).Notify(0xc000cb4e48, {0x1b82090, 0xc00677d500}, {0x0, 0x0}, 0x4a580f8, 0xc0, 0x0, 0x0) pkg/sentry/vfs/inotify.go:481 +0x192 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*dentry).InotifyWithParent(0xc004efc910, {0x1b82090, 0xc00677d500}, 0x2, 0x0, 0x40) pkg/sentry/fsimpl/tmpfs/tmpfs.go:405 +0x1d4 gvisor.dev/gvisor/pkg/sentry/vfs.(*Dentry).InotifyWithParent(...) pkg/sentry/vfs/dentry.go:173 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc004a58080, {0x1b82090, 0xc00677d500}, {{0x1b75168, 0xc0044f4000}, {0x0, 0x1, 0x20000740, 0x78}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description.go:667 +0x19b gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0x470e65, 0xc004a58080, {{0x1b75168, 0xc0044f4000}, {0x0, 0x1, 0x20000740, 0x78}, {0x0, 0x1}}, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:348 +0x9d gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc00677d500, {{0x4}, {0x20000740}, {0x78}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/read_write.go:317 +0x2c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00677d500, 0x1, {{0x4}, {0x20000740}, {0x78}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x9d8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00677d500, 0x46f779, {{0x4}, {0x20000740}, {0x78}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x6a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc002c0da40, 0x46fc2c, {{0x4}, {0x20000740}, {0x78}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00677d500) pkg/sentry/kernel/task_syscall.go:257 +0x3e7 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00677d500, 0xc00677d500) pkg/sentry/kernel/task_run.go:253 +0x16b8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00677d500, 0x38eb) pkg/sentry/kernel/task_run.go:94 +0x35b created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:369 +0x1a9