What’s Vulnerable › Vulnerabilities
CVE-2026-101308: TOCTOU race between sound(4) buffer resizing and mmap
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-15 · updated 2026-10-19
- Weakness: CWE-367
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
- FreeBSD: 14.4, 14.4-p1, 14.4-p10, 14.4-p2, 14.4-p3, 14.4-p4 (+12)
References
Get alerted when CVE-2026-101308 or the next vulnerability affects your stack