panic: Only permission mask must be set: 306f30 goroutine 632781 [running]: panic(0x188c5c0, 0xc090c3e240) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc001a2f340 sp=0xc001a2f278 pc=0x43a6c5 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFile).Init(0xc00475e000, 0x1d5a6a0, 0xc011c10a80, 0xc0008a4240, 0x1700000000, 0x9, 0x1d2dfe0, 0xc0057bc0b0, 0xc0001b0200) pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:55 +0x19f fp=0xc001a2f398 sp=0xc001a2f340 pc=0xae7c9f gvisor.dev/gvisor/pkg/sentry/fsimpl/mqfs.(*filesystem).newQueueInode(0xc0001d2630, 0x1d5a6a0, 0xc011c10a80, 0xc0008a4240, 0xc0057bc0b0, 0xc0057b0200, 0xc, 0xc011c10a80) pkg/sentry/fsimpl/mqfs/queue.go:44 +0x17e fp=0xc001a2f408 sp=0xc001a2f398 pc=0xb2511e gvisor.dev/gvisor/pkg/sentry/fsimpl/mqfs.(*RegistryImpl).New(0xc0008fe318, 0x1d5a6a0, 0xc011c10a80, 0xc00e9c8500, 0x4, 0xc0057bc0b0, 0x0, 0x80002000001, 0x0, 0x0, ...) pkg/sentry/fsimpl/mqfs/registry.go:107 +0x12c fp=0xc001a2f498 sp=0xc001a2f408 pc=0xb26a0c gvisor.dev/gvisor/pkg/sentry/kernel/mq.(*Registry).FindOrCreate(0xc0009c40c0, 0x1d5a6a0, 0xc011c10a80, 0xc00e9c8500, 0x4, 0x0, 0x10001, 0x20000200, 0xc001a2f618, 0x0, ...) pkg/sentry/kernel/mq/mq.go:189 +0x527 fp=0xc001a2f598 sp=0xc001a2f498 pc=0xb1e127 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.MqOpen(0xc011c10a80, 0x20004180, 0x40, 0x200, 0x200041c0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/mq.go:56 +0x225 fp=0xc001a2f710 sp=0xc001a2f598 pc=0x1413325 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc011c10a80, 0xf0, 0x20004180, 0x40, 0x200, 0x200041c0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/kernel/task_syscall.go:103 +0x453 fp=0xc001a2f9b0 sp=0xc001a2f710 pc=0xd69f93 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc011c10a80, 0xf0, 0x20004180, 0x40, 0x200, 0x200041c0, 0x0, 0x0, 0xc011c1135f, 0xc011c10a80) pkg/sentry/kernel/task_syscall.go:238 +0xb4 fp=0xc001a2fa88 sp=0xc001a2f9b0 pc=0xd6b774 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc011c10a80, 0xf0, 0x20004180, 0x40, 0x200, 0x200041c0, 0x0, 0x0, 0x47910c, 0x486adf) pkg/sentry/kernel/task_syscall.go:198 +0x10f fp=0xc001a2fb30 sp=0xc001a2fa88 pc=0xd6b06f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc011c10a80, 0x2, 0xc011c10a80) pkg/sentry/kernel/task_syscall.go:173 +0x214 fp=0xc001a2fca0 sp=0xc001a2fb30 pc=0xd6a7f4 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc011c10a80, 0x1d2dd80, 0x0) pkg/sentry/kernel/task_run.go:282 +0x12c7 fp=0xc001a2fed0 sp=0xc001a2fca0 pc=0xd56887 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc011c10a80, 0x6e77) pkg/sentry/kernel/task_run.go:97 +0x393 fp=0xc001a2ffd0 sp=0xc001a2fed0 pc=0xd549b3 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc001a2ffd8 sp=0xc001a2ffd0 pc=0x477541 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:327 +0x1a5