syzbot


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

Status: fixed on 2024/08/06 09:03
Fix commit: 2ef09d3bddc7 FUSE: Avoid panic when opening unknown file type.
First crash: 114d, last: 114d
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 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 (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=0xf7d016]

goroutine 18057 gp=0xc001247340 m=22 mp=0xc0008b2008 [running]:
panic({0x128e820?, 0x2363350?})
	GOROOT/src/runtime/panic.go:779 +0x158 fp=0xc001c23010 sp=0xc001c22f60 pc=0x43cb78
runtime.panicmem(...)
	GOROOT/src/runtime/panic.go:261
runtime.sigpanic()
	GOROOT/src/runtime/signal_unix.go:881 +0x378 fp=0xc001c23070 sp=0xc001c23010 pc=0x456578
gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*inode).Open(0xc12a764708, {0x16fe858, 0xc0011c3508}, 0xc00081b208, 0xc0c053e000, {0x200, 0x180, 0x0})
	pkg/sentry/fsimpl/fuse/inode.go:307 +0x416 fp=0xc001c23290 sp=0xc001c23070 pc=0xf7d016
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).OpenAt(0xc001c40480, {0x16fe858, 0xc0011c3508}, 0xc00081b208, {0x109200, 0x180, 0x0})
	pkg/sentry/fsimpl/kernfs/filesystem.go:525 +0x729 fp=0xc001c234d8 sp=0xc001c23290 pc=0x8b8329
gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*filesystem).OpenAt(0xc0002731e8?, {0x16fe858?, 0xc0011c3508?}, 0xc00081b208?, {0x23f68a0?, 0x0?, 0x0?})
	<autogenerated>:1 +0x28 fp=0xc001c23510 sp=0xc001c234d8 pc=0xf8ea48
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).OpenAt(0xc0002731e8, {0x16fe858, 0xc0011c3508}, 0xc0dff7ac00, 0xc001c23818, 0xc001c237e8)
	pkg/sentry/vfs/vfs.go:479 +0x2e2 fp=0xc001c23758 sp=0xc001c23510 pc=0x824122
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.openat(0xc0011c3508, 0xffffff9c, 0x0?, 0x101220, 0x180)
	pkg/sentry/syscalls/linux/sys_file.go:112 +0x2a5 fp=0xc001c23918 sp=0xc001c23758 pc=0xc71a45
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Open(0xc0011c3508?, 0x2e?, {{0x20000400}, {0x101220}, {0x180}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/syscalls/linux/sys_file.go:82 +0x4f fp=0xc001c23950 sp=0xc001c23918 pc=0xc7166f
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0011c3508, 0x2, {{0x20000400}, {0x101220}, {0x180}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:143 +0x80b fp=0xc001c23c90 sp=0xc001c23950 pc=0xad20cb
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0011c3508, 0x2, {{0x20000400}, {0x101220}, {0x180}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:323 +0x4e fp=0xc001c23ce8 sp=0xc001c23c90 pc=0xad368e
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0011c3508, 0x2, {{0x20000400}, {0x101220}, {0x180}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:283 +0x7d fp=0xc001c23d38 sp=0xc001c23ce8 pc=0xad323d
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0de0c5040?)
	pkg/sentry/kernel/task_syscall.go:258 +0x349 fp=0xc001c23e20 sp=0xc001c23d38 pc=0xad2f29
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc064adf440?, 0xc0011c3508)
	pkg/sentry/kernel/task_run.go:270 +0x1325 fp=0xc001c23f40 sp=0xc001c23e20 pc=0xac5025
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0011c3508, 0x822)
	pkg/sentry/kernel/task_run.go:98 +0x26d fp=0xc001c23fc0 sp=0xc001c23f40 pc=0xac360d
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1()
	pkg/sentry/kernel/task_start.go:400 +0x25 fp=0xc001c23fe0 sp=0xc001c23fc0 pc=0xad04a5
runtime.goexit({})
	src/runtime/asm_amd64.s:1695 +0x1 fp=0xc001c23fe8 sp=0xc001c23fe0 pc=0x478c41
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 18164
	pkg/sentry/kernel/task_start.go:400 +0xd9

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/03 21:25 gvisor 429898032595 1786a2a8 .config console log report info ci-gvisor-systrap-1-cover panic: runtime error: invalid memory address or nil pointer dereference
* Struck through repros no longer work on HEAD.