syzbot


panic: unknown error: SIGBUS at ADDR

Status: fixed on 2021/08/31 06:11
Fix commit: dfbcb8903ae8 [syserr] Fix SIGBUS on syserr.FromError
First crash: 1198d, last: 1184d

Sample crash report:
panic: unknown error: SIGBUS at 0x7f596a40b080

goroutine 442 [running]:
panic(0x115f580, 0xc000a05be0)
	GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0008515c8 sp=0xc000851500 pc=0x437c65
gvisor.dev/gvisor/pkg/syserr.FromError(0x14e6d80, 0xc0005861d0, 0x0)
	pkg/syserr/syserr.go:320 +0x16f fp=0xc000851610 sp=0xc0008515c8 pc=0x72428f
gvisor.dev/gvisor/pkg/sentry/socket/unix.(*socketOpsCommon).SendMsg(0xc0005988b8, 0xc0008b4a80, 0x150a6b0, 0xc0007e4000, 0x0, 0x1, 0x20000080, 0x7ffff000, 0x100, 0x0, ...)
	pkg/sentry/socket/unix/unix.go:618 +0x271 fp=0xc000851820 sp=0xc000851610 pc=0xc11b51
gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc0008b4a80, 0x7f596a692bf8, 0xc000598840, 0xc000598840, 0x20008800, 0x0, 0x522f56, 0x3d, 0xac8a3)
	pkg/sentry/syscalls/linux/vfs2/socket.go:1376 +0x51e fp=0xc000851b08 sp=0xc000851820 pc=0xee7b1e
gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMsg(0xc0008b4a80, 0x5, 0x20008800, 0x0, 0x7f939f71dc80, 0x7f939f71dc80, 0x4020f0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/vfs2/socket.go:1202 +0x23c fp=0xc000851ba8 sp=0xc000851b08 pc=0xee6bbc
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0008b4a80, 0x2e, 0x5, 0x20008800, 0x0, 0x7f939f71dc80, 0x7f939f71dc80, 0x4020f0, 0x1, 0x1353be0, ...)
	pkg/sentry/kernel/task_syscall.go:115 +0x1b9 fp=0xc000851c68 sp=0xc000851ba8 pc=0xa4c6b9
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0008b4a80, 0x2e, 0x5, 0x20008800, 0x0, 0x7f939f71dc80, 0x7f939f71dc80, 0x4020f0, 0x7f939f71dc80, 0x4020f0)
	pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc000851cf0 sp=0xc000851c68 pc=0xa4d990
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0008b4a80, 0x2e, 0x5, 0x20008800, 0x0, 0x7f939f71dc80, 0x7f939f71dc80, 0x4020f0, 0xf36d50, 0xc000598760)
	pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc000851d50 sp=0xc000851cf0 pc=0xa4d474
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0008b4a80, 0x2, 0xc0008b4a80)
	pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc000851e20 sp=0xc000851d50 pc=0xa4cd58
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0008b4a80, 0x14e5260, 0x0)
	pkg/sentry/kernel/task_run.go:327 +0xe15 fp=0xc000851f60 sp=0xc000851e20 pc=0xa3fc15
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0008b4a80, 0xb)
	pkg/sentry/kernel/task_run.go:100 +0x1e2 fp=0xc000851fd0 sp=0xc000851f60 pc=0xa3e6a2
runtime.goexit()
	src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000851fd8 sp=0xc000851fd0 pc=0x472821
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:380 +0x116

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/08/17 05:24 gvisor bb13d015a4ff 33c26cb7 .config console log report syz C ci-gvisor-ptrace-1-cover panic: unknown error: SIGBUS at ADDR
2021/08/17 02:20 gvisor ce58d71fd526 33c26cb7 .config console log report syz C ci-gvisor-kvm panic: unknown error: SIGBUS at ADDR
2021/08/17 00:45 gvisor ce58d71fd526 33c26cb7 .config console log report syz C ci-gvisor-kvm-cover panic: unknown error: SIGBUS at ADDR
2021/08/16 22:55 gvisor ce58d71fd526 6652437d .config console log report syz C ci-gvisor-ptrace-1 panic: unknown error: SIGBUS at ADDR
2021/08/16 22:55 gvisor ce58d71fd526 6652437d .config console log report syz C ci-gvisor-ptrace-1-race panic: unknown error: SIGBUS at ADDR
2021/08/16 22:55 gvisor ce58d71fd526 6652437d .config console log report syz C ci-gvisor-ptrace-3-race panic: unknown error: SIGBUS at ADDR
2021/08/16 22:54 gvisor ce58d71fd526 6652437d .config console log report syz C ci-gvisor-ptrace-2-race panic: unknown error: SIGBUS at ADDR
2021/08/16 22:53 gvisor ce58d71fd526 6652437d .config console log report syz C ci-gvisor-ptrace-3-cover panic: unknown error: SIGBUS at ADDR
2021/08/16 22:48 gvisor ce58d71fd526 6652437d .config console log report syz C ci-gvisor-ptrace-2 panic: unknown error: SIGBUS at ADDR
2021/08/16 22:48 gvisor ce58d71fd526 6652437d .config console log report syz C ci-gvisor-ptrace-3 panic: unknown error: SIGBUS at ADDR
2021/08/16 22:33 gvisor ce58d71fd526 6652437d .config console log report syz C ci-gvisor-ptrace-2-cover panic: unknown error: SIGBUS at ADDR
2021/08/30 08:59 gvisor f7281c6cb9bb be2c130d .config console log report info ci-gvisor-ptrace-3-cover panic: unknown error: SIGBUS at ADDR
2021/08/24 18:54 gvisor 2c3d7cb074f2 b599f2fc .config console log report info ci-gvisor-kvm-cover panic: unknown error: SIGBUS at ADDR
2021/08/19 13:10 gvisor a4ae5fed32c0 a2fe1cb5 .config console log report info ci-gvisor-kvm panic: unknown error: SIGBUS at ADDR
2021/08/19 02:06 gvisor 216b740663bd a2fe1cb5 .config console log report info ci-gvisor-kvm-cover panic: unknown error: SIGBUS at ADDR
2021/08/16 12:49 gvisor ce58d71fd526 6652437d .config console log report info ci-gvisor-ptrace-2-cover panic: unknown error: SIGBUS at ADDR
2021/08/16 12:08 gvisor ce58d71fd526 6652437d .config console log report info ci-gvisor-ptrace-2-cover panic: unknown error: SIGBUS at ADDR
* Struck through repros no longer work on HEAD.