panic: Only permission mask must be set: 306f333235 goroutine 899 [running]: panic(0x11d1600, 0xc00013abc0) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0007cb8c8 sp=0xc0007cb800 pc=0x437c65 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFile).Init(0xc00061e000, 0x15aa460, 0xc00064f500, 0xc000a98840, 0x200000000, 0x2, 0x157e700, 0xc0007a84d0, 0x13372d5) pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:58 +0x185 fp=0xc0007cb920 sp=0xc0007cb8c8 pc=0x89a3a5 gvisor.dev/gvisor/pkg/sentry/fsimpl/mqfs.(*filesystem).newQueueInode(0xc000206790, 0x15aa460, 0xc00064f500, 0xc000a98840, 0xc0007a84d0, 0x8c72d5, 0x1349aa0, 0xc0007a84d0) pkg/sentry/fsimpl/mqfs/queue.go:46 +0xdd fp=0xc0007cb980 sp=0xc0007cb920 pc=0x8c6e3d gvisor.dev/gvisor/pkg/sentry/fsimpl/mqfs.(*RegistryImpl).New(0xc00014ca80, 0x15aa460, 0xc00064f500, 0xc00063e300, 0x5, 0xc0007a84d0, 0x0, 0x80072d50001, 0x0, 0x0, ...) pkg/sentry/fsimpl/mqfs/registry.go:121 +0xbf fp=0xc0007cb9e0 sp=0xc0007cb980 pc=0x8c811f gvisor.dev/gvisor/pkg/sentry/kernel/mq.(*Registry).FindOrCreate(0xc0001d6780, 0x15aa460, 0xc00064f500, 0xc00063e300, 0x5, 0x0, 0x10001, 0x201f72d5, 0x0, 0x0, ...) pkg/sentry/kernel/mq/mq.go:216 +0x51b fp=0xc0007cba88 sp=0xc0007cb9e0 pc=0x8c26fb gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.MqOpen(0xc00064f500, 0x20000040, 0x40, 0x6d79adb5d58472d5, 0x0, 0x0, 0x0, 0xf885a5, 0xc0001506e0, 0xc000aaa000, ...) pkg/sentry/syscalls/linux/vfs2/mq.go:64 +0x236 fp=0xc0007cbba8 sp=0xc0007cba88 pc=0xf2e2b6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00064f500, 0xf0, 0x20000040, 0x40, 0x6d79adb5d58472d5, 0x0, 0x0, 0x0, 0xc000001fa0, 0x13ddd80, ...) pkg/sentry/kernel/task_syscall.go:115 +0x1b9 fp=0xc0007cbc68 sp=0xc0007cbba8 pc=0xa66619 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00064f500, 0xf0, 0x20000040, 0x40, 0x6d79adb5d58472d5, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc0007cbcf0 sp=0xc0007cbc68 pc=0xa678f0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00064f500, 0xf0, 0x20000040, 0x40, 0x6d79adb5d58472d5, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc0007cbd50 sp=0xc0007cbcf0 pc=0xa673d4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00064f500, 0x2, 0xc00064f500) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc0007cbe20 sp=0xc0007cbd50 pc=0xa66cb8 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00064f500, 0x157e4a0, 0x0) pkg/sentry/kernel/task_run.go:327 +0xe15 fp=0xc0007cbf60 sp=0xc0007cbe20 pc=0xa59b75 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00064f500, 0x1a) pkg/sentry/kernel/task_run.go:100 +0x1e2 fp=0xc0007cbfd0 sp=0xc0007cbf60 pc=0xa58602 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0007cbfd8 sp=0xc0007cbfd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:380 +0x116