CVE-2026-101308: TOCTOU race between sound(4) buffer resizing and mmap
CVE-2026-101308 affects 18 listed versions of FreeBSD in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
FreeBSD
18 of 250 listed versions are affected. Fixed in 15.1-RELEASE-p5, 14.5-RELEASE-p2, 14.4-RELEASE-p11. The newest release, 15.1-p7, is not affected.
15.1-p4 15.1-p3 15.1-p2 15.1-p1 15.1 14.5-p1 14.5 14.4-p10 14.4-p9 14.4-p8 14.4-p7 14.4-p6 14.4-p5 14.4-p4 14.4-p3 14.4-p2 14.4-p1 14.4
What it is
When an audio channel's buffer needs to be resized, the sound(4) driver checks that the buffer is not memory-mapped and then drops the channel lock to allocate a new buffer. An mmap(2) call on another thread can complete during this window, after which the resize path frees the now-mapped buffer without rechecking. An unprivileged local user with access to a sound device can exploit this race to trigger a use-after-free in the kernel, potentially escalating privileges.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (Freebsd)
Published by Freebsd on 15 October 2026. Last changed 19 October 2026.
Sources
Check one version you run: look CVE-2026-101308 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.