syzbot


panic: unknown host errno "is a named type file" (NUM)

Status: fixed on 2024/08/02 13:51
Fix commit: ef1ca17e5842 Add EISNAM to linuxHostTranslations and fix error message for ENOTNAM.
First crash: 116d, last: 116d

Sample crash report:
panic: unknown host errno "is a named type file" (120)

goroutine 30459 gp=0xc10b200fc0 m=23 mp=0xc00099a808 [running]:
panic({0x1accb20?, 0xc0034f86e0?})
	GOROOT/src/runtime/panic.go:779 +0x158 fp=0xc003f0a958 sp=0xc003f0a8a8 pc=0x43ed58
gvisor.dev/gvisor/pkg/syserr.FromHost(0x78)
	pkg/syserr/host_linux.go:34 +0x159 fp=0xc003f0a9c0 sp=0xc003f0a958 pc=0xa4f859
gvisor.dev/gvisor/pkg/syserr.FromError({0x2068420, 0x2c5b720})
	pkg/syserr/syserr.go:237 +0x92 fp=0xc003f0aa30 sp=0xc003f0a9c0 pc=0xa50df2
gvisor.dev/gvisor/pkg/sentry/socket/unix.(*Socket).extractEndpoint(0xc001154000, 0xc199889508, {0xc0067ac150, 0x6e, 0x6e})
	pkg/sentry/socket/unix/unix.go:569 +0x432 fp=0xc003f0abc0 sp=0xc003f0aa30 pc=0x10e1b12
gvisor.dev/gvisor/pkg/sentry/socket/unix.(*Socket).SendMsg(0xc001154000, 0xc199889508, {{0x2083d18, 0xc0016a4008}, {0x0, 0x0, 0x0, 0x0}, {0x0, 0x1}}, ...)
	pkg/sentry/socket/unix/unix.go:616 +0x24f fp=0xc003f0af18 sp=0xc003f0abc0 pc=0x10e21cf
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.sendSingleMsg(0xc199889508, {0x209dc20, 0xc001154000}, 0xc001154000, 0x20001700, 0x0)
	pkg/sentry/syscalls/linux/sys_socket.go:1111 +0x663 fp=0xc003f0b3d0 sp=0xc003f0af18 pc=0x1193e63
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SendMMsg(0xc199889508, 0x44af6d?, {{0x9}, {0x20001700}, {0x1}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/syscalls/linux/sys_socket.go:1035 +0x518 fp=0xc003f0b4f0 sp=0xc003f0b3d0 pc=0x1192f38
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc199889508, 0x133, {{0x9}, {0x20001700}, {0x1}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:143 +0x995 fp=0xc003f0b938 sp=0xc003f0b4f0 pc=0xee55b5
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc199889508, 0x133, {{0x9}, {0x20001700}, {0x1}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:323 +0x72 fp=0xc003f0b9e0 sp=0xc003f0b938 pc=0xee7412
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc199889508, 0x133, {{0x9}, {0x20001700}, {0x1}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:283 +0x94 fp=0xc003f0ba50 sp=0xc003f0b9e0 pc=0xee6e14
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc199889508)
	pkg/sentry/kernel/task_syscall.go:258 +0x4b0 fp=0xc003f0bb80 sp=0xc003f0ba50 pc=0xee69b0
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc199889508?, 0xc199889508)
	pkg/sentry/kernel/task_run.go:263 +0x1fee fp=0xc003f0be98 sp=0xc003f0bb80 pc=0xed00ae
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc199889508, 0x2945)
	pkg/sentry/kernel/task_run.go:98 +0x46d fp=0xc003f0bfb0 sp=0xc003f0be98 pc=0xecd72d
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1()
	pkg/sentry/kernel/task_start.go:393 +0x45 fp=0xc003f0bfe0 sp=0xc003f0bfb0 pc=0xee2f85
runtime.goexit({})
	src/runtime/asm_amd64.s:1695 +0x1 fp=0xc003f0bfe8 sp=0xc003f0bfe0 pc=0x47d301
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 30484
	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/02 06:45 gvisor 3c98aab6f864 1e9c4cf3 .config console log report info ci-gvisor-ptrace-3-race panic: unknown host errno "is a named type file" (NUM)
2024/08/02 05:59 gvisor 3c98aab6f864 1e9c4cf3 console log report info ci-gvisor-ptrace-3 panic: unknown host errno "is a named type file" (NUM)
2024/08/02 05:58 gvisor 3c98aab6f864 1e9c4cf3 console log report info ci-gvisor-ptrace-3 panic: unknown host errno "is a named type file" (NUM)
2024/08/01 21:24 gvisor 19ab27f98231 1e9c4cf3 console log report info ci-gvisor-ptrace-3 panic: unknown host errno "is a named type file" (NUM)
2024/08/01 21:21 gvisor 19ab27f98231 1e9c4cf3 console log report info ci-gvisor-ptrace-2 panic: unknown host errno "is a named type file" (NUM)
2024/08/01 20:50 gvisor 19ab27f98231 1e9c4cf3 .config console log report info ci-gvisor-ptrace-3-race panic: unknown host errno "is a named type file" (NUM)
2024/08/01 21:10 gvisor 19ab27f98231 1e9c4cf3 console log report info ci-gvisor-arm64-systrap-1 panic: unknown host errno "is a named type file" (NUM)
* Struck through repros no longer work on HEAD.