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.
Published: 2026-10-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Apply patch
AI Analysis

Impact

The vulnerability is a time‑of‑check to time‑of‑use race in FreeBSD’s sound(4) driver. When a channel buffer is resized, the driver checks that the buffer is not memory‑mapped, releases the channel lock, and re‑allocates a new buffer. During the brief period after the lock is dropped, an attacker can perform an mmap on the same buffer from another thread. The race causes the driver to free the now‑mapped buffer without re‑checking, leading to a use‑after‑free in the kernel. An unprivileged local user with access to a sound device can exploit this race to execute code in kernel context and potentially gain higher privileges.

Affected Systems

All FreeBSD releases that ship the stock sound(4) driver are affected. The advisory does not list specific versions, so any deployment using the original driver before the patch may be vulnerable.

Risk and Exploitability

The CVSS score of 5.5 indicates medium severity, and the EPSS score of less than 1% suggests a very low probability of exploitation in the wild. The vulnerability is not included in CISA’s KEV catalog. A local attacker who can orchestrate the timing of an mmap during the buffer resize can trigger the use‑after‑free to elevate privileges, but no widespread automated exploitation is reported at this time.

Generated by OpenCVE AI on October 16, 2026 at 22:03 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the latest FreeBSD security update that includes the fixed sound driver or apply the vendor patch that resolves the race condition
  • Restrict access to audio devices by limiting file system permissions on /dev/audio* or /dev/snd* to privileged users only, thereby reducing the local user attack surface
  • If audio services are not required on a system, disable or remove the sound subsystem or kernel module to eliminate the vulnerability

Generated by OpenCVE AI on October 16, 2026 at 22:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 21:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:o:freebsd:freebsd:14.4:-:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p10:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p2:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p3:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p4:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p5:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p6:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p7:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p8:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.4:p9:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.5:-:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:14.5:p1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:-:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:p1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:p2:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:p3:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:p4:*:*:*:*:*:*

Fri, 16 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Freebsd
Freebsd freebsd
Vendors & Products Freebsd
Freebsd freebsd

Thu, 15 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
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.
Title TOCTOU race between sound(4) buffer resizing and mmap
Weaknesses CWE-367
References

cve-icon MITRE

Status: PUBLISHED

Assigner: freebsd

Published:

Updated: 2026-10-15T15:40:12.607Z

Reserved: 2026-09-28T13:33:02.323Z

Link: CVE-2026-101308

cve-icon Vulnrichment

Updated: 2026-10-15T15:40:06.953Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-15T07:17:58.007

Modified: 2026-10-19T21:07:36.683

Link: CVE-2026-101308

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T22:15:06Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition