panic: Only permission mask must be set: 306f333235 goroutine 517 [running]: panic(0x11d1600, 0xc000812a30) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0008498c8 sp=0xc000849800 pc=0x437c65 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFile).Init(0xc0008ea380, 0x15aa460, 0xc0005f5500, 0xc0005e3320, 0x200000000, 0x2, 0x157e700, 0xc0006f2370, 0x13372d5) pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:58 +0x185 fp=0xc000849920 sp=0xc0008498c8 pc=0x89a3a5 gvisor.dev/gvisor/pkg/sentry/fsimpl/mqfs.(*filesystem).newQueueInode(0xc0006f2630, 0x15aa460, 0xc0005f5500, 0xc0005e3320, 0xc0006f2370, 0x8c72d5, 0x1349aa0, 0xc0006f2370) pkg/sentry/fsimpl/mqfs/queue.go:46 +0xdd fp=0xc000849980 sp=0xc000849920 pc=0x8c6e3d gvisor.dev/gvisor/pkg/sentry/fsimpl/mqfs.(*RegistryImpl).New(0xc00042cd68, 0x15aa460, 0xc0005f5500, 0xc0006a2a00, 0x5, 0xc0006f2370, 0x0, 0x80072d50001, 0x0, 0x0, ...) pkg/sentry/fsimpl/mqfs/registry.go:121 +0xbf fp=0xc0008499e0 sp=0xc000849980 pc=0x8c811f gvisor.dev/gvisor/pkg/sentry/kernel/mq.(*Registry).FindOrCreate(0xc0006d90a0, 0x15aa460, 0xc0005f5500, 0xc0006a2a00, 0x5, 0x0, 0x10001, 0x4472d5, 0x0, 0x0, ...) pkg/sentry/kernel/mq/mq.go:216 +0x51b fp=0xc000849a88 sp=0xc0008499e0 pc=0x8c26fb gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.MqOpen(0xc0005f5500, 0x20000040, 0x40, 0x6d79adb5d58472d5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x857f20000000, ...) pkg/sentry/syscalls/linux/vfs2/mq.go:64 +0x236 fp=0xc000849ba8 sp=0xc000849a88 pc=0xf2e2b6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0005f5500, 0xf0, 0x20000040, 0x40, 0x6d79adb5d58472d5, 0x0, 0x0, 0x0, 0x1, 0x13ddd80, ...) pkg/sentry/kernel/task_syscall.go:115 +0x1b9 fp=0xc000849c68 sp=0xc000849ba8 pc=0xa66619 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0005f5500, 0xf0, 0x20000040, 0x40, 0x6d79adb5d58472d5, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc000849cf0 sp=0xc000849c68 pc=0xa678f0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0005f5500, 0xf0, 0x20000040, 0x40, 0x6d79adb5d58472d5, 0x0, 0x0, 0x0, 0xf9416c, 0xc000352ac8) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc000849d50 sp=0xc000849cf0 pc=0xa673d4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0005f5500, 0x2, 0xc0005f5500) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc000849e20 sp=0xc000849d50 pc=0xa66cb8 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0005f5500, 0x157e4a0, 0x0) pkg/sentry/kernel/task_run.go:327 +0xe15 fp=0xc000849f60 sp=0xc000849e20 pc=0xa59b75 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0005f5500, 0xa) pkg/sentry/kernel/task_run.go:100 +0x1e2 fp=0xc000849fd0 sp=0xc000849f60 pc=0xa58602 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000849fd8 sp=0xc000849fd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:380 +0x116