shutdown(2) on a unix socket checked whether the socket was listening, then dropped the socket lock before operating on the socket's data buffers. A concurrent call to listen(2) could convert the socket in the meantime, causing shutdown(2) to operate on the connection queue as if it were a data buffer. An unprivileged local user may be able to exploit the resulting memory corruption to escalate privileges.