Skip to main content
← All vulnerabilities
CVE-2026-101308

TOCTOU race between sound(4) buffer resizing and mmap

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in p5, p2, p11
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • FreeBSD FreeBSD

    From 15.1-RELEASE · fixed in p5; From 14.5-RELEASE · fixed in p2; From 14.4-RELEASE · fixed in p11

References 1

security.freebsd.org