fitzgen requested pchickey for a review on PR #15318.
fitzgen opened PR #15318 from fitzgen:main-backport-f621ac0225 to bytecodealliance:main:
When an operation was actually in progress cancellation incorrectly didn't check whether the handle being provide was either the read or the write handle, meaning that the wrong handle could be used which could later lead to an inconsistent state.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
fitzgen requested wasmtime-core-reviewers for a review on PR #15318.
fitzgen removed the review request for wasmtime-core-reviewers from PR #15318.
alexcrichton edited PR #15318:
When an operation was actually in progress cancellation incorrectly didn't check whether the handle being provide was either the read or the write handle, meaning that the wrong handle could be used which could later lead to an inconsistent state.
Closes #15300
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
:thumbs_up: alexcrichton submitted PR review.
alexcrichton has enabled auto merge for PR #15318.
alexcrichton commented on PR #15318:
The failure here is incidental and will be resolved with https://github.com/bytecodealliance/wasmtime/pull/15301
fitzgen updated PR #15318.
github-actions[bot] added the label wasmtime:api on PR #15318.
alexcrichton requested wasmtime-fuzz-reviewers for a review on PR #15318.
alexcrichton updated PR #15318.
alexcrichton added PR #15318 Reject read/write cancellation with the wrong handle to the merge queue.
github-merge-queue[bot] removed PR #15318 Reject read/write cancellation with the wrong handle from the merge queue.
alexcrichton updated PR #15318.
alexcrichton added PR #15318 Reject read/write cancellation with the wrong handle to the merge queue.
:check: alexcrichton merged PR #15318.
alexcrichton removed PR #15318 Reject read/write cancellation with the wrong handle from the merge queue.
Last updated: Nov 19 2026 at 20:05 UTC