TOCTOU race between sound(4) buffer resizing and mmap
Summary
| CVE | CVE-2026-101308 |
|---|---|
| State | PUBLISHED |
| Assigner | freebsd |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-15 07:17:58 UTC |
| Updated | 2026-10-19 21:07:36 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from ADP
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-367 | CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Freebsd | Freebsd | 14.4 | - | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p1 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p10 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p2 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p3 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p4 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p5 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p6 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p7 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p8 | All | All |
| Operating System | Freebsd | Freebsd | 14.4 | p9 | All | All |
| Operating System | Freebsd | Freebsd | 14.5 | - | All | All |
| Operating System | Freebsd | Freebsd | 14.5 | p1 | All | All |
| Operating System | Freebsd | Freebsd | 15.1 | - | All | All |
| Operating System | Freebsd | Freebsd | 15.1 | p1 | All | All |
| Operating System | Freebsd | Freebsd | 15.1 | p2 | All | All |
| Operating System | Freebsd | Freebsd | 15.1 | p3 | All | All |
| Operating System | Freebsd | Freebsd | 15.1 | p4 | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| security.freebsd.org/advisories/FreeBSD-SA-26:71.sound.asc | [email protected] | security.freebsd.org | Patch, Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Hazley Samsudin of GovTech CSG (en)
There are currently no legacy QID mappings associated with this CVE.