syzbot


panic: vput: v_writecount != 0 (2)
Status: fixed on 2019/08/05 23:05
Reported-by: syzbot+a430606fd528645559db@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: 725d, last: 720d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: vput: v_writecount != 0 C 2 735d 735d 0/3 closed as invalid on 2019/07/22 06:58
Patch testing requests:
Created Duration User Patch Repo Result
2019/08/02 16:00 16m anton@basename.se https://github.com/mptre/openbsd-src diskmap OK

Sample crash report:

Crashes (112):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-openbsd-main 2019/07/30 23:32 openbsd 75866a61bd74 7c7ded69 .config log report syz C
ci-openbsd-multicore 2019/07/30 23:31 openbsd 75866a61bd74 7c7ded69 .config log report syz C
ci-openbsd-main 2019/08/05 13:22 openbsd fa32c33cb2c9 6affd8e8 .config log report
ci-openbsd-main 2019/08/05 09:00 openbsd 864b814f529e 6affd8e8 .config log report
ci-openbsd-main 2019/08/05 06:25 openbsd 864b814f529e 6affd8e8 .config log report
ci-openbsd-main 2019/08/05 04:15 openbsd 864b814f529e 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/04 23:39 openbsd 864b814f529e 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/04 22:09 openbsd 864b814f529e 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 18:43 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 17:58 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/04 16:57 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 14:09 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 13:05 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 10:52 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 09:03 openbsd e4f599ca6879 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/04 07:04 openbsd d72f70aa5ac4 6affd8e8 .config log report
ci-openbsd-main 2019/08/04 04:52 openbsd d72f70aa5ac4 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/04 02:41 openbsd d72f70aa5ac4 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/04 00:03 openbsd d72f70aa5ac4 6affd8e8 .config log report
ci-openbsd-main 2019/08/03 22:18 openbsd d72f70aa5ac4 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/03 20:45 openbsd d72f70aa5ac4 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/03 17:41 openbsd c935b51f457f 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/03 16:16 openbsd c935b51f457f 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/03 13:34 openbsd c935b51f457f 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/03 12:18 openbsd c935b51f457f 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/03 10:47 openbsd c935b51f457f 6affd8e8 .config log report
ci-openbsd-main 2019/08/03 08:58 openbsd c935b51f457f 6affd8e8 .config log report
ci-openbsd-multicore 2019/08/03 07:55 openbsd c935b51f457f 6affd8e8 .config log report
ci-openbsd-main 2019/08/03 06:43 openbsd c935b51f457f 6affd8e8 .config log report
ci-openbsd-main 2019/08/03 02:38 openbsd f7c95aac3abf 3faab807 .config log report
ci-openbsd-main 2019/08/03 01:33 openbsd f7c95aac3abf 3faab807 .config log report
ci-openbsd-main 2019/08/02 22:58 openbsd f7c95aac3abf 3faab807 .config log report
ci-openbsd-multicore 2019/08/02 20:39 openbsd f7c95aac3abf 3faab807 .config log report
ci-openbsd-main 2019/08/02 16:13 openbsd f7c95aac3abf 835dffe7 .config log report
ci-openbsd-multicore 2019/08/02 14:49 openbsd f7c95aac3abf 835dffe7 .config log report
ci-openbsd-main 2019/08/02 13:31 openbsd c529027a472a 835dffe7 .config log report
ci-openbsd-main 2019/08/02 09:39 openbsd c529027a472a 835dffe7 .config log report
ci-openbsd-main 2019/08/02 06:14 openbsd c529027a472a 835dffe7 .config log report
ci-openbsd-main 2019/08/02 02:52 openbsd c529027a472a 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:31 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-main 2019/08/01 18:48 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-main 2019/08/01 17:38 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-main 2019/08/01 17:13 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-main 2019/08/01 14:13 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-main 2019/08/01 13:43 openbsd 6521c58462c4 835dffe7 .config log report
ci-openbsd-multicore 2019/08/01 11:38 openbsd e9c83ba3b557 c692b5bd .config log report
ci-openbsd-main 2019/08/01 10:19 openbsd e9c83ba3b557 c692b5bd .config log report
ci-openbsd-main 2019/08/01 10:10 openbsd e9c83ba3b557 c692b5bd .config log report
ci-openbsd-main 2019/08/01 09:56 openbsd e9c83ba3b557 c692b5bd .config log report
ci-openbsd-main 2019/07/30 23:08 openbsd 75866a61bd74 7c7ded69 .config log report