Commit 25e22b6
[wasm][jspi] Reintroduce an SBXCHECK
Reintroduce an SBXCHECK to ensure that we always suspend/return to the
immediate parent stack. Returning should already be safe because the
StackMemory chain lives outside of the sandbox, but suspending is still
unsafe because it uses the in-sandbox WasmSuspenderObject chain which
can be corrupted.
This is a short-term fix. A more robust solution will be to move the
WasmSuspenderObjects outside of the sandbox, like we did with the
WasmContinuationObjects (https://crrev.com/c/6426203).
[email protected]
Fixed: chromium:422645418
Change-Id: I08a60303ff65a07ae0ae4bd2f1e8758b174fba1a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6623289
Reviewed-by: Jakob Kummerow <[email protected]>
Commit-Queue: Thibaud Michaud <[email protected]>
Cr-Commit-Position: refs/heads/main@{#100689}1 parent d7d46a7 commit 25e22b6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3942 | 3942 | | |
3943 | 3943 | | |
3944 | 3944 | | |
3945 | | - | |
| 3945 | + | |
3946 | 3946 | | |
3947 | 3947 | | |
3948 | 3948 | | |
| |||
0 commit comments