OpenBSD/src 9I8J6xI — sys/dev/wscons wsmux.c wsmuxvar.h
Serialize access to the list of attached child devices belonging to a wsmux. When invoking wsevsrc_* functions on a attached child device, underlying driver can sleep; this introduces a race where another thread is able to modify the list leading to all kinds of corruptions. ok visa@ Reported-by: syzbot+03f7377a9848d7d008c9 at syzkaller.appspotmail.com
Version | Delta | File | |
---|---|---|---|
1.39 | +45 | -7 | sys/dev/wscons/wsmux.c |
1.11 | +2 | -1 | sys/dev/wscons/wsmuxvar.h |
+47 | -8 | 2 files |