FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

FreeBSD -- Privilege escalation via shutdown(2) race on unix sockets

Affected packages
15.1 <= FreeBSD-kernel < 15.1_7
14.5 <= FreeBSD-kernel < 14.5_4
14.4 <= FreeBSD-kernel < 14.4_13

Details

VuXML ID f783a9ba-e311-11f1-a3e1-bc241121aa0a
Discovery 2026-11-17
Entry 2026-11-18

Problem Description:

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.

Impact:

An unprivileged local user may be able to exploit the resulting memory corruption to escalate privileges.

References

CVE Name CVE-2026-127751
FreeBSD Advisory SA-26:83.unix