syzbot


panic: vrele: v_writecount != 0 (2)
Status: fixed on 2021/02/04 23:26
Reported-by: syzbot+b0e18235e96adf81883d@syzkaller.appspotmail.com
Fix commit: df61468f8652 Revert previous commit. The vnode returned by ptm_vn_open() is open and can not simply be vrele()-ed on error. The code currently depends on closef() to do the cleanup.
First crash: 171d, last: 170d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: vrele: v_writecount != 0 C 51 719d 725d 3/3 fixed on 2019/08/05 23:05

Sample crash report:

Crashes (1955):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-openbsd-main 2021/02/04 14:16 openbsd a1753de66958 42b90a7c .config log report syz C panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 13:53 openbsd a1753de66958 42b90a7c .config log report syz C panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 13:51 openbsd a1753de66958 42b90a7c .config log report syz C panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 22:33 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 20:16 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 17:57 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 13:58 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 13:53 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 13:49 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 13:44 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 13:40 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 13:39 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 13:37 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 13:35 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 13:33 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 13:33 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 13:32 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 13:29 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 13:28 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 13:26 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 13:24 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 13:23 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 13:21 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 13:19 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 13:18 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 13:16 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 13:14 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 13:13 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 13:11 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 13:10 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 13:08 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 13:06 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 13:05 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 13:03 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 13:01 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 13:00 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 12:58 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 12:56 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 12:55 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 12:53 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 12:51 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 12:50 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-main 2021/02/04 12:50 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 12:48 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 12:47 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 12:45 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-setuid 2021/02/04 12:43 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 12:42 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0
ci-openbsd-multicore 2021/02/04 11:01 openbsd a1753de66958 42b90a7c .config log report panic: vrele: v_writecount != 0