syzbot


panic: unknown host errno "no XENIX semaphores available" (NUM)

Status: fixed on 2024/08/03 02:02
Fix commit: 0184ec4aacbc Add ENAVAIL to host_linux.go.
First crash: 116d, last: 115d

Sample crash report:
panic: unknown host errno "no XENIX semaphores available" (119)

goroutine 765 gp=0xc000c076c0 m=39 mp=0xc00125e008 [running]:
panic({0x1accba0?, 0xc0006642a0?})
	GOROOT/src/runtime/panic.go:779 +0x158 fp=0xc000d34628 sp=0xc000d34578 pc=0x43ed58
gvisor.dev/gvisor/pkg/syserr.FromHost(0x77)
	pkg/syserr/host_linux.go:34 +0x159 fp=0xc000d34690 sp=0xc000d34628 pc=0xa4f8b9
gvisor.dev/gvisor/pkg/syserr.FromError({0x20684a0, 0x2c5b718})
	pkg/syserr/syserr.go:237 +0x92 fp=0xc000d34700 sp=0xc000d34690 pc=0xa50e52
gvisor.dev/gvisor/pkg/sentry/loader.Load({0x208bb18, 0xc004bb1508}, {0xc000c79008, 0xc000638768, 0x1, {0xc000be5c00, 0x7}, 0x0, {0xc0009fa160, 0xc000e8fc08}, ...}, ...)
	pkg/sentry/loader/loader.go:268 +0x28f fp=0xc000d34d70 sp=0xc000d34700 pc=0xe4b34f
gvisor.dev/gvisor/pkg/sentry/kernel.(*Kernel).LoadTaskImage(0xc0002ff008, {0x208bb18, 0xc004bb1508}, {0xc000c79008, 0xc000638768, 0x1, {0xc000be5c00, 0x7}, 0x0, {0xc0009fa160, ...}, ...})
	pkg/sentry/kernel/task_image.go:153 +0x265 fp=0xc000d35050 sp=0xc000d34d70 pc=0xec6965
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.execveat(0xc004bb1508, 0xffffff9c, 0x200000c0, 0x0, 0x0, 0x0)
	pkg/sentry/syscalls/linux/sys_thread.go:182 +0xfff fp=0xc000d35490 sp=0xc000d35050 pc=0x11a571f
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Execve(0xc004bb1508, 0x44af6d?, {{0x200000c0}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/syscalls/linux/sys_thread.go:70 +0x49 fp=0xc000d354f0 sp=0xc000d35490 pc=0x11a4629
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc004bb1508, 0x3b, {{0x200000c0}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:143 +0x995 fp=0xc000d35938 sp=0xc000d354f0 pc=0xee5615
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc004bb1508, 0x3b, {{0x200000c0}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:323 +0x72 fp=0xc000d359e0 sp=0xc000d35938 pc=0xee7472
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc004bb1508, 0x3b, {{0x200000c0}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:283 +0x94 fp=0xc000d35a50 sp=0xc000d359e0 pc=0xee6e74
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc004bb1508)
	pkg/sentry/kernel/task_syscall.go:258 +0x4b0 fp=0xc000d35b80 sp=0xc000d35a50 pc=0xee6a10
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc004bb1508?, 0xc004bb1508)
	pkg/sentry/kernel/task_run.go:263 +0x1fee fp=0xc000d35e98 sp=0xc000d35b80 pc=0xed010e
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc004bb1508, 0xe1)
	pkg/sentry/kernel/task_run.go:98 +0x46d fp=0xc000d35fb0 sp=0xc000d35e98 pc=0xecd78d
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1()
	pkg/sentry/kernel/task_start.go:393 +0x45 fp=0xc000d35fe0 sp=0xc000d35fb0 pc=0xee2fe5
runtime.goexit({})
	src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000d35fe8 sp=0xc000d35fe0 pc=0x47d301
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 901
	pkg/sentry/kernel/task_start.go:393 +0x1ae

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/03 01:01 gvisor ef1ca17e5842 15001224 .config console log report info ci-gvisor-ptrace-3-race panic: unknown host errno "no XENIX semaphores available" (NUM)
2024/08/03 01:01 gvisor ef1ca17e5842 15001224 .config console log report info ci-gvisor-ptrace-3-race panic: unknown host errno "no XENIX semaphores available" (NUM)
2024/08/03 01:01 gvisor ef1ca17e5842 15001224 .config console log report info ci-gvisor-ptrace-3-race panic: unknown host errno "no XENIX semaphores available" (NUM)
2024/08/03 01:01 gvisor ef1ca17e5842 15001224 .config console log report info ci-gvisor-ptrace-3-race panic: unknown host errno "no XENIX semaphores available" (NUM)
2024/08/03 00:54 gvisor ef1ca17e5842 15001224 console log report info ci-gvisor-ptrace-3 panic: unknown host errno "no XENIX semaphores available" (NUM)
2024/08/02 08:33 gvisor 3c98aab6f864 1e9c4cf3 console log report info ci-gvisor-kvm panic: unknown host errno "no XENIX semaphores available" (NUM)
2024/08/02 08:33 gvisor 3c98aab6f864 1e9c4cf3 console log report info ci-gvisor-ptrace-1 panic: unknown host errno "no XENIX semaphores available" (NUM)
* Struck through repros no longer work on HEAD.