panic: Only permission mask must be set: 306f3135 goroutine 208139 [running]: panic(0x11d1600, 0xc01503deb0) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc001c938c8 sp=0xc001c93800 pc=0x437c65 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFile).Init(0xc00440e000, 0x15aa460, 0xc003fec000, 0xc00a853ce0, 0x1500000000, 0x2, 0x157e700, 0xc00e79b130, 0x133d40d) pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:58 +0x185 fp=0xc001c93920 sp=0xc001c938c8 pc=0x89a3a5 gvisor.dev/gvisor/pkg/sentry/fsimpl/mqfs.(*filesystem).newQueueInode(0xc0132aec60, 0x15aa460, 0xc003fec000, 0xc00a853ce0, 0xc00e79b130, 0x8cd40d, 0x1349aa0, 0xc00e79b130) pkg/sentry/fsimpl/mqfs/queue.go:46 +0xdd fp=0xc001c93980 sp=0xc001c93920 pc=0x8c6e3d gvisor.dev/gvisor/pkg/sentry/fsimpl/mqfs.(*RegistryImpl).New(0xc003454cc0, 0x15aa460, 0xc003fec000, 0xc00afe0300, 0x4, 0xc00e79b130, 0x1, 0x801d40d0001, 0x0, 0x0, ...) pkg/sentry/fsimpl/mqfs/registry.go:121 +0xbf fp=0xc001c939e0 sp=0xc001c93980 pc=0x8c811f gvisor.dev/gvisor/pkg/sentry/kernel/mq.(*Registry).FindOrCreate(0xc0106ad440, 0x15aa460, 0xc003fec000, 0xc00afe0300, 0x4, 0x1, 0x10001, 0x44d40d, 0xc001c93b08, 0x0, ...) pkg/sentry/kernel/mq/mq.go:216 +0x51b fp=0xc001c93a88 sp=0xc001c939e0 pc=0x8c26fb gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.MqOpen(0xc003fec000, 0x20000080, 0x41, 0x75b1ecced925d40d, 0x200000c0, 0x0, 0x0, 0x0, 0x0, 0x857f00000000, ...) pkg/sentry/syscalls/linux/vfs2/mq.go:64 +0x236 fp=0xc001c93ba8 sp=0xc001c93a88 pc=0xf2e2b6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc003fec000, 0xf0, 0x20000080, 0x41, 0x75b1ecced925d40d, 0x200000c0, 0x0, 0x0, 0x1, 0x13ddd80, ...) pkg/sentry/kernel/task_syscall.go:115 +0x1b9 fp=0xc001c93c68 sp=0xc001c93ba8 pc=0xa66619 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc003fec000, 0xf0, 0x20000080, 0x41, 0x75b1ecced925d40d, 0x200000c0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc001c93cf0 sp=0xc001c93c68 pc=0xa678f0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc003fec000, 0xf0, 0x20000080, 0x41, 0x75b1ecced925d40d, 0x200000c0, 0x0, 0x0, 0xf93ed0, 0xc0162a89a0) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc001c93d50 sp=0xc001c93cf0 pc=0xa673d4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc003fec000, 0x2, 0xc003fec000) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc001c93e20 sp=0xc001c93d50 pc=0xa66cb8 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc003fec000, 0x157e4a0, 0x0) pkg/sentry/kernel/task_run.go:327 +0xe15 fp=0xc001c93f60 sp=0xc001c93e20 pc=0xa59b75 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc003fec000, 0x2042) pkg/sentry/kernel/task_run.go:100 +0x1e2 fp=0xc001c93fd0 sp=0xc001c93f60 pc=0xa58602 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc001c93fd8 sp=0xc001c93fd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:380 +0x116