syzbot


panic: Unknown error: header is malformed

Status: moderation: reported C repro on 2021/09/24 19:36
Reported-by: syzbot+817e269561ff957d64a1@syzkaller.appspotmail.com
First crash: 1417d, last: 1417d

Sample crash report:
panic: Unknown error: header is malformed

goroutine 792 [running]:
panic(0xfd2320, 0xc000330420)
	GOROOT/src/runtime/panic.go:1064 +0x470 fp=0xc0005e5528 sp=0xc0005e5470 pc=0x437110
gvisor.dev/gvisor/pkg/syserr.TranslateNetstackError(...)
	pkg/syserr/netstack.go:113
gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc000843b70, 0xc0008be000, 0x1323200, 0xc0008ba000, 0xc000606e00, 0x2, 0x0, 0x10011, 0x100, 0xc000505ac0, ...)
	pkg/sentry/socket/netstack/netstack.go:3027 +0xf06 fp=0xc0005e5818 sp=0xc0005e5528 pc=0xb30426
gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc0008be000, 0x7fcf8ad87bd8, 0xc000843b00, 0xc000843b00, 0x200002c0, 0xc000000000, 0xfff, 0x10001ff0000, 0x5e5a78)
	pkg/sentry/syscalls/linux/vfs2/socket.go:1051 +0x3f5 fp=0xc0005e5a58 sp=0xc0005e5818 pc=0xda4f35
gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMsg(0xc0008be000, 0x3, 0x200002c0, 0x0, 0x4, 0x1, 0x1, 0x0, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/vfs2/socket.go:929 +0x225 fp=0xc0005e5af8 sp=0xc0005e5a58 pc=0xda4305
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0008be000, 0x2e, 0x3, 0x200002c0, 0x0, 0x4, 0x1, 0x1, 0xdde617, 0x11a9b00, ...)
	pkg/sentry/kernel/task_syscall.go:104 +0x13c fp=0xc0005e5c58 sp=0xc0005e5af8 pc=0x9d2a1c
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0008be000, 0x2e, 0x3, 0x200002c0, 0x0, 0x4, 0x1, 0x1, 0x1, 0x1)
	pkg/sentry/kernel/task_syscall.go:239 +0x66 fp=0xc0005e5ce0 sp=0xc0005e5c58 pc=0x9d3be6
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0008be000, 0x2e, 0x3, 0x200002c0, 0x0, 0x4, 0x1, 0x1, 0x0, 0x0)
	pkg/sentry/kernel/task_syscall.go:199 +0x98 fp=0xc0005e5d40 sp=0xc0005e5ce0 pc=0x9d3798
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0008be000, 0x2, 0xc0008be000)
	pkg/sentry/kernel/task_syscall.go:174 +0x15c fp=0xc0005e5e10 sp=0xc0005e5d40 pc=0x9d313c
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0008be000, 0x12fa5a0, 0x0)
	pkg/sentry/kernel/task_run.go:282 +0xc45 fp=0xc0005e5f60 sp=0xc0005e5e10 pc=0x9c7545
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0008be000, 0x1c)
	pkg/sentry/kernel/task_run.go:97 +0x1af fp=0xc0005e5fd0 sp=0xc0005e5f60 pc=0x9c620f
runtime.goexit()
	src/runtime/asm_amd64.s:1374 +0x1 fp=0xc0005e5fd8 sp=0xc0005e5fd0 pc=0x470681
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:323 +0xfe

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/08 20:14 gvisor 7817e3b5e420 c104d4a3 .config console log report syz C ci-gvisor-kvm
2021/01/08 19:49 gvisor bf343394d498 c104d4a3 .config console log report syz C ci-gvisor-ptrace-2-race
2021/01/08 19:47 gvisor bf343394d498 c104d4a3 .config console log report syz C ci-gvisor-ptrace-2-cover
2021/01/08 19:47 gvisor bf343394d498 c104d4a3 .config console log report syz C ci-gvisor-ptrace-1-race
2021/01/08 19:40 gvisor bf343394d498 c104d4a3 .config console log report syz C ci-gvisor-ptrace-2
2021/01/08 19:40 gvisor bf343394d498 c104d4a3 .config console log report syz C ci-gvisor-ptrace-1
2021/01/08 19:28 gvisor bf343394d498 c104d4a3 .config console log report syz C ci-gvisor-ptrace-1-cover
2021/01/08 19:19 gvisor bf343394d498 c104d4a3 .config console log report info ci-gvisor-ptrace-1-cover
* Struck through repros no longer work on HEAD.