Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FreeBSD | FreeBSD | 15.1-RELEASE – < p5, 14.5-RELEASE – < p2, 14.4-RELEASE – < p11 | p5 |
Advisories 2
- WID-SEC-2026-3967 FreeBSD Project FreeBSD OS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 8, 2026
- NCSC-2026-0452 Kwetsbaarheden verholpen in FreeBSD bhyve hypervisor NCSC-NL (Netherlands) · Oct 22, 2026