syzbot


panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM

Status: closed as invalid on 2023/01/26 22:48
First crash: 1031d, last: 1028d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM (2) C 454 101d 129d 26/26 fixed on 2024/08/16 21:31

Sample crash report:
panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=07076

goroutine 182 [running]:
panic(0x18e9c80, 0xc00041e190)
	GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0007984b0 sp=0xc0007983e8 pc=0x43a6c5
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*InodeAttrs).Init(0xc000404c08, 0x1dccc18, 0xc0004f5500, 0xc000798578, 0xd00000000, 0x1, 0x1590e3e)
	pkg/sentry/fsimpl/kernfs/inode_impl_util.go:195 +0x28d fp=0xc000798518 sp=0xc0007984b0 pc=0xb0c5ed
gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*filesystem).newInode(0xc0003e6480, 0x1dccc18, 0xc0004f5500, 0x6, 0x6, 0x8001, 0xb5, 0x0, 0x5, 0x2, ...)
	pkg/sentry/fsimpl/fuse/fusefs.go:353 +0x1f1 fp=0xc0007985e8 sp=0xc000798518 pc=0x158e6f1
gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*inode).newEntry(0xc000404800, 0x1dccc18, 0xc0004f5500, 0xc00000ab02, 0x5, 0x100000000, 0x1dc8e28, 0xc000210b30, 0x0, 0xc00057d878, ...)
	pkg/sentry/fsimpl/fuse/fusefs.go:616 +0x498 fp=0xc000798778 sp=0xc0007985e8 pc=0x1591878
gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*inode).Lookup(0xc000404800, 0x1dccc18, 0xc0004f5500, 0xc00000ab02, 0x5, 0xc000340458, 0xc000824860, 0x44cb2a, 0xc0003b2300)
	pkg/sentry/fsimpl/fuse/fusefs.go:493 +0xec fp=0xc000798810 sp=0xc000798778 pc=0x158ff6c
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).revalidateChildLocked(0xc0003e6480, 0x1dccc18, 0xc0004f5500, 0xc000364900, 0xc0003403f0, 0xc00000ab02, 0x5, 0x0, 0x0, 0x0, ...)
	pkg/sentry/fsimpl/kernfs/filesystem.go:134 +0xe9 fp=0xc000798898 sp=0xc000798810 pc=0xb02349
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).stepExistingLocked(0xc0003e6480, 0x1dccc18, 0xc0004f5500, 0xc000790480, 0xc0003403f0, 0xc000824a01, 0xc0003403f0, 0x0, 0x0)
	pkg/sentry/fsimpl/kernfs/filesystem.go:76 +0x29c fp=0xc0007989c0 sp=0xc000798898 pc=0xb019dc
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).walkExistingLocked(0xc0003e6480, 0x1dccc18, 0xc0004f5500, 0xc000790480, 0x0, 0x0, 0x0)
	pkg/sentry/fsimpl/kernfs/filesystem.go:166 +0xfe fp=0xc000798a40 sp=0xc0007989c0 pc=0xb0275e
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).StatAt(0xc0003e6480, 0x1dccc18, 0xc0004f5500, 0xc000790480, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/fsimpl/kernfs/filesystem.go:824 +0x174 fp=0xc000798cf0 sp=0xc000798a40 pc=0xb09614
gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*filesystem).StatAt(0xc0003e6480, 0x1dccc18, 0xc0004f5500, 0xc000790480, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	<autogenerated>:1 +0xc5 fp=0xc000798ef8 sp=0xc000798cf0 pc=0x15a4785
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).StatAt(0xc000364900, 0x1dccc18, 0xc0004f5500, 0xc000276360, 0xc000825678, 0xc0007991f8, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/vfs/vfs.go:599 +0x1a2 fp=0xc000799120 sp=0xc000798ef8 pc=0x983002
gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.fstatat(0xc0004f5500, 0xffffff9c, 0x20000180, 0x0, 0x0, 0x0, 0x0)
	pkg/sentry/syscalls/linux/vfs2/stat.go:104 +0x353 fp=0xc0007996d0 sp=0xc000799120 pc=0x14802d3
gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Newfstatat(0xc0004f5500, 0xffffffffffffff9c, 0x20000180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/vfs2/stat.go:50 +0x65 fp=0xc000799728 sp=0xc0007996d0 pc=0x147ff05
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0004f5500, 0x106, 0xffffffffffffff9c, 0x20000180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/kernel/task_syscall.go:103 +0x195 fp=0xc0007999b8 sp=0xc000799728 pc=0xd8d135
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0004f5500, 0x106, 0xffffffffffffff9c, 0x20000180, 0x0, 0x0, 0x0, 0x0, 0xc0004f5ddf, 0xc0004f5500)
	pkg/sentry/kernel/task_syscall.go:238 +0xb4 fp=0xc000799a90 sp=0xc0007999b8 pc=0xd8eb54
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0004f5500, 0x106, 0xffffffffffffff9c, 0x20000180, 0x0, 0x0, 0x0, 0x0, 0x1ffffffff, 0xc000000000)
	pkg/sentry/kernel/task_syscall.go:198 +0x10f fp=0xc000799b38 sp=0xc000799a90 pc=0xd8e44f
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0004f5500, 0x2, 0xc0004f5500)
	pkg/sentry/kernel/task_syscall.go:173 +0x214 fp=0xc000799ca8 sp=0xc000799b38 pc=0xd8dbd4
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0004f5500, 0x1d9e940, 0x0)
	pkg/sentry/kernel/task_run.go:254 +0x1287 fp=0xc000799ed8 sp=0xc000799ca8 pc=0xd79e07
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0004f5500, 0xe)
	pkg/sentry/kernel/task_run.go:95 +0x353 fp=0xc000799fd0 sp=0xc000799ed8 pc=0xd783b3
runtime.goexit()
	src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000799fd8 sp=0xc000799fd0 pc=0x477541
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:342 +0x1a5

Crashes (25):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/01/29 23:01 gvisor 2a3d59997fb9 495e00c5 .config console log report syz C ci-gvisor-ptrace-3-race panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/29 22:57 gvisor 2a3d59997fb9 495e00c5 .config console log report syz C ci-gvisor-ptrace-2 panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/29 22:56 gvisor 2a3d59997fb9 495e00c5 .config console log report syz C ci-gvisor-ptrace-2-race panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/29 22:56 gvisor 2a3d59997fb9 495e00c5 .config console log report syz C ci-gvisor-ptrace-1-race panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/29 22:56 gvisor 2a3d59997fb9 495e00c5 .config console log report syz C ci-gvisor-ptrace-1 panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/29 22:56 gvisor 2a3d59997fb9 495e00c5 .config console log report syz C ci-gvisor-ptrace-1-cover panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/29 22:56 gvisor 2a3d59997fb9 495e00c5 .config console log report syz C ci-gvisor-kvm-cover panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/29 22:55 gvisor 2a3d59997fb9 495e00c5 .config console log report syz C ci-gvisor-ptrace-2-cover panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/29 22:55 gvisor 2a3d59997fb9 495e00c5 .config console log report syz C ci-gvisor-kvm panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/29 22:51 gvisor 2a3d59997fb9 495e00c5 .config console log report syz C ci-gvisor-ptrace-3 panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/29 22:31 gvisor 2a3d59997fb9 495e00c5 .config console log report syz C ci-gvisor-ptrace-3-cover panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/02/01 19:30 gvisor 0f8db423e270 c1c1631d .config console log report info ci-gvisor-ptrace-2 panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/02/01 19:11 gvisor 0f8db423e270 c1c1631d .config console log report info ci-gvisor-ptrace-1-race panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/02/01 19:07 gvisor 0f8db423e270 c1c1631d .config console log report info ci-gvisor-ptrace-2-race-cover panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/02/01 19:05 gvisor 0f8db423e270 c1c1631d .config console log report info ci-gvisor-ptrace-2-race panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/02/01 19:01 gvisor 0f8db423e270 c1c1631d .config console log report info ci-gvisor-ptrace-3-race panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/02/01 19:00 gvisor 0f8db423e270 c1c1631d .config console log report info ci-gvisor-ptrace-3 panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/02/01 18:54 gvisor 0f8db423e270 c1c1631d .config console log report info ci-gvisor-ptrace-1 panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/31 16:36 gvisor 2a3d59997fb9 a491ad2d .config console log report info ci-gvisor-ptrace-3 panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/31 04:25 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-2 panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/31 04:21 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-1-race-cover panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/31 04:11 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-2-cover panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/31 04:06 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-1 panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/31 04:06 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-3-cover panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
2022/01/29 22:11 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-3-cover panic: No file type specified in 'mode' for InodeAttrs.Init(): mode=NUM
* Struck through repros no longer work on HEAD.