CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2023/12/18 18:11:21

Modified files:
        sys/kern       : uipc_socket.c 

Log message:
soreceive() must not hold mutex when calling sblock().

In my recent commit I missed that sblock() may sleep while soreceive()
holds the incpb mutex.  Call pru_lock() after sblock().

Reported-by: syzbot+f79c896ec01955365...@syzkaller.appspotmail.com
Reported-by: syzbot+08b6f1102e429b2d4...@syzkaller.appspotmail.com
OK mvs@

Reply via email to