OpenBSD/src 9I8J6xIsys/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
VersionDeltaFile
1.39+45-7sys/dev/wscons/wsmux.c
1.11+2-1sys/dev/wscons/wsmuxvar.h
+47-82 files

UnifiedSplitRaw