{"id":"CVE-2026-101308","state":"PUBLISHED","title":"TOCTOU race between sound(4) buffer resizing and mmap","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.\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.","publishedAt":"2026-10-15T07:08:52.619Z","updatedAt":"2026-10-15T15:40:12.607Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"freebsd","products":["FreeBSD FreeBSD"],"affected":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"15.1-RELEASE","status":"affected","lessThan":"p5","versionType":"release"},{"version":"14.5-RELEASE","status":"affected","lessThan":"p2","versionType":"release"},{"version":"14.4-RELEASE","status":"affected","lessThan":"p11","versionType":"release"}],"modules":["sound"]}],"references":["https://security.freebsd.org/advisories/FreeBSD-SA-26:71.sound.asc"],"weaknesses":["CWE-367"],"ingestedAt":"2026-10-29T20:10:13.529Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/101xxx/CVE-2026-101308.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-101308","state":"PUBLISHED","datePublished":"2026-10-15T07:08:52.619Z","dateUpdated":"2026-10-15T15:40:12.607Z","assignerShortName":"freebsd","assignerOrgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateReserved":"2026-09-28T13:33:02.323Z"},"containers":{"cna":{"title":"TOCTOU race between sound(4) buffer resizing and mmap","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"15.1-RELEASE","status":"affected","lessThan":"p5","versionType":"release"},{"version":"14.5-RELEASE","status":"affected","lessThan":"p2","versionType":"release"},{"version":"14.4-RELEASE","status":"affected","lessThan":"p11","versionType":"release"}],"modules":["sound"]}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:71.sound.asc","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"freebsd","orgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateUpdated":"2026-10-15T07:08:52.619Z"},"datePublic":"2026-10-14T18:45:00.000Z","credits":[{"lang":"en","type":"finder","value":"Hazley Samsudin of GovTech CSG"}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-10-15T15:40:09.578920Z","id":"CVE-2026-101308","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T15:40:12.607Z"}}]}}}