syzbot


panic: Decrementing non-positive ref count (2)

Status: auto-closed as invalid on 2021/01/26 23:28
Reported-by: syzbot+87e81c0e035b1764b1ea@syzkaller.appspotmail.com
First crash: 1489d, last: 1489d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: Decrementing non-positive ref count C 4804 2271d 2349d 0/26 fixed on 2018/12/12 09:36

Sample crash report:
panic: Decrementing non-positive ref count

goroutine 1040740 [running]:
panic(0xf31300, 0x12aa710)
	GOROOT/src/runtime/panic.go:1064 +0x46d fp=0xc0067a39d8 sp=0xc0067a3920 pc=0x43438d
gvisor.dev/gvisor/pkg/refs.(*AtomicRefCount).DecRefWithDestructor(0xc093500580, 0x12f5300, 0xc013100a80, 0xc0067a3a40)
	pkg/refs/refcounter.go:476 +0x1c4 fp=0xc0067a3a20 sp=0xc0067a39d8 pc=0x559534
gvisor.dev/gvisor/pkg/sentry/fs.(*File).DecRef(0xc093500580, 0x12f5300, 0xc013100a80)
	pkg/sentry/fs/file.go:146 +0x73 fp=0xc0067a3a70 sp=0xc0067a3a20 pc=0x6a8c53
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Close(0xc013100a80, 0x3, 0x81, 0xf4240, 0x7f9e5484c920, 0x7600e8, 0x1007f9e5484cadf, 0x0, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/sys_file.go:798 +0x1ae fp=0xc0067a3b08 sp=0xc0067a3a70 pc=0x9568fe
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc013100a80, 0x3, 0x3, 0x81, 0xf4240, 0x7f9e5484c920, 0x7600e8, 0x1007f9e5484cadf, 0xc0067a3cd8, 0x11009e0, ...)
	pkg/sentry/kernel/task_syscall.go:104 +0x122 fp=0xc0067a3c68 sp=0xc0067a3b08 pc=0x8fc672
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc013100a80, 0x3, 0x3, 0x81, 0xf4240, 0x7f9e5484c920, 0x7600e8, 0x1007f9e5484cadf, 0x7600e8, 0x1007f9e5484cadf)
	pkg/sentry/kernel/task_syscall.go:239 +0x66 fp=0xc0067a3cf0 sp=0xc0067a3c68 pc=0x8fd856
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc013100a80, 0x3, 0x3, 0x81, 0xf4240, 0x7f9e5484c920, 0x7600e8, 0x1007f9e5484cadf, 0x12c27a0, 0x0)
	pkg/sentry/kernel/task_syscall.go:199 +0x96 fp=0xc0067a3d50 sp=0xc0067a3cf0 pc=0x8fd3e6
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc013100a80, 0x2, 0xc013100a80)
	pkg/sentry/kernel/task_syscall.go:174 +0x15c fp=0xc0067a3e10 sp=0xc0067a3d50 pc=0x8fcd7c
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc013100a80, 0x12c27a0, 0x0)
	pkg/sentry/kernel/task_run.go:275 +0xc18 fp=0xc0067a3f60 sp=0xc0067a3e10 pc=0x8f1718
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc013100a80, 0x55a6)
	pkg/sentry/kernel/task_run.go:93 +0x18b fp=0xc0067a3fd0 sp=0xc0067a3f60 pc=0x8f042b
runtime.goexit()
	src/runtime/asm_amd64.s:1373 +0x1 fp=0xc0067a3fd8 sp=0xc0067a3fd0 pc=0x467da1
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:323 +0xfe

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/28 23:27 gvisor 8fa18e8ecb3e f24824d3 .config console log report info ci-gvisor-kvm-proxy-overlay-sandbox
* Struck through repros no longer work on HEAD.