panic: Only permission mask must be set: 306f313633 goroutine 2740629 [running]: panic(0x10cb560, 0xc01dd60a10) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0048e3820 sp=0xc0048e3758 pc=0x437c65 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFile).Init(0xc00b0e4000, 0x1476ce0, 0xc00baeca80, 0xc000a7a720, 0x1500000000, 0x15, 0x144ab60, 0xc024b5ba20, 0xc000a76873) pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:55 +0x167 fp=0xc0048e3878 sp=0xc0048e3820 pc=0x845647 gvisor.dev/gvisor/pkg/sentry/fsimpl/mqfs.(*filesystem).newQueueInode(0xc0004369a0, 0x1476ce0, 0xc00baeca80, 0xc000a7a720, 0xc024b5ba20, 0xc024b56873, 0xc0048e3928, 0x869559) pkg/sentry/fsimpl/mqfs/queue.go:44 +0xc9 fp=0xc0048e38d8 sp=0xc0048e3878 pc=0x86d349 gvisor.dev/gvisor/pkg/sentry/fsimpl/mqfs.(*RegistryImpl).New(0xc0003597b8, 0x1476ce0, 0xc00baeca80, 0xc00b322800, 0x8, 0xc024b5ba20, 0x0, 0x80068730001, 0x0, 0x0, ...) pkg/sentry/fsimpl/mqfs/registry.go:107 +0xb0 fp=0xc0048e3938 sp=0xc0048e38d8 pc=0x86e3b0 gvisor.dev/gvisor/pkg/sentry/kernel/mq.(*Registry).FindOrCreate(0xc0006d03e0, 0x1476ce0, 0xc00baeca80, 0xc00b322800, 0x8, 0x0, 0x10001, 0x6873, 0xc0048e3a60, 0x0, ...) pkg/sentry/kernel/mq/mq.go:189 +0x469 fp=0xc0048e39e0 sp=0xc0048e3938 pc=0x869289 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.MqOpen(0xc00baeca80, 0x200002c0, 0x40, 0xd690f06b23f36873, 0x200001c0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/mq.go:56 +0x1ce fp=0xc0048e3b00 sp=0xc0048e39e0 pc=0xe3ad8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00baeca80, 0xf0, 0x200002c0, 0x40, 0xd690f06b23f36873, 0x200001c0, 0x0, 0x0, 0xc000001fa0, 0x12d7840, ...) pkg/sentry/kernel/task_syscall.go:103 +0x13c fp=0xc0048e3c60 sp=0xc0048e3b00 pc=0x9d7cfc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00baeca80, 0xf0, 0x200002c0, 0x40, 0xd690f06b23f36873, 0x200001c0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:238 +0x66 fp=0xc0048e3ce8 sp=0xc0048e3c60 pc=0x9d8e86 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00baeca80, 0xf0, 0x200002c0, 0x40, 0xd690f06b23f36873, 0x200001c0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:198 +0x98 fp=0xc0048e3d48 sp=0xc0048e3ce8 pc=0x9d8a78 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00baeca80, 0x2, 0xc00baeca80) pkg/sentry/kernel/task_syscall.go:173 +0x15c fp=0xc0048e3e18 sp=0xc0048e3d48 pc=0x9d841c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00baeca80, 0x144a900, 0x0) pkg/sentry/kernel/task_run.go:282 +0xc8c fp=0xc0048e3f60 sp=0xc0048e3e18 pc=0x9cd0ac gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00baeca80, 0x4ec8) pkg/sentry/kernel/task_run.go:97 +0x1af fp=0xc0048e3fd0 sp=0xc0048e3f60 pc=0x9cbd2f runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0048e3fd8 sp=0xc0048e3fd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:327 +0xfe