CVSROOT: /cvs Module name: src Changes by: an...@cvs.openbsd.org 2019/08/05 02:46:46
Modified files: sys/dev : diskmap.c Log message: 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. ok visa@ Reported-by: syzbot+4724df09d9ab0fdca...@syzkaller.appspotmail.com Reported-by: syzbot+a430606fd52864555...@syzkaller.appspotmail.com