syzbot


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

Status: fixed on 2023/09/13 00:17
Fix commit: bb4410f44e32 Rollback 6ceceae9385c and 206e88db3653.
First crash: 445d, last: 444d
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 (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 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=0x78870a]

goroutine 1871020 [running]:
panic({0x115d8e0, 0x2a26170})
	GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc002522af0 sp=0xc002522a30 pc=0x436abb
runtime.panicmem(...)
	GOROOT/src/runtime/panic.go:260
runtime.sigpanic()
	GOROOT/src/runtime/signal_unix.go:837 +0x37d fp=0xc002522b50 sp=0xc002522af0 pc=0x44e0fd
gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).IncRef(0x114bde0?)
	pkg/sentry/vfs/mount.go:644 +0xa fp=0xc002522b58 sp=0xc002522b50 pc=0x78870a
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0001381e0, {0x15350a0, 0xc00fc9ca80}, 0xc00a641510, 0xc00a641520, 0xc000d9a140, 0x0)
	pkg/sentry/vfs/namespace.go:138 +0x1b2 fp=0xc002522c28 sp=0xc002522b58 pc=0x78e092
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0001381e0, {0x15350a0, 0xc00fc9ca80}, 0xc00a641510, 0xc00a641520, 0xc00034bf40, 0x0)
	pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc002522cf8 sp=0xc002522c28 pc=0x78e15a
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0001381e0, {0x15350a0, 0xc00fc9ca80}, 0xc00a641510, 0xc00a641520, 0xc0089390e0, 0xc0022f8e60)
	pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc002522dc8 sp=0xc002522cf8 pc=0x78e15a
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0001381e0, {0x15350a0, 0xc00fc9ca80}, 0xc00a641510, 0xc00a641520, 0xc000137ae0, 0xc0022f8dc0)
	pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc002522e98 sp=0xc002522dc8 pc=0x78e15a
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0001381e0, {0x15350a0, 0xc00fc9ca80}, 0xc00a641510, 0xc00a641520, 0xc003229f40, 0xc0022f8d20)
	pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc002522f68 sp=0xc002522e98 pc=0x78e15a
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0001381e0, {0x15350a0, 0xc00fc9ca80}, 0xc00a641510, 0xc00a641520, 0xc003229ea0, 0xc0022f8c80)
	pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc002523038 sp=0xc002522f68 pc=0x78e15a
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0001381e0, {0x15350a0, 0xc00fc9ca80}, 0xc00a641510, 0xc00a641520, 0xc0049ec8c0, 0xc0022f8be0)
	pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc002523108 sp=0xc002523038 pc=0x78e15a
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0001381e0, {0x15350a0, 0xc00fc9ca80}, 0xc00a641510, 0xc00a641520, 0xc0049ec640, 0xc0022f8b40)
	pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc0025231d8 sp=0xc002523108 pc=0x78e15a
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0001381e0, {0x15350a0, 0xc00fc9ca80}, 0xc00a641510, 0xc00a641520, 0xc0049ed360, 0xc0022f8aa0)
	pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc0025232a8 sp=0xc0025231d8 pc=0x78e15a
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0001381e0, {0x15350a0, 0xc00fc9ca80}, 0xc00a641510, 0xc00a641520, 0xc00034b400, 0xc0022f88c0)
	pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc002523378 sp=0xc0025232a8 pc=0x78e15a
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).CloneMountNamespace(0xc0001381e0, {0x15350a0, 0xc00fc9ca80}, 0xc0009323c0, 0xc0006c0f00, 0x0?, 0x0?, {0x1518e20, 0xc000138000})
	pkg/sentry/vfs/namespace.go:181 +0x285 fp=0xc002523440 sp=0xc002523378 pc=0x78e465
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc00fc9ca80, 0xc002523818)
	pkg/sentry/kernel/task_clone.go:198 +0xf09 fp=0xc002523808 sp=0xc002523440 pc=0x9b3f29
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0xc0000122b8?, 0x421527?, 0x561ddf54df88?, 0x0?, 0x0?, 0x0?)
	pkg/sentry/syscalls/linux/sys_thread.go:215 +0xbd fp=0xc0025238d8 sp=0xc002523808 pc=0xb762bd
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0xc00fc9ca80?, 0xc00a96d9b8?, {{0xc896c000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x6e fp=0xc002523918 sp=0xc0025238d8 pc=0xb3562e
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00fc9ca80, 0x38, {{0xc896c000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc002523c58 sp=0xc002523918 pc=0x9d728b
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00fc9ca80, 0x0?, {{0xc896c000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc002523cb8 sp=0xc002523c58 pc=0x9d8874
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0000d65e0?, 0xc00a96de00?, {{0xc896c000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc002523d18 sp=0xc002523cb8 pc=0x9d8465
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc006c1bc30?)
	pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc002523e10 sp=0xc002523d18 pc=0x9d812c
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00539ee00?, 0xc00fc9ca80)
	pkg/sentry/kernel/task_run.go:269 +0x144a fp=0xc002523f48 sp=0xc002523e10 pc=0x9c9bea
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00fc9ca80, 0xe155)
	pkg/sentry/kernel/task_run.go:98 +0x25c fp=0xc002523fc0 sp=0xc002523f48 pc=0x9c809c
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1()
	pkg/sentry/kernel/task_start.go:390 +0x2a fp=0xc002523fe0 sp=0xc002523fc0 pc=0x9d570a
runtime.goexit()
	src/runtime/asm_amd64.s:1598 +0x1 fp=0xc002523fe8 sp=0xc002523fe0 pc=0x46d4c1
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:390 +0x105

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/09 09:14 gvisor 717539fbd78a 72324844 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/08 18:57 gvisor ad275a100e58 6654cf89 .config console log report info ci-gvisor-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/08 16:43 gvisor ad275a100e58 6654cf89 .config console log report info ci-gvisor-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
2023/09/08 12:10 gvisor ad275a100e58 72324844 .config console log report info ci-gvisor-kvm-cover panic: runtime error: invalid memory address or nil pointer dereference
* Struck through repros no longer work on HEAD.