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

FreeBSD -- Kernel use-after-free via the SNDCTL_DSP_SYNCSTART ioctl

Affected packages
15.1 <= FreeBSD-kernel < 15.1_3
15.0 <= FreeBSD-kernel < 15.0_13
14.4 <= FreeBSD-kernel < 14.4_9

Details

VuXML ID 226751fb-a0fe-11f1-ae1f-bc241121aa0a
Discovery 2026-08-25
Entry 2026-08-26

Problem Description:

The implementation of this ioctl attempts to acquire locks on all channels in a sync group. If locking a channel would block, it releases the sync group list lock and sleeps. Upon reawakening, it is possible that the sync group structure is freed, but the implementation did not handle this possibility.

Impact:

On a system with a multiple audio devices, an unprivileged local user can exploit this use-after-free to escalate privileges.

References

CVE Name CVE-2026-58091
FreeBSD Advisory SA-26:58.sound