New issue
Advanced search Search tips

Issue 766003 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

DCHECK failure in !it.done() in wasm-module.cc

Project Member Reported by ClusterFuzz, Sep 17 2017

Issue description

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

Fuzzer: inferno_js_fuzzer
Job Type: linux_asan_d8_dbg
Platform Id: linux

Crash Type: DCHECK failure
Crash Address: 
Crash State:
  !it.done() in wasm-module.cc
  v8::base::DefaultDcheckHandler
  v8::internal::wasm::UnwrapExportWrapper
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_asan_d8_dbg&range=48037:48038

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

Issue filed automatically.

See https://github.com/google/clusterfuzz-tools for more information.
 
Components: -Blink>JavaScript Blink>JavaScript>WebAssembly
Labels: -Type-Bug-Security -Restrict-View-SecurityTeam -Security_Impact-Head -Security_Severity-High Pri-2 Type-Bug
Owner: clemensh@chromium.org
Status: Assigned (was: Untriaged)
Duplicate (with changed signature) of 735973.

Copying comment:
Lowering priority, as this requires the --wasm-lazy-compilation command line flag.
It's also not security relevant.

The problem is that one instance imports an exported wasm function, and then tries to unwrap the js-to-wasm wrapper, but because this is using lazy compilation, there is no embedded WASM_FUNCTION code object. Hence a DCHECK fails / it crashes (depending on build mode).
Project Member

Comment 2 by ClusterFuzz, Oct 1 2017

Labels: Test-Predator-AutoComponents
Automatically applying components based on information from OWNERS files. If this seems incorrect, please apply the Test-Predator-Wrong-Components label.
Labels: -Test-Predator-AutoComponents
Project Member

Comment 4 by ClusterFuzz, Oct 17 2017

ClusterFuzz has detected this issue as fixed in range 48580:48581.

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

Fuzzer: inferno_js_fuzzer
Job Type: linux_asan_d8_dbg
Platform Id: linux

Crash Type: DCHECK failure
Crash Address: 
Crash State:
  !it.done() in wasm-module.cc
  v8::internal::wasm::UnwrapExportWrapper
  UnwrapExportOrCompileImportWrapper
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_asan_d8_dbg&range=48037:48038
Fixed: https://clusterfuzz.com/revisions?job=linux_asan_d8_dbg&range=48580:48581

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

See https://github.com/google/clusterfuzz-tools for more information.

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Project Member

Comment 5 by ClusterFuzz, Oct 17 2017

Labels: ClusterFuzz-Verified
Status: Verified (was: Assigned)
ClusterFuzz testcase 5746137901563904 is verified as fixed, so closing issue as verified.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.
Project Member

Comment 6 by bugdroid1@chromium.org, Oct 17 2017

Sign in to add a comment