CVE-2026-101308
published medium CVSS 3.1 · 5.5TOCTOU race between sound(4) buffer resizing and mmap
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD15.1-RELEASE to < p5 · 14.5-RELEASE to < p2 · 14.4-RELEASE to < p11 · Other versions: unknown | Affected | Not stated | freebsd |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 15.1-RELEASE to < p5 (affected · release)14.5-RELEASE to < p2 (affected · release)14.4-RELEASE to < p11 (affected · release)Default: unknown | freebsd · cna |
Weaknesses
1- CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
References
1Provider assertions
2freebsd · cna
TOCTOU race between sound(4) buffer resizing and mmap
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6b7768fbb4b9dbd93d8cd1e9212ae1f82add22965df50f9ca131f98af80d358a
- Ingested
- 15 Oct 2026, 15:48:17 UTC
- Source record
- Official CVE record