Skip to content

Commit b0d6e44

Browse files
isheludkomibrunin
authored andcommitted
[Backport] CVE-2021-30536: Out of bounds read in V8
Manual cherry-pick of patch originally reviewed on https://chromium-review.googlesource.com/c/v8/v8/+/2800111: [builtins][ia32] Create internal frame before throwing StackOverflow ... in CallBoundFunction builtin. Bug: chromium:1194358 Change-Id: I8ddd4fff39cf399d4af332cff8eddc40e217cfdb Auto-Submit: Igor Sheludko <ishell@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/master@{#73775} Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
1 parent f41bb66 commit b0d6e44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

chromium/v8/src/builtins/ia32/builtins-ia32.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2255,6 +2255,7 @@ void Generate_PushBoundArguments(MacroAssembler* masm) {
22552255
__ bind(&stack_overflow);
22562256
{
22572257
FrameScope frame(masm, StackFrame::MANUAL);
2258+
__ EnterFrame(StackFrame::INTERNAL);
22582259
__ CallRuntime(Runtime::kThrowStackOverflow);
22592260
__ int3();
22602261
}

0 commit comments

Comments
 (0)