New issue
Advanced search Search tips

Issue 735559 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 686663
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: ----
Type: Bug



Sign in to add a comment

Ill in v8::Utils::ReportOOMFailure

Project Member Reported by ClusterFuzz, Jun 21 2017

Issue description

Detailed report: https://clusterfuzz.com/testcase?key=4608523005853696

Fuzzer: libFuzzer_v8_regexp_parser_fuzzer
Job Type: libfuzzer_chrome_asan_debug
Platform Id: linux

Crash Type: Ill
Crash Address: 0x7f5ff622e608
Crash State:
  v8::Utils::ReportOOMFailure
  v8::internal::V8::FatalProcessOutOfMemory
  v8::internal::Assembler::GrowBuffer
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_asan_debug&range=415616:415651

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=4608523005853696


Issue filed automatically.

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reproducing.md for more information.
 

Comment 1 by mmoroz@chromium.org, Jun 21 2017

Cc: mmoroz@chromium.org
Components: Blink>JavaScript
Owner: jgruber@chromium.org
Glad to see a crash from regexp parser fuzzer! Jakob, would you mind taking a look?

Comment 2 by mmoroz@chromium.org, Jun 21 2017

Status: Assigned (was: Untriaged)

Comment 3 by mmoroz@chromium.org, Jun 21 2017

Labels: -Type-Bug-Security -Restrict-View-SecurityTeam -Security_Impact-Head -Security_Severity-High Type-Bug
Though doesn't seem to be a security issue, as ochang@ noticed, so I'm removing security labels.
I suspect a dupe of  crbug.com/686663 , will confirm in a bit.
Cc: yangguo@chromium.org
Mergedinto: 686663
Status: Duplicate (was: Assigned)
Yep, this has a similar root cause as  crbug.com/686663 , i.e. a sequence of boundary checks that cause exponential code growth.

 crbug.com/v8/6126  collapsed repeated boundary checks (\b\b\b\b -> \b). We could go a step further and collapse the impossible \b\B pattern (which is what triggers the OOM in the current issue) into a simple fail. I opened http://crbug.com/v8/6515 to track this.
Cc: jgruber@chromium.org
 Issue 761668  has been merged into this issue.
 Issue 754414  has been merged into this issue.
 Issue 762542  has been merged into this issue.
 Issue 763640  has been merged into this issue.

Sign in to add a comment