To be absolutely clear, the behavior exhibited in the OP is indeed considered a bug by the Rust developers: see <a href="https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;issues&#x2F;16012#issuecomment-165589146" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;issues&#x2F;16012#issuecomment-...</a> for the latest discussion. TL;DR: this currently isn&#x27;t exploitable on Windows, and patches to LLVM adding support for stack probes will ideally allow this to be easily solved for non-Windows platforms as well.