syzbot


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

Status: fixed on 2023/10/05 23:05
Fix commit: f744f443dd7d Check before attempting to mount an anon mountpoint.
First crash: 433d, last: 419d
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 (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 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 (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=0x172cc6b]

goroutine 278 [running]:
panic({0x30b5c0, 0x24db890})
	GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc000aaeeb8 sp=0xc000aaedf8 pc=0x11de4db
runtime.panicmem(...)
	GOROOT/src/runtime/panic.go:260
runtime.sigpanic()
	GOROOT/src/runtime/signal_unix.go:837 +0x37d fp=0xc000aaef18 sp=0xc000aaeeb8 pc=0x11f73bd
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).ConnectMountAt(0xc000228560, {0x7badc0, 0xc000528a80}, 0x0?, 0x0?, 0x0?)
	pkg/sentry/vfs/mount.go:224 +0x1cb fp=0xc000aaf058 sp=0xc000aaef18 pc=0x172cc6b
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).MountAt(0xc000190400?, {0x7badc0, 0xc000528a80}, 0xc00043c400?, {0x0, 0x0}, 0x0?, {0xc00043c600, 0x6}, 0xc000aaf350)
	pkg/sentry/vfs/mount.go:374 +0x18e fp=0xc000aaf158 sp=0xc000aaf058 pc=0x172e44e
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Mount(0xc000528a80, 0x0?, {{0x200004c0}, {0x20000140}, {0x20000080}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/syscalls/linux/sys_mount.go:127 +0x585 fp=0xc000aaf480 sp=0xc000aaf158 pc=0x1c7a005
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000528a80, 0xa5, {{0x200004c0}, {0x20000140}, {0x20000080}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:142 +0x9c2 fp=0xc000aaf960 sp=0xc000aaf480 pc=0x1a6f882
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000528a80, 0x0?, {{0x200004c0}, {0x20000140}, {0x20000080}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:322 +0x7d fp=0xc000aaf9f8 sp=0xc000aaf960 pc=0x1a7167d
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000621040?, 0xc0003520f0?, {{0x200004c0}, {0x20000140}, {0x20000080}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:282 +0x8f fp=0xc000aafa70 sp=0xc000aaf9f8 pc=0x1a7102f
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000528a80)
	pkg/sentry/kernel/task_syscall.go:257 +0x4c5 fp=0xc000aafb98 sp=0xc000aafa70 pc=0x1a70bc5
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000528a80?, 0xc000528a80)
	pkg/sentry/kernel/task_run.go:269 +0x1d4b fp=0xc000aafe70 sp=0xc000aafb98 pc=0x1a5b1cb
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000528a80, 0x8)
	pkg/sentry/kernel/task_run.go:98 +0x41b fp=0xc000aaffb0 sp=0xc000aafe70 pc=0x1a58a5b
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1()
	pkg/sentry/kernel/task_start.go:390 +0x48 fp=0xc000aaffe0 sp=0xc000aaffb0 pc=0x1a6d388
runtime.goexit()
	src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000aaffe8 sp=0xc000aaffe0 pc=0x12173c1
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:390 +0x1ad

Crashes (79):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/20 13:53 gvisor 4cd842b20a3c 0b6a67ac .config console log report syz C ci-gvisor-ptrace-2-race panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 13:49 gvisor 4cd842b20a3c 0b6a67ac .config console log report syz C ci-gvisor-systrap-1-race panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 13:22 gvisor 4cd842b20a3c 0b6a67ac .config console log report syz C ci-gvisor-ptrace-1-race panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 12:56 gvisor 4cd842b20a3c 0b6a67ac .config console log report syz C ci-gvisor-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 12:29 gvisor 4cd842b20a3c 0b6a67ac console log report syz C ci-gvisor-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 11:48 gvisor 4cd842b20a3c 0b6a67ac .config console log report syz C ci-gvisor-ptrace-3-race panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 11:36 gvisor 4cd842b20a3c 0b6a67ac console log report syz C ci-gvisor-systrap-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 11:35 gvisor 4cd842b20a3c 0b6a67ac .config console log report syz C ci-gvisor-ptrace-3-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 11:29 gvisor 4cd842b20a3c 0b6a67ac .config console log report syz C ci-gvisor-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 11:29 gvisor 4cd842b20a3c 0b6a67ac .config console log report syz C ci-gvisor-ptrace-2-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 11:27 gvisor 4cd842b20a3c 0b6a67ac console log report syz C ci-gvisor-ptrace-2 panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 11:01 gvisor 4cd842b20a3c 7c97d670 .config console log report syz C ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 11:00 gvisor 4cd842b20a3c 0b6a67ac console log report syz C ci-gvisor-ptrace-3 panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 11:00 gvisor 4cd842b20a3c 7c97d670 console log report syz C ci-gvisor-kvm panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 17:54 gvisor 4cd842b20a3c 0b6a67ac .config console log report syz C ci-gvisor-arm64-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 12:56 gvisor 4cd842b20a3c 0b6a67ac console log report syz C ci-gvisor-arm64-systrap-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 10:57 gvisor 640ec03f92ad 0b6a67ac console log report syz C ci-gvisor-arm64-ptrace-1 panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 12:48 gvisor 4cd842b20a3c 0b6a67ac .config console log report syz ci-gvisor-ptrace-3-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 12:41 gvisor 4cd842b20a3c 0b6a67ac .config console log report syz ci-gvisor-ptrace-2-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 10:41 gvisor 640ec03f92ad 0b6a67ac .config console log report syz ci-gvisor-arm64-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/10/04 09:11 gvisor 122923b14bac 65faba36 .config console log report info ci-gvisor-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/10/04 07:39 gvisor 122923b14bac 65faba36 .config console log report info ci-gvisor-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/10/03 18:23 gvisor 122923b14bac 65faba36 .config console log report info ci-gvisor-ptrace-1-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/10/03 02:51 gvisor 0e18a826d91d 65faba36 .config console log report info ci-gvisor-ptrace-1-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/10/02 23:56 gvisor 0e18a826d91d 65faba36 .config console log report info ci-gvisor-ptrace-1-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/10/02 21:27 gvisor 0e18a826d91d 50b20e75 console log report info ci-gvisor-ptrace-3 panic: runtime error: invalid memory address or nil pointer dereference
2023/10/02 11:25 gvisor 0e18a826d91d 50b20e75 .config console log report info ci-gvisor-ptrace-1-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/10/02 09:16 gvisor 0e18a826d91d 8e26a358 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/10/02 01:02 gvisor 0e18a826d91d 8e26a358 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/10/01 18:59 gvisor 0e18a826d91d 8e26a358 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/10/01 14:19 gvisor 0e18a826d91d 8e26a358 .config console log report info ci-gvisor-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/30 14:40 gvisor 0e18a826d91d 8e26a358 .config console log report info ci-gvisor-ptrace-3-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/30 09:29 gvisor 0e18a826d91d 8e26a358 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/30 01:42 gvisor 0e18a826d91d 8e26a358 .config console log report info ci-gvisor-systrap-1-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/29 18:18 gvisor 0e18a826d91d 8e26a358 .config console log report info ci-gvisor-ptrace-1-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/29 16:48 gvisor 0e18a826d91d 8e26a358 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/29 08:31 gvisor 0e18a826d91d d265efd8 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/29 04:40 gvisor 0e18a826d91d d265efd8 .config console log report info ci-gvisor-ptrace-1-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/28 21:03 gvisor 0e18a826d91d 0aebb3ae .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/28 13:30 gvisor 0e18a826d91d 0aebb3ae .config console log report info ci-gvisor-ptrace-3-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/28 00:22 gvisor 7594667507d7 c2ab1e5d .config console log report info ci-gvisor-ptrace-1-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/27 23:00 gvisor 7594667507d7 c2ab1e5d .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/27 21:24 gvisor 7594667507d7 2895a507 .config console log report info ci-gvisor-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/27 17:33 gvisor 7594667507d7 2895a507 .config console log report info ci-gvisor-ptrace-2-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/27 14:47 gvisor 7594667507d7 2895a507 .config console log report info ci-gvisor-ptrace-2-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/27 10:50 gvisor 7594667507d7 2895a507 .config console log report info ci-gvisor-ptrace-2-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/27 09:06 gvisor 7594667507d7 0b6a67ac .config console log report info ci-gvisor-ptrace-2-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/26 16:00 gvisor 485de2f6a71b 0b6a67ac .config console log report info ci-gvisor-ptrace-1-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/26 11:35 gvisor 485de2f6a71b 0b6a67ac .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/26 09:38 gvisor 485de2f6a71b 7c97d670 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/26 09:28 gvisor 485de2f6a71b 0b6a67ac .config console log report info ci-gvisor-ptrace-1-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/26 08:09 gvisor 485de2f6a71b 7c97d670 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/26 03:31 gvisor 485de2f6a71b 0b6a67ac .config console log report info ci-gvisor-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/25 18:03 gvisor e81e0c72a70b 7c97d670 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/25 14:58 gvisor e81e0c72a70b 0b6a67ac .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/25 10:45 gvisor e81e0c72a70b 0b6a67ac .config console log report info ci-gvisor-ptrace-2-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/25 05:19 gvisor e81e0c72a70b 0b6a67ac .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/23 22:29 gvisor e81e0c72a70b 0b6a67ac .config console log report info ci-gvisor-systrap-1-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/23 18:28 gvisor e81e0c72a70b 0b6a67ac .config console log report info ci-gvisor-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/23 17:09 gvisor e81e0c72a70b 0b6a67ac .config console log report info ci-gvisor-ptrace-1-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/23 13:23 gvisor e81e0c72a70b 7c97d670 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/23 11:42 gvisor e81e0c72a70b 7c97d670 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/22 19:31 gvisor 19250b87ede7 0b6a67ac .config console log report info ci-gvisor-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/22 16:52 gvisor 19250b87ede7 0b6a67ac .config console log report info ci-gvisor-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/22 00:50 gvisor 222147462633 7c97d670 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/21 13:11 gvisor 1531147bf2e9 7c97d670 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/21 07:52 gvisor 1531147bf2e9 0b6a67ac .config console log report info ci-gvisor-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 22:24 gvisor 1531147bf2e9 0b6a67ac .config console log report info ci-gvisor-systrap-1-race-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/10/02 06:45 gvisor 0e18a826d91d 8e26a358 .config console log report info ci-gvisor-arm64-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/10/01 01:43 gvisor 0e18a826d91d 8e26a358 .config console log report info ci-gvisor-arm64-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/30 19:35 gvisor 0e18a826d91d 8e26a358 .config console log report info ci-gvisor-arm64-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/20 10:31 gvisor 640ec03f92ad 0b6a67ac .config console log report info ci-gvisor-arm64-ptrace-1-cover panic: runtime error: invalid memory address or nil pointer dereference
* Struck through repros no longer work on HEAD.