You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[MERGE #4682@MikeHolman] Fix bad interaction with Spectre mitigation and VirtualArray OOB resume
Merge pull request #4682 from MikeHolman:virtualspectre
In case of VirtualArrays, we may have eliminated bound check and rely on our AV handling (as long as index is guaranteed to be within 4GB).
However, with spectre mitigations we force OOB reads to nullptr. Our exception filter only handles AVs trying to read from the reserved region, so we end up crashing with nullptr deref instead of resuming.
This change makes it so that we will only poison in case the index exceeds our 4GB reservation.
OS: 15897366
0 commit comments