syzbot


panic: unknown host errno "memory page has hardware error" (NUM)

Status: fixed on 2024/09/06 13:35
Fix commit: 40bde6c617c7 Add EHWPOISON to host_linux.go
First crash: 87d, last: 81d

Sample crash report:
panic: unknown host errno "memory page has hardware error" (133)

goroutine 484267 gp=0x402f82fdc0 m=127 mp=0x4009623008 [running]:
panic({0xc5de00?, 0x400e8acfd0?})
	GOROOT/src/runtime/panic.go:779 +0x140 fp=0x400282ace0 sp=0x400282ac30 pc=0x4bc60
gvisor.dev/gvisor/pkg/syserr.FromHost(0x85)
	pkg/syserr/host_linux.go:34 +0xb0 fp=0x400282ad40 sp=0x400282ace0 pc=0x37cae0
gvisor.dev/gvisor/pkg/syserr.FromError({0x11161d0?, 0x1bd26a8?})
	pkg/syserr/syserr.go:237 +0x58 fp=0x400282ada0 sp=0x400282ad40 pc=0x37d758
gvisor.dev/gvisor/pkg/sentry/loader.Load({0x1139508, 0x400e002008}, {0x4000a49008, 0x400928c760, 0x1, {0x4036537300, 0x10}, 0x0, {0x4000b03760, 0x40413a3d40}, ...}, ...)
	pkg/sentry/loader/loader.go:268 +0x170 fp=0x400282b2b0 sp=0x400282ada0 pc=0x5b1290
gvisor.dev/gvisor/pkg/sentry/kernel.(*Kernel).LoadTaskImage(0x40001fd008, {0x1139508, 0x400e002008}, {0x4000a49008, 0x400928c760, 0x1, {0x4036537300, 0x10}, 0x0, {0x4000b03760, ...}, ...})
	pkg/sentry/kernel/task_image.go:153 +0xdc fp=0x400282b480 sp=0x400282b2b0 pc=0x5f6c5c
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.execveat(0x400e002008, 0xffffff9c, 0x200001c0, 0x200004c0, 0x20000500, 0x0)
	pkg/sentry/syscalls/linux/sys_thread.go:182 +0x728 fp=0x400282b8c0 sp=0x400282b480 pc=0x79e3f8
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Execve(0x4008913958?, 0x589d8?, {{0x200001c0}, {0x200004c0}, {0x20000500}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/syscalls/linux/sys_thread.go:70 +0x30 fp=0x400282b900 sp=0x400282b8c0 pc=0x79dc40
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0x400e002008, 0xdd, {{0x200001c0}, {0x200004c0}, {0x20000500}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:143 +0x4fc fp=0x400282bc40 sp=0x400282b900 pc=0x606bdc
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0x400e002008, 0xdd, {{0x200001c0}, {0x200004c0}, {0x20000500}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:323 +0x3c fp=0x400282bca0 sp=0x400282bc40 pc=0x607b2c
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0x400e002008, 0xdd, {{0x200001c0}, {0x200004c0}, {0x20000500}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:283 +0x58 fp=0x400282bcf0 sp=0x400282bca0 pc=0x6077a8
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0x40cdd79930?)
	pkg/sentry/kernel/task_syscall.go:258 +0x23c fp=0x400282bde0 sp=0x400282bcf0 pc=0x60755c
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x40c91381b0?, 0x400e002008)
	pkg/sentry/kernel/task_run.go:270 +0xcf4 fp=0x400282bf10 sp=0x400282bde0 pc=0x5fbe84
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0x400e002008, 0x8215)
	pkg/sentry/kernel/task_run.go:98 +0x1cc fp=0x400282bfb0 sp=0x400282bf10 pc=0x5faaec
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1()
	pkg/sentry/kernel/task_start.go:400 +0x2c fp=0x400282bfd0 sp=0x400282bfb0 pc=0x6054dc
runtime.goexit({})
	src/runtime/asm_arm64.s:1222 +0x4 fp=0x400282bfd0 sp=0x400282bfd0 pc=0x896c4
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 484260
	pkg/sentry/kernel/task_start.go:400 +0xc4

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/06 06:03 gvisor 277c0b60eccc 464ac2ed console log report info ci-gvisor-arm64-ptrace-1 panic: unknown host errno "memory page has hardware error" (NUM)
2024/09/05 15:22 gvisor 932d9dc64b83 36ae3a26 console log report info ci-gvisor-arm64-systrap-1 panic: unknown host errno "memory page has hardware error" (NUM)
2024/09/04 23:26 gvisor 932d9dc64b83 dfbe2ed4 console log report info ci-gvisor-arm64-ptrace-1 panic: unknown host errno "memory page has hardware error" (NUM)
2024/09/03 22:39 gvisor 1165a7cd9747 9d47f20a console log report info ci-gvisor-arm64-ptrace-1 panic: unknown host errno "memory page has hardware error" (NUM)
2024/09/03 16:45 gvisor fa49677e141d 8045124c console log report info ci-gvisor-arm64-systrap-1 panic: unknown host errno "memory page has hardware error" (NUM)
2024/09/02 14:10 gvisor fa49677e141d 1eda0d14 console log report info ci-gvisor-arm64-ptrace-1 panic: unknown host errno "memory page has hardware error" (NUM)
2024/09/01 17:38 gvisor fa49677e141d 1eda0d14 console log report info ci-gvisor-arm64-ptrace-1 panic: unknown host errno "memory page has hardware error" (NUM)
2024/08/31 18:59 gvisor fa49677e141d 1eda0d14 console log report info ci-gvisor-arm64-systrap-1 panic: unknown host errno "memory page has hardware error" (NUM)
2024/08/31 14:17 gvisor fa49677e141d 1eda0d14 console log report info ci-gvisor-arm64-ptrace-1 panic: unknown host errno "memory page has hardware error" (NUM)
2024/08/30 16:56 gvisor b1cbae9a5073 db150e23 console log report info ci-gvisor-arm64-systrap-1 panic: unknown host errno "memory page has hardware error" (NUM)
* Struck through repros no longer work on HEAD.