syzbot


panic: runtime error: invalid memory address or nil pointer dereference (22)

Status: fixed on 2023/12/01 06:13
Fix commit: 4733e050ebec Check that handshake.listenEP is non-nil.
First crash: 362d, last: 362d
Similar bugs (25)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: runtime error: invalid memory address or nil pointer dereference (18) 4 444d 445d 26/26 fixed on 2023/09/13 00:17
gvisor panic: runtime error: invalid memory address or nil pointer dereference (9) C 262 1025d 1021d 14/26 fixed on 2022/02/10 01:56
gvisor panic: runtime error: invalid memory address or nil pointer dereference (7) C 45305 1126d 1155d 14/26 fixed on 2021/10/27 00:49
gvisor panic: runtime error: invalid memory address or nil pointer dereference (3) C 20051 1547d 2083d 0/26 fixed on 2020/09/09 05:34
gvisor panic: runtime error: invalid memory address or nil pointer dereference (23) C 4239 252d 257d 26/26 fixed on 2024/03/19 11:42
gvisor panic: runtime error: invalid memory address or nil pointer dereference (10) C 11 977d 983d 14/26 fixed on 2022/03/25 11:21
gvisor panic: runtime error: invalid memory address or nil pointer dereference (12) C 31 676d 738d 18/26 fixed on 2023/01/23 05:20
gvisor panic: runtime error: invalid memory address or nil pointer dereference (26) C 7905 4d13h 13d 26/26 fixed on 2024/11/22 02:29
gvisor panic: runtime error: invalid memory address or nil pointer dereference (21) 1 377d 377d 26/26 fixed on 2023/11/17 08:30
gvisor panic: runtime error: invalid memory address or nil pointer dereference (14) C 753 637d 638d 18/26 fixed on 2023/02/28 09:05
gvisor panic: runtime error: invalid memory address or nil pointer dereference C 20682 2295d 2348d 0/26 fixed on 2018/08/19 04:32
gvisor panic: runtime error: invalid memory address or nil pointer dereference (25) 1 114d 114d 26/26 fixed on 2024/08/06 09:03
gvisor panic: runtime error: invalid memory address or nil pointer dereference (27) C 1117 3d02h 4d12h 26/26 fixed on 2024/11/23 14:37
gvisor panic: runtime error: invalid memory address or nil pointer dereference (24) 92 245d 246d 0/26 closed as invalid on 2024/03/26 13:32
gvisor panic: runtime error: invalid memory address or nil pointer dereference (13) C 2752 638d 641d 18/26 fixed on 2023/02/27 08:23
gvisor panic: runtime error: invalid memory address or nil pointer dereference (8) C 214 1028d 1053d 14/26 fixed on 2022/02/01 22:27
gvisor panic: runtime error: invalid memory address or nil pointer dereference (2) C 4493 2271d 2291d 0/26 fixed on 2018/10/15 18:31
gvisor panic: runtime error: invalid memory address or nil pointer dereference (17) 2 480d 480d 26/26 fixed on 2023/08/04 01:52
gvisor panic: runtime error: invalid memory address or nil pointer dereference (5) syz 62 1421d 1465d 14/26 fixed on 2021/01/06 10:11
gvisor panic: runtime error: invalid memory address or nil pointer dereference (11) C 2733 746d 840d 14/26 fixed on 2022/11/11 17:56
gvisor panic: runtime error: invalid memory address or nil pointer dereference (19) C 79 419d 433d 26/26 fixed on 2023/10/05 23:05
gvisor panic: runtime error: invalid memory address or nil pointer dereference (20) C 8 390d 397d 26/26 fixed on 2023/11/02 02:06
gvisor panic: runtime error: invalid memory address or nil pointer dereference (16) C 48 483d 490d 26/26 fixed on 2023/08/02 12:57
gvisor panic: runtime error: invalid memory address or nil pointer dereference (15) 1 530d 530d 26/26 fixed on 2023/07/12 19:22
gvisor panic: runtime error: invalid memory address or nil pointer dereference (4) C 4 1481d 1500d 0/26 fixed on 2020/11/13 09:22

Sample crash report:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1b575ac]

goroutine 658 [running]:
panic({0x30c940?, 0x231ea80?})
	GOROOT/src/runtime/panic.go:1017 +0x3cc fp=0xc005b6c380 sp=0xc005b6c2d0 pc=0x12e72fc
runtime.panicmem(...)
	GOROOT/src/runtime/panic.go:261
runtime.sigpanic()
	GOROOT/src/runtime/signal_unix.go:861 +0x30c fp=0xc005b6c3e0 sp=0xc005b6c380 pc=0x130100c
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*handshake).synRcvdState(0xc005e9b9e0, 0xc0001fe500)
	pkg/tcpip/transport/tcp/connect.go:414 +0x18c fp=0xc005b6d7d0 sp=0xc005b6c3f0 pc=0x1b575ac
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*handshake).handleSegment(0xc005e9b9e0, 0xc0001fe500)
	pkg/tcpip/transport/tcp/connect.go:533 +0x11c fp=0xc005b6d820 sp=0xc005b6d7d0 pc=0x1b5852c
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*handshake).processSegments(0xc005e9b9e0)
	pkg/tcpip/transport/tcp/connect.go:550 +0x80 fp=0xc005b6d880 sp=0xc005b6d820 pc=0x1b58630
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).handleConnecting(0xc0089c2468?, 0xc0089c2300)
	pkg/tcpip/transport/tcp/dispatcher.go:148 +0xac fp=0xc005b6de70 sp=0xc005b6d880 pc=0x1b608bc
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc0001efb30, 0xc000d1c678)
	pkg/tcpip/transport/tcp/dispatcher.go:310 +0x204 fp=0xc005b6dfa0 sp=0xc005b6de70 pc=0x1b615c4
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init.func2()
	pkg/tcpip/transport/tcp/dispatcher.go:391 +0x44 fp=0xc005b6dfd0 sp=0xc005b6dfa0 pc=0x1b61c24
runtime.goexit()
	src/runtime/asm_arm64.s:1197 +0x4 fp=0xc005b6dfd0 sp=0xc005b6dfd0 pc=0x1320dd4
created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init in goroutine 324
	pkg/tcpip/transport/tcp/dispatcher.go:391 +0x184

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/30 04:35 gvisor a7d2bf12c2a3 f819d6f7 .config console log report info ci-gvisor-arm64-ptrace-1-race panic: runtime error: invalid memory address or nil pointer dereference
* Struck through repros no longer work on HEAD.