panic: Only permission mask must be set: 306f3230 goroutine 91977 [running]: panic(0x188c5c0, 0xc00a2531b0) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc001665340 sp=0xc001665278 pc=0x43a6c5 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFile).Init(0xc001535500, 0x1d5a6a0, 0xc00bf76000, 0xc0006a42a0, 0x1400000000, 0x3, 0x1d2dfe0, 0xc0009b8000, 0xc0001b0210) pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:55 +0x19f fp=0xc001665398 sp=0xc001665340 pc=0xae7c9f gvisor.dev/gvisor/pkg/sentry/fsimpl/mqfs.(*filesystem).newQueueInode(0xc0001d6580, 0x1d5a6a0, 0xc00bf76000, 0xc0006a42a0, 0xc0009b8000, 0xc0009b0210, 0xc, 0xc00bf76000) pkg/sentry/fsimpl/mqfs/queue.go:44 +0x17e fp=0xc001665408 sp=0xc001665398 pc=0xb2511e gvisor.dev/gvisor/pkg/sentry/fsimpl/mqfs.(*RegistryImpl).New(0xc0002fa7b0, 0x1d5a6a0, 0xc00bf76000, 0xc0004e3d00, 0xd, 0xc0009b8000, 0x0, 0x80002100001, 0x0, 0x0, ...) pkg/sentry/fsimpl/mqfs/registry.go:107 +0x12c fp=0xc001665498 sp=0xc001665408 pc=0xb26a0c gvisor.dev/gvisor/pkg/sentry/kernel/mq.(*Registry).FindOrCreate(0xc00058e200, 0x1d5a6a0, 0xc00bf76000, 0xc0004e3d00, 0xd, 0x0, 0x10001, 0x210, 0xc001665618, 0x0, ...) pkg/sentry/kernel/mq/mq.go:189 +0x527 fp=0xc001665598 sp=0xc001665498 pc=0xb1e127 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.MqOpen(0xc00bf76000, 0x20000280, 0x40, 0x210, 0x200002c0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/mq.go:56 +0x225 fp=0xc001665710 sp=0xc001665598 pc=0x1413325 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00bf76000, 0xf0, 0x20000280, 0x40, 0x210, 0x200002c0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/kernel/task_syscall.go:103 +0x453 fp=0xc0016659b0 sp=0xc001665710 pc=0xd69f93 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00bf76000, 0xf0, 0x20000280, 0x40, 0x210, 0x200002c0, 0x0, 0x0, 0xc00bf768df, 0xc00bf76000) pkg/sentry/kernel/task_syscall.go:238 +0xb4 fp=0xc001665a88 sp=0xc0016659b0 pc=0xd6b774 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00bf76000, 0xf0, 0x20000280, 0x40, 0x210, 0x200002c0, 0x0, 0x0, 0x47910c, 0x486adf) pkg/sentry/kernel/task_syscall.go:198 +0x10f fp=0xc001665b30 sp=0xc001665a88 pc=0xd6b06f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00bf76000, 0x2, 0xc00bf76000) pkg/sentry/kernel/task_syscall.go:173 +0x214 fp=0xc001665ca0 sp=0xc001665b30 pc=0xd6a7f4 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00bf76000, 0x1d2dd80, 0x0) pkg/sentry/kernel/task_run.go:282 +0x12c7 fp=0xc001665ed0 sp=0xc001665ca0 pc=0xd56887 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00bf76000, 0xed3) pkg/sentry/kernel/task_run.go:97 +0x393 fp=0xc001665fd0 sp=0xc001665ed0 pc=0xd549b3 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc001665fd8 sp=0xc001665fd0 pc=0x477541 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:327 +0x1a5