syzbot


panic: vrele: v_writecount != 0
Status: fixed on 2019/08/05 23:05
Reported-by: syzbot+4724df09d9ab0fdca28a@syzkaller.appspotmail.com
Fix commit: 3e253b4759f0 Favor vn_close() in the error path of diskmapioctl() since side-effects caused by calling vn_open() with write permissions must be reverted. Otherwise, the vfs subsystem could panic while releasing the last vnode reference if the writecount is still positive.
First crash: 729d, last: 723d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: vrele: v_writecount != 0 (2) C 1955 174d 175d 3/3 fixed on 2021/02/04 23:26
Patch testing requests:
Created Duration User Patch Repo Result
2019/08/02 16:00 14m anton@basename.se https://github.com/mptre/openbsd-src diskmap OK

Sample crash report:

Crashes (51):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-openbsd-main 2019/07/31 04:09 openbsd 75866a61bd74 7c7ded69 .config log report syz C
ci-openbsd-multicore 2019/08/05 18:06 openbsd d8d31ef08b65 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/05 16:44 openbsd d8d31ef08b65 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/05 08:28 openbsd 864b814f529e 6affd8e8 .config log report
ci-openbsd-main 2019/08/05 05:09 openbsd 864b814f529e 6affd8e8 .config log report
ci-openbsd-main 2019/08/05 02:15 openbsd 864b814f529e 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 23:41 openbsd 864b814f529e 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/04 21:45 openbsd 864b814f529e 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 19:38 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 16:29 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/04 15:41 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/04 14:24 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/04 13:01 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/04 11:21 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 10:22 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 08:57 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 06:19 openbsd d72f70aa5ac4 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 05:37 openbsd d72f70aa5ac4 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 01:51 openbsd d72f70aa5ac4 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/03 20:49 openbsd d72f70aa5ac4 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/03 11:15 openbsd c935b51f457f 6affd8e8 .config log report
ci-openbsd-main 2019/08/03 08:05 openbsd c935b51f457f 6affd8e8 .config log report
ci-openbsd-main 2019/08/03 03:57 openbsd f7c95aac3abf 3faab807 .config log report
ci-openbsd-main 2019/08/03 02:19 openbsd f7c95aac3abf 3faab807 .config log report
ci-openbsd-main 2019/08/02 23:58 openbsd f7c95aac3abf 3faab807 .config log report
ci-openbsd-main 2019/08/02 19:29 openbsd f7c95aac3abf 3faab807 .config log report
ci-openbsd-main 2019/08/02 15:21 openbsd f7c95aac3abf 835dffe7 .config log report
ci-openbsd-multicore 2019/08/02 09:21 openbsd c529027a472a 835dffe7 .config log report
ci-openbsd-main 2019/08/02 06:24 openbsd c529027a472a 835dffe7 .config log report
ci-openbsd-main 2019/08/02 04:08 openbsd c529027a472a 835dffe7 .config log report
ci-openbsd-multicore 2019/08/02 03:27 openbsd c529027a472a 835dffe7 .config log report
ci-openbsd-multicore 2019/08/02 01:10 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-multicore 2019/08/02 00:00 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-main 2019/08/01 22:13 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-main 2019/08/01 22:02 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-main 2019/08/01 21:55 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-main 2019/08/01 20:46 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-multicore 2019/08/01 19:14 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-multicore 2019/08/01 17:49 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-main 2019/08/01 11:09 openbsd e9c83ba3b557 c692b5bd .config log report
ci-openbsd-multicore 2019/08/01 04:49 openbsd e9c83ba3b557 c692b5bd .config log report
ci-openbsd-main 2019/08/01 03:32 openbsd e9c83ba3b557 c692b5bd .config log report
ci-openbsd-main 2019/08/01 02:45 openbsd e9c83ba3b557 c692b5bd .config log report
ci-openbsd-multicore 2019/08/01 02:44 openbsd e9c83ba3b557 c692b5bd .config log report
ci-openbsd-multicore 2019/08/01 02:04 openbsd e9c83ba3b557 c692b5bd .config log report
ci-openbsd-multicore 2019/07/31 20:58 openbsd ddc1a6c2c175 995b2a26 .config log report
ci-openbsd-main 2019/07/31 20:14 openbsd ddc1a6c2c175 995b2a26 .config log report
ci-openbsd-main 2019/07/31 03:37 openbsd 75866a61bd74 7c7ded69 .config log report
ci-openbsd-main 2019/07/31 03:34 openbsd 75866a61bd74 7c7ded69 .config log report