{"id":"CVE-2026-101308","published":"2026-10-15T07:08:52Z","modified":"2026-10-15T15:40:12Z","title":"TOCTOU race between sound(4) buffer resizing and mmap","vendor":"FreeBSD","product":"FreeBSD","tier":"tail","description":{"text":"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.\n\nAn 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00074,"percentile":0.00074,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:71.sound.asc","tags":["vendor-advisory"]}],"priority":{"score":3.9,"factors":[{"name":"EPSS percentile","points":0.01},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"freebsd","affectedVersions":[{"vendor":"FreeBSD","product":"FreeBSD","versions":[">= 15.1-RELEASE, < p5",">= 14.5-RELEASE, < p2",">= 14.4-RELEASE, < p11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-15T15:40:09.578920Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-101883","exploited":false,"provenance":"source"}}