CVE-2026-101308

TOCTOU race between sound(4) buffer resizing and mmap

State
Published
Severity
5.5 Medium
Published
Oct 15, 2026
Updated
Oct 15, 2026
Reserved
Sep 28, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 15.1-RELEASE to before p5Affected
  • 14.5-RELEASE to before p2Affected
  • 14.4-RELEASE to before p11Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.