HomeFreeBSD

unix: Fix handling of listening sockets during garbage collection

Description

unix: Fix handling of listening sockets during garbage collection

socantrcvmore() and unp_dispose() assume that the socket's socket
buffers are initialized, which isn't the case for listening sockets.

Reported by: syzbot+a62883292a5c257703be@syzkaller.appspotmail.com
MFC after: 1 week
Reviewed by: glebius
Differential Revision: https://reviews.freebsd.org/D53743

Details

Provenance
markjAuthored on Thu, Nov 13, 10:56 PM
Reviewer
glebius
Differential Revision
D53743: unix: Fix handling of listening sockets during garbage collection
Parents
rG477799750abd: jail.8: Add creating a jail from package base
Branches
Unknown
Tags
Unknown