published 15 Oct 2026 · updated 15 Oct 2026
TOCTOU race between sound(4) buffer resizing and mmap
5.5MediumCVSS 5.5EPSS 0%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p11, p2 and p5.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| FreeBSD | >=14.4-RELEASE <p11, >=14.5-RELEASE <p2, >=15.1-RELEASE <p5 | p11, p2, p5 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket