Threads kept running in freed memory after exec
KSA-2026-0010
- Status
- Resolved
- Severity
- High
- 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
When a program with several threads started a new program with exec, the old address space was freed while its other threads were still running in it, so they could use memory that had been given to someone else.
exec now stops the other threads first. This was found and fixed before the first public release.
Credit
Brent Gordon