CVE-2026-101308: TOCTOU race between sound(4) buffer resizing and mmap

Published Oct 15, 2026
·
Updated

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 Software

1 affected component
FreeBSD sound(4) driver

Event History

Oct 15, 2026
CVE Published
via MITRE·07:08 AM
Data Sourced
via MITRE·07:08 AM
DescriptionWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using the FreeBSD sound(4) driver are exposed when an unprivileged local user has access to a sound device. The issue requires local access; no remote attack vector is described.

2

What does an attacker need to do to exploit it?

An attacker needs to race audio-buffer resizing against mmap(2) from another thread. If mmap(2) completes after the resize path checks mapping status but before it frees the old buffer, the kernel can use a freed mapped buffer.

3

What is the likely impact of successful exploitation?

Successful exploitation can trigger a kernel use-after-free. The described potential impact is local privilege escalation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203