# CVE-2026-101308: TOCTOU race between sound(4) buffer resizing and mmap

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.09%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-10-15T07:08:52.619Z
- Modified: 2026-10-19T21:07:36.683Z
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 15.1-RELEASE before p5; from 14.5-RELEASE before p2; from 14.4-RELEASE before p11; 14.4; 14.5; 15.1

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-26:71.sound.asc> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-101308](https://www.cve.org/CVERecord?id=CVE-2026-101308), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-101308](https://nvd.nist.gov/vuln/detail/CVE-2026-101308), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-101308 · Whole record: https://cve.day/CVE-2026-101308.json · Rebuilt by cve.day 2026-11-25T22:59:44.845Z
