syzbot


fatal error: unexpected signal during runtime execution (2)

Status: auto-closed as invalid on 2021/11/23 20:00
Reported-by: syzbot+20188552f73454060078@syzkaller.appspotmail.com
First crash: 1188d, last: 1188d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor fatal error: unexpected signal during runtime execution syz 272 1394d 2083d 14/26 fixed on 2021/04/10 05:37
gvisor fatal error: unexpected signal during runtime execution (3) 9 606d 608d 26/26 fixed on 2023/03/31 20:51
gvisor fatal error: unexpected signal during runtime execution (4) C 811 501d 495d 0/26 moderation: reported C repro on 2023/07/19 20:03

Sample crash report:
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x416977]

goroutine 491719 [running]:
runtime.throw(0x1291d83, 0x2a)
	GOROOT/src/runtime/panic.go:1117 +0x72 fp=0xc113c08228 sp=0xc113c081f8 pc=0x438072
runtime.sigpanic()
	GOROOT/src/runtime/signal_unix.go:718 +0x2e5 fp=0xc113c08260 sp=0xc113c08228 pc=0x44fb05
runtime.heapBitsSetType(0xc0939f8800, 0x0, 0x0, 0x0)
	GOROOT/src/runtime/mbitmap.go:850 +0xb7 fp=0xc113c08340 sp=0xc113c08260 pc=0x416977
runtime.mallocgc(0x1f8, 0x1138340, 0x1, 0x0)
	GOROOT/src/runtime/malloc.go:1096 +0x5c5 fp=0xc113c083c8 sp=0xc113c08340 pc=0x40de25
runtime.newobject(0x1138340, 0x0)
	GOROOT/src/runtime/malloc.go:1177 +0x38 fp=0xc113c083f8 sp=0xc113c083c8 pc=0x40e318
gvisor.dev/gvisor/pkg/buffer.(*View).Clone(0xc0939f8600, 0x0)
	pkg/buffer/view.go:384 +0x31 fp=0xc113c08448 sp=0xc113c083f8 pc=0x914131
gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).CloneToInbound(0xc0927fea00, 0x0)
	pkg/tcpip/stack/packet_buffer.go:329 +0x33 fp=0xc113c08478 sp=0xc113c08448 pc=0x939dd3
gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleLocalPacket(0xc000447100, 0xc0927fea00, 0x1)
	pkg/tcpip/network/ipv4/ipv4.go:846 +0x8d fp=0xc113c08688 sp=0xc113c08478 pc=0xb0370d
gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacket(0xc000447100, 0xc0934a2320, 0xc0927fea00, 0xc0934a2300, 0x0, 0x0)
	pkg/tcpip/network/ipv4/ipv4.go:453 +0x51a fp=0xc113c088c0 sp=0xc113c08688 pc=0xb0133a
gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).WritePacket(0xc000447100, 0xc0934a2320, 0xe0e2004000000006, 0xc0927fea00, 0x1414, 0xc0939ed1ea)
	pkg/tcpip/network/ipv4/ipv4.go:445 +0x179 fp=0xc113c08930 sp=0xc113c088c0 pc=0xb00cb9
gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc0934a2320, 0x4000000006, 0xc0927fea00, 0x4, 0xe0e2)
	pkg/tcpip/stack/route.go:462 +0xad fp=0xc113c08970 sp=0xc113c08930 pc=0x93e88d
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.sendTCP(0xc0934a2320, 0x2, 0xc00a932f5c, 0x4, 0xe0e2, 0xc00a932f58, 0x4, 0x140040, 0x8a2d1d1f, 0x0, ...)
	pkg/tcpip/transport/tcp/connect.go:885 +0x285 fp=0xc113c0a7c0 sp=0xc113c08970 pc=0xac0325
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.replyWithReset(0xc000446300, 0xc0939f8400, 0x0, 0x0, 0x0)
	pkg/tcpip/transport/tcp/protocol.go:200 +0x1e5 fp=0xc113c0a918 sp=0xc113c0a7c0 pc=0xad1b05
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*protocol).HandleUnknownDestinationPacket(0xc00003af00, 0x2, 0xc00a932f5c, 0x4, 0xe0e2, 0xc00a932f58, 0x4, 0xc0927fe900, 0x0)
	pkg/tcpip/transport/tcp/protocol.go:158 +0x13b fp=0xc113c0a998 sp=0xc113c0a918 pc=0xad18db
gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverTransportPacket(0xc0001f5dc0, 0x6, 0xc0927fe900, 0x0)
	pkg/tcpip/stack/nic.go:834 +0x351 fp=0xc113c0aaa0 sp=0xc113c0a998 pc=0x937591
gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleValidatedPacket(0xc000447100, 0xc093490836, 0x14, 0x3c, 0xc0927fe900, 0xc0004b7230, 0x7)
	pkg/tcpip/network/ipv4/ipv4.go:1046 +0x8ec fp=0xc113c0b268 sp=0xc113c0aaa0 pc=0xb0412c
gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleLocalPacket(0xc000447100, 0xc0927fe900, 0x401)
	pkg/tcpip/network/ipv4/ipv4.go:855 +0x157 fp=0xc113c0b478 sp=0xc113c0b268 pc=0xb037d7
gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacket(0xc000447100, 0xc0934a2280, 0xc0927fe800, 0xc0934a2200, 0x0, 0x0)
	pkg/tcpip/network/ipv4/ipv4.go:453 +0x51a fp=0xc113c0b6b0 sp=0xc113c0b478 pc=0xb0133a
gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).WritePacket(0xc000447100, 0xc0934a2280, 0x2004000000006, 0xc0927fe800, 0x72000228, 0xc09349084a)
	pkg/tcpip/network/ipv4/ipv4.go:445 +0x179 fp=0xc113c0b720 sp=0xc113c0b6b0 pc=0xb00cb9
gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc0934a2280, 0x4000000006, 0xc0927fe800, 0xc0000f3788, 0x2)
	pkg/tcpip/stack/route.go:462 +0xad fp=0xc113c0b760 sp=0xc113c0b720 pc=0x93e88d
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.sendTCP(0xc0934a2280, 0xe0e2, 0xc00a932f18, 0x4, 0x2, 0xc00a932f18, 0x4, 0x8a2d1d1e00020040, 0x720000000000, 0xc0939c8300, ...)
	pkg/tcpip/transport/tcp/connect.go:885 +0x285 fp=0xc113c0d5b0 sp=0xc113c0b760 pc=0xac0325
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).sendTCP(0xc09375c700, 0xc0934a2280, 0xe0e2, 0xc00a932f18, 0x4, 0x2, 0xc00a932f18, 0x4, 0x8a2d1d1e00020000, 0x720000000000, ...)
	pkg/tcpip/transport/tcp/connect.go:777 +0xea fp=0xc113c0d680 sp=0xc113c0d5b0 pc=0xabf6ea
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).sendSynTCP(0xc09375c700, 0xc0934a2280, 0xe0e2, 0xc00a932f18, 0x4, 0x2, 0xc00a932f18, 0x4, 0x8a2d1d1e00020000, 0x720000000000, ...)
	pkg/tcpip/transport/tcp/connect.go:768 +0xdc fp=0xc113c0d760 sp=0xc113c0d680 pc=0xabf53c
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*handshake).start(0xc0939eb580)
	pkg/tcpip/transport/tcp/connect.go:509 +0x2da fp=0xc113c0d898 sp=0xc113c0d760 pc=0xabe35a
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).connect(0xc09375c700, 0xc000000000, 0xc00a932f18, 0x4, 0x2, 0x101, 0x0, 0x0)
	pkg/tcpip/transport/tcp/endpoint.go:2363 +0x83a fp=0xc113c0ef40 sp=0xc113c0d898 pc=0xacb57a
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).Connect(0xc09375c700, 0xc000000000, 0xc00a932f18, 0x4, 0xc00a930002, 0x4, 0xc0939f0002)
	pkg/tcpip/transport/tcp/endpoint.go:2096 +0x7c fp=0xc113c0f960 sp=0xc113c0ef40 pc=0xacac3c
gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).Connect(0xc093764890, 0xc093545500, 0xc00a932f20, 0x10, 0x10, 0x1, 0x0)
	pkg/sentry/socket/netstack/netstack.go:606 +0x364 fp=0xc113c0fa60 sp=0xc113c0f960 pc=0xb2ecc4
gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Connect(0xc093545500, 0x3, 0x200001c0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/vfs2/socket.go:275 +0x1bb fp=0xc113c0fb00 sp=0xc113c0fa60 pc=0xdffafb
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc093545500, 0x2a, 0x3, 0x200001c0, 0x10, 0x0, 0x0, 0x0, 0xe41490, 0x1265800, ...)
	pkg/sentry/kernel/task_syscall.go:103 +0x13c fp=0xc113c0fc60 sp=0xc113c0fb00 pc=0x9c397c
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc093545500, 0x2a, 0x3, 0x200001c0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_syscall.go:238 +0x66 fp=0xc113c0fce8 sp=0xc113c0fc60 pc=0x9c4b06
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc093545500, 0x2a, 0x3, 0x200001c0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_syscall.go:198 +0x98 fp=0xc113c0fd48 sp=0xc113c0fce8 pc=0x9c46f8
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc093545500, 0x2, 0xc093545500)
	pkg/sentry/kernel/task_syscall.go:173 +0x15c fp=0xc113c0fe18 sp=0xc113c0fd48 pc=0x9c409c
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc093545500, 0x13ce560, 0x0)
	pkg/sentry/kernel/task_run.go:282 +0xc8c fp=0xc113c0ff60 sp=0xc113c0fe18 pc=0x9b8d2c
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc093545500, 0x1fbd)
	pkg/sentry/kernel/task_run.go:97 +0x1af fp=0xc113c0ffd0 sp=0xc113c0ff60 pc=0x9b79af
runtime.goexit()
	src/runtime/asm_amd64.s:1371 +0x1 fp=0xc113c0ffd8 sp=0xc113c0ffd0 pc=0x472821
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:327 +0xfe

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/08/25 19:59 gvisor 18beb67703aa b599f2fc .config console log report info ci-gvisor-kvm fatal error: unexpected signal during runtime execution
* Struck through repros no longer work on HEAD.