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

FreeBSD -- Privilege escalation via socket unsplice timeout

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 8ff9bae6-e312-11f1-a3e1-bc241121aa0a
Discovery 2026-11-17
Entry 2026-11-18

Problem Description:

When a splice's idle timeout expired, the kernel unspliced the source socket without verifying that the socket still belonged to that splice. If another thread had meanwhile unspliced the socket and spliced it again, the timeout handler could tear down the new splice instead, resulting in a use-after-free. Concurrent teardowns of a splice after an error were similarly unserialized.

Impact:

An unprivileged local user may be able to exploit the use-after-free to escalate privileges.

References

CVE Name CVE-2026-127740
FreeBSD Advisory SA-26:87.socket