Use-after-free when a microphone stream was closed during a read
KSA-2026-0014
- Status
- Resolved
- Severity
- Medium
- Affected versions
- No released version (development code from before 0.2.0)
- Fixed in
- 0.2.0
- Published
- 2026-11-02
- Updated
- 2026-11-02
Summary
Closing a recording stream freed its resampler while another thread could still be reading from it, which could crash the system or corrupt kernel memory.
A stream being read is no longer freed until the read ends. This was found and fixed before the first public release.
Credit
Brent Gordon