{"id":"CVE-2026-101308","aliases":["CVE-2026-101308"],"related":[],"kind":"vulnerability","state":"published","title":"TOCTOU race between sound(4) buffer resizing and mmap","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-15T07:08:52.619Z","modified":"2026-10-19T21:07:36.683Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-367"],"affected":[{"ranges":[{"type":"release","introduced":"15.1-RELEASE","fixed":"p5","status":"affected"},{"type":"release","introduced":"14.5-RELEASE","fixed":"p2","status":"affected"},{"type":"release","introduced":"14.4-RELEASE","fixed":"p11","status":"affected"}],"vendor":"FreeBSD","product":"FreeBSD","source":"cvelist"},{"ranges":[{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.5"},{"status":"affected","version":"14.5"},{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"}],"vendor":"freebsd","product":"freebsd","cpe":"cpe:2.3:o:freebsd:freebsd:14.4:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:71.sound.asc","tags":["patch","vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Hazley Samsudin of GovTech CSG"],"assigner":"freebsd","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-15T15:40:09.578Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-101308","url":"https://www.cve.org/CVERecord?id=CVE-2026-101308","licence":"CVE Terms of Use","modified":"2026-10-15T15:40:12.607Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-101308","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-101308","licence":"Public domain","modified":"2026-10-19T21:07:36.683Z"}],"updatedAt":"2026-11-25T22:59:44.845Z","epss":{"score":0.0009,"percentile":0.00439,"date":"2026-12-01T12:00:22.000Z"}}