syzbot


panic: vref used where vget required (4)

Status: upstream: reported on 2024/04/10 17:23
Reported-by: syzbot+9591948825036c029128@syzkaller.appspotmail.com
First crash: 71d, last: 22d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: vref used where vget required 1 1753d 1753d 0/3 auto-closed as invalid on 2019/12/01 17:58
openbsd panic: vref used where vget required (2) 2 1503d 1506d 0/3 auto-closed as invalid on 2020/08/08 03:01
openbsd panic: vref used where vget required (3) 1 906d 906d 0/3 auto-closed as invalid on 2022/03/27 19:54

Sample crash report:
panic: vref used where vget required
Starting stack trace...
panic(ffffffff828d5efc) at panic+0x16f sys/kern/subr_prf.c:229
vref(fffffd8068f2c450) at vref+0xc7 sys/kern/vfs_subr.c:698
namei(ffff80002a24c498) at namei+0x3b2 sys/kern/vfs_lookup.c:221
vn_open(ffff80002a24c498,201,0) at vn_open+0x180 sys/kern/vfs_vnops.c:107
doopenat(ffff80002a220d10,ffffff9c,20000040,200,0,ffff80002a24c640) at doopenat+0x269 sys/kern/vfs_syscalls.c:1127
syscall(ffff80002a24c6f0) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff80002a24c6f0) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xc7326861830, count: 250
End of stack trace.
syncing disks...
set $lines = 0
set $maxwidth = 0
show panic
trace
show registers
show proc
ps
show all locks
show malloc
show all pools
machine ddbcpu 0
trace
machine ddbcpu 1
trace

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/30 04:56 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: vref used where vget required
2024/05/16 21:24 openbsd b20edd337af0 ad5321c6 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: vref used where vget required
2024/05/09 19:53 openbsd a7b9eedcb4c1 de979bc2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: vref used where vget required
2024/04/20 11:57 openbsd 55906bae5af5 af24b050 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: vref used where vget required
2024/04/10 17:22 openbsd ffe6655cba7d 7d74efd0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: vref used where vget required
* Struck through repros no longer work on HEAD.