CVSROOT: /cvs Module name: src Changes by: an...@cvs.openbsd.org 2020/03/24 01:53:24
Modified files: sys/dev/wscons : wskbd.c wsmouse.c wsmux.c Log message: Ensure that me_evp is still NULL before assignment during open of wscons devices. This condition is checked early on during open but since the same routine could end up sleeping before assigning me_evp, a race against adding the same wscons device to a wsmux could be lost. This in turn can cause a NULL deference during close. ok mpi@ Reported-by: syzbot+34c3041bfd96c888c...@syzkaller.appspotmail.com