syzbot


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

Status: fixed on 2023/02/28 09:05
Fix commit: 8a1845f8b850 Don't send a signal to a controlling thread group if one has not been set.
First crash: 638d, last: 637d
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 (22) 1 362d 362d 26/26 fixed on 2023/12/01 06:13
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 4d12h 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 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 4d11h 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=0x1aea3c0]

goroutine 96 [running]:
panic({0x319340, 0x26ce7b0})
	GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc000984a28 sp=0xc000984968 pc=0x11b31fb
runtime.panicmem(...)
	GOROOT/src/runtime/panic.go:260
runtime.sigpanic()
	GOROOT/src/runtime/signal_unix.go:837 +0x37d fp=0xc000984a88 sp=0xc000984a28 pc=0x11cc0bd
gvisor.dev/gvisor/pkg/sentry/kernel.(*TTY).SignalForegroundProcessGroup(0xc00058e978, 0x1?)
	pkg/sentry/kernel/tty.go:54 +0xe0 fp=0xc000984b80 sp=0xc000984a88 pc=0x1aea3c0
gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*inputQueueTransformer).transform(0xc0001455c0, 0xc0003fa000, 0xc0003fa010, {0xc0008d0000, 0x20000, 0x20000})
	pkg/sentry/fsimpl/devpts/line_discipline.go:407 +0x585 fp=0xc000984dd0 sp=0xc000984b80 pc=0x2075fa5
gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*queue).pushWaitBufLocked(0xc0003fa010, 0xc00064aa80?)
	pkg/sentry/fsimpl/devpts/queue.go:219 +0x1e2 fp=0xc000984e80 sp=0xc000984dd0 pc=0x207abe2
gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*queue).read(0xc0003fa010, {0x742e18, 0xc00064aa80}, {{0x73d350, 0xc000a8c000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...)
	pkg/sentry/fsimpl/devpts/queue.go:140 +0x507 fp=0xc000985078 sp=0xc000984e80 pc=0x2079907
gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*lineDiscipline).inputQueueRead(0xc0003fa000, {0x742e18, 0xc00064aa80}, {{0x73d350, 0xc000a8c000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}})
	pkg/sentry/fsimpl/devpts/line_discipline.go:197 +0xd7 fp=0xc000985110 sp=0xc000985078 pc=0x20742b7
gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*replicaFileDescription).Read(0xc000922500, {0x742e18, 0xc00064aa80}, {{0x73d350, 0xc000a8c000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...)
	pkg/sentry/fsimpl/devpts/replica.go:142 +0xf7 fp=0xc000985198 sp=0xc000985110 pc=0x207bfd7
gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Read(0xc000922500, {0x742e18, 0xc00064aa80}, {{0x73d350, 0xc000a8c000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...)
	pkg/sentry/vfs/file_description.go:643 +0x16b fp=0xc000985278 sp=0xc000985198 pc=0x172934b
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.read(0x0?, 0x1ce4960?, {{0x73d350, 0xc000a8c000}, {0x0, 0x0, 0x0, 0x0}, {0x0, 0x1}}, ...)
	pkg/sentry/syscalls/linux/sys_read_write.go:93 +0xae fp=0xc000985408 sp=0xc000985278 pc=0x1d1072e
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Readv(0xc00064aa80, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}})
	pkg/sentry/syscalls/linux/sys_read_write.go:87 +0x32f fp=0xc0009855a8 sp=0xc000985408 pc=0x1d1038f
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00064aa80, 0x13, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:142 +0xab7 fp=0xc0009859c0 sp=0xc0009855a8 pc=0x1ad8277
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00064aa80, 0x1?, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:322 +0x8e fp=0xc000985a60 sp=0xc0009859c0 pc=0x1ada38e
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0006480f0?, 0xc000985b8f?, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:282 +0xc5 fp=0xc000985ad8 sp=0xc000985a60 pc=0x1ad9c85
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00064aa80)
	pkg/sentry/kernel/task_syscall.go:257 +0x53b fp=0xc000985c00 sp=0xc000985ad8 pc=0x1ad979b
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00064aa80?, 0xc00064aa80)
	pkg/sentry/kernel/task_run.go:265 +0x22b4 fp=0xc000985ec0 sp=0xc000985c00 pc=0x1ac2514
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00064aa80, 0x8)
	pkg/sentry/kernel/task_run.go:94 +0x2cc fp=0xc000985fb0 sp=0xc000985ec0 pc=0x1abf88c
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1()
	pkg/sentry/kernel/task_start.go:377 +0x48 fp=0xc000985fe0 sp=0xc000985fb0 pc=0x1ad5968
runtime.goexit()
	src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000985fe8 sp=0xc000985fe0 pc=0x11ec0a1
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:377 +0x1da

Crashes (753):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/27 10:59 gvisor 8184fa1db0fa 9189cb53 .config console log report syz C ci-gvisor-ptrace-3-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 10:58 gvisor 8184fa1db0fa 9189cb53 console log report syz C ci-gvisor-ptrace-2 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 10:57 gvisor 8184fa1db0fa 9189cb53 console log report syz C ci-gvisor-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 10:50 gvisor 8184fa1db0fa 95aee97a console log report syz C ci-gvisor-kvm panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 10:50 gvisor 8184fa1db0fa 9189cb53 .config console log report syz C ci-gvisor-ptrace-1-race panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 10:50 gvisor 8184fa1db0fa 9189cb53 .config console log report syz C ci-gvisor-ptrace-2-race panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 10:39 gvisor 8184fa1db0fa 95aee97a console log report syz C ci-gvisor-kvm panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:58 gvisor 8184fa1db0fa 9189cb53 .config console log report syz C ci-gvisor-ptrace-2-race panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:35 gvisor 8184fa1db0fa 95aee97a .config console log report syz C ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:35 gvisor 8184fa1db0fa 9189cb53 console log report syz C ci-gvisor-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:28 gvisor 8184fa1db0fa 9189cb53 .config console log report syz C ci-gvisor-ptrace-1-race panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:06 gvisor 8184fa1db0fa 9189cb53 console log report syz C ci-gvisor-ptrace-2 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:00 gvisor 8184fa1db0fa 9189cb53 console log report syz C ci-gvisor-ptrace-3 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 08:57 gvisor 8184fa1db0fa 9189cb53 .config console log report syz C ci-gvisor-ptrace-3-race panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 08:55 gvisor 8184fa1db0fa 9189cb53 .config console log report syz C ci-gvisor-ptrace-3-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 08:53 gvisor 8184fa1db0fa 9189cb53 .config console log report syz C ci-gvisor-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 08:42 gvisor 8184fa1db0fa 9189cb53 .config console log report syz C ci-gvisor-ptrace-2-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 08:14 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-ptrace-3 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 07:25 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 06:34 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 06:34 gvisor 426deb60fd25 95aee97a .config console log report info ci-gvisor-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 04:47 gvisor 426deb60fd25 95aee97a .config console log report info ci-gvisor-ptrace-1-race panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 03:32 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-ptrace-3 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 01:34 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-ptrace-2 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 00:45 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-ptrace-2 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 00:17 gvisor 426deb60fd25 95aee97a .config console log report info ci-gvisor-ptrace-2-race panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 23:47 gvisor 426deb60fd25 95aee97a .config console log report info ci-gvisor-ptrace-3-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 23:34 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 23:12 gvisor 426deb60fd25 95aee97a .config console log report info ci-gvisor-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 21:54 gvisor 426deb60fd25 95aee97a .config console log report info ci-gvisor-ptrace-2-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 19:28 gvisor 426deb60fd25 9189cb53 .config console log report info ci-gvisor-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 18:30 gvisor 426deb60fd25 9189cb53 .config console log report info ci-gvisor-ptrace-3-race panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 17:39 gvisor 8184fa1db0fa 95aee97a .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 16:39 gvisor 8184fa1db0fa 95aee97a .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 15:48 gvisor 8184fa1db0fa 9189cb53 .config console log report info ci-gvisor-ptrace-2-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 15:13 gvisor 8184fa1db0fa 9189cb53 .config console log report info ci-gvisor-ptrace-2-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 14:51 gvisor 8184fa1db0fa 95aee97a .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 14:26 gvisor 8184fa1db0fa 9189cb53 console log report info ci-gvisor-ptrace-2 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 13:02 gvisor 8184fa1db0fa 9189cb53 .config console log report info ci-gvisor-ptrace-1-race panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 12:26 gvisor 8184fa1db0fa 9189cb53 .config console log report info ci-gvisor-ptrace-1-race panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 11:38 gvisor 8184fa1db0fa 9189cb53 .config console log report info ci-gvisor-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 10:23 gvisor 8184fa1db0fa 95aee97a console log report info ci-gvisor-kvm panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:48 gvisor 8184fa1db0fa 9189cb53 .config console log report info ci-gvisor-ptrace-2-race panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:45 gvisor 8184fa1db0fa 9189cb53 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:44 gvisor 8184fa1db0fa 9189cb53 console log report info ci-gvisor-ptrace-3 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:44 gvisor 8184fa1db0fa 9189cb53 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:43 gvisor 8184fa1db0fa 9189cb53 .config console log report info ci-gvisor-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:36 gvisor 8184fa1db0fa 9189cb53 console log report info ci-gvisor-ptrace-3 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:31 gvisor 8184fa1db0fa 9189cb53 .config console log report info ci-gvisor-ptrace-3-race panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:29 gvisor 8184fa1db0fa 9189cb53 console log report info ci-gvisor-ptrace-2 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:21 gvisor 8184fa1db0fa 9189cb53 .config console log report info ci-gvisor-ptrace-1-race panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:06 gvisor 8184fa1db0fa 9189cb53 console log report info ci-gvisor-ptrace-3 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:05 gvisor 8184fa1db0fa 9189cb53 .config console log report info ci-gvisor-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 05:33 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 04:13 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 02:50 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 02:08 gvisor 426deb60fd25 95aee97a .config console log report info ci-gvisor-arm64-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/02/28 01:12 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 22:29 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 21:10 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 20:28 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 17:42 gvisor 426deb60fd25 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 16:15 gvisor 8184fa1db0fa 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 13:39 gvisor 8184fa1db0fa 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:43 gvisor 8184fa1db0fa 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:38 gvisor 8184fa1db0fa 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:17 gvisor 8184fa1db0fa 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:14 gvisor 8184fa1db0fa 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:12 gvisor 8184fa1db0fa 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:10 gvisor 8184fa1db0fa 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/02/27 09:06 gvisor 8184fa1db0fa 95aee97a console log report info ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
* Struck through repros no longer work on HEAD.