Stream: git-wasmtime

Topic: wasmtime / PR #13008 Fix pooling allocator predicate to r...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 09 2026 at 18:47):

alexcrichton requested wasmtime-core-reviewers for a review on PR #13008.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 09 2026 at 18:47):

alexcrichton opened PR #13008 from alexcrichton:fix-pooling-allocator to bytecodealliance:main:

Note: this is a fix for GHSA-6wgr-89rj-399p

This commit fixes a mistake that was introduced in #9583 where the logic to reset a linear memory slot in the pooling allocator used the wrong predicate. Specifically VM permissions must be reset if virtual memory can be relied on at all, and the preexisting predicate of can_elide_bounds_check was an inaccurate representation of this. The correct predicate to check is can_use_virtual_memory.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 09 2026 at 18:47):

alexcrichton requested fitzgen for a review on PR #13008.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 09 2026 at 19:21):

alexcrichton updated PR #13008.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 09 2026 at 19:48):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 09 2026 at 19:48):

fitzgen added PR #13008 Fix pooling allocator predicate to reset VM permissions to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 09 2026 at 20:37):

fitzgen merged PR #13008.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 09 2026 at 20:37):

fitzgen removed PR #13008 Fix pooling allocator predicate to reset VM permissions from the merge queue.


Last updated: Apr 12 2026 at 23:10 UTC