syzbot


panic: nested locking: kernfs.filesystemRWMutex: (9)

Status: auto-obsoleted due to no activity on 2024/08/20 13:26
First crash: 196d, last: 196d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: nested locking: kernfs.filesystemRWMutex: (7) 4 459d 461d 26/26 fixed on 2023/08/30 02:45
gvisor panic: nested locking: kernfs.filesystemRWMutex: (3) syz 19 649d 674d 18/26 fixed on 2023/02/17 22:08
gvisor panic: nested locking: kernfs.filesystemRWMutex: (5) 5 530d 531d 26/26 fixed on 2023/06/15 20:22
gvisor panic: nested locking: kernfs.filesystemRWMutex: (6) C 8 462d 477d 26/26 fixed on 2023/08/23 02:32
gvisor panic: nested locking: kernfs.filesystemRWMutex: (2) C 8 756d 807d 0/26 closed as invalid on 2023/01/19 20:51
gvisor panic: nested locking: kernfs.filesystemRWMutex: (4) C 31 532d 626d 26/26 fixed on 2023/06/13 14:23
gvisor panic: nested locking: kernfs.filesystemRWMutex: (8) 1 351d 344d 0/26 auto-obsoleted due to no activity on 2024/03/10 05:57
gvisor panic: nested locking: kernfs.filesystemRWMutex: C 5 850d 851d 0/26 closed as invalid on 2022/08/09 17:49

Sample crash report:
panic: nested locking: kernfs.filesystemRWMutex:
goroutine 5034 [running]:
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*filesystemRWMutex).RLock(0xc0002d87d0)
	bazel-out/aarch64-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/fsimpl/kernfs/filesystem_mutex.go:59 +0x40
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Dentry).InotifyWithParent(0xc008098b40, {0x868a88, 0xc00ae4ca88}, 0x8, 0x0, 0x0)
	pkg/sentry/fsimpl/kernfs/kernfs.go:540 +0xc0
gvisor.dev/gvisor/pkg/sentry/vfs.(*Dentry).InotifyWithParent(0xc008098b40, {0x868a88, 0xc00ae4ca88}, 0x8, 0x0, 0x0)
	pkg/sentry/vfs/dentry.go:188 +0x74
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).SafeDecRefFD.(*FileDescription).DecRef.func1()
	pkg/sentry/vfs/file_description.go:167 +0x7c
gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc005989900, 0xc0058a28d8)
	bazel-out/aarch64-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/file_description_refs.go:133 +0x58
gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(...)
	pkg/sentry/vfs/file_description.go:161
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).SafeDecRefFD(0xc0002d86e0, {0x868a88, 0xc00ae4ca88}, 0xc005989900)
	pkg/sentry/fsimpl/kernfs/kernfs.go:154 +0xf8
gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*fdSymlink).Getlink(0xc005367d80, {0x868a88, 0xc00ae4ca88}, 0xc00138db90?)
	pkg/sentry/fsimpl/proc/task_fds.go:244 +0x154
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).stepExistingLocked(0xc0002d86e0, {0x868a88, 0xc00ae4ca88}, 0xc006e35688, 0xc00138db00)
	pkg/sentry/fsimpl/kernfs/filesystem.go:83 +0x3a8
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).walkExistingLocked(0xc0002d86e0, {0x868a88, 0xc00ae4ca88}, 0xc006e35688)
	pkg/sentry/fsimpl/kernfs/filesystem.go:186 +0xb0
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).OpenAt(0xc0002d86e0, {0x868a88, 0xc00ae4ca88}, 0xc006e35688, {0x20002, 0x0, 0x0})
	pkg/sentry/fsimpl/kernfs/filesystem.go:509 +0x14c
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).OpenAt(0xc0001b5380, {0x868a88, 0xc00ae4ca88}, 0xc001016420, 0xc00ae27368, 0xc0058a32b8)
	pkg/sentry/vfs/vfs.go:479 +0x3ac
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.openat(0xc00ae4ca88, 0xffffff9c, 0xea0e0ef499f0, 0x2, 0x0)
	pkg/sentry/syscalls/linux/sys_file.go:112 +0x1fc
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Openat(0xc00ae4ca88, 0x62?, {{0xffffffffffffff9c}, {0xea0e0ef499f0}, {0x2}, {0x0}, {0x0}, {0x8080808080808080}})
	pkg/sentry/syscalls/linux/sys_file.go:91 +0x40
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00ae4ca88, 0x38, {{0xffffffffffffff9c}, {0xea0e0ef499f0}, {0x2}, {0x0}, {0x0}, {0x8080808080808080}})
	pkg/sentry/kernel/task_syscall.go:143 +0x6c0
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00ae4ca88, 0x38, {{0xffffffffffffff9c}, {0xea0e0ef499f0}, {0x2}, {0x0}, {0x0}, {0x8080808080808080}})
	pkg/sentry/kernel/task_syscall.go:323 +0x50
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00ae4ca88, 0x38, {{0xffffffffffffff9c}, {0xea0e0ef499f0}, {0x2}, {0x0}, {0x0}, {0x8080808080808080}})
	pkg/sentry/kernel/task_syscall.go:283 +0x78
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00ae4ca88)
	pkg/sentry/kernel/task_syscall.go:258 +0x3c0
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00ae4ca88?, 0xc00ae4ca88)
	pkg/sentry/kernel/task_run.go:263 +0x15f0
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00ae4ca88, 0x5ed)
	pkg/sentry/kernel/task_run.go:98 +0x340
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 5454
	pkg/sentry/kernel/task_start.go:393 +0x184

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/14 11:02 gvisor 434c4d2536c8 fdb4c10c .config console log report info ci-gvisor-arm64-systrap-1-race panic: nested locking: kernfs.filesystemRWMutex:
* Struck through repros no longer work on HEAD.