New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 613928 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

!v->IsParameter() in src/wasm/asm-wasm-builder.cc

Project Member Reported by ClusterFuzz, May 23 2016

Issue description

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5256224933412864

Fuzzer: mbarbella_js_mutation
Job Type: linux_asan_d8_v8_arm64_dbg
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  !v->IsParameter() in src/wasm/asm-wasm-builder.cc
  
Regressed: V8: r36291:36292

Minimized Testcase (0.33 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv96iIQh0KuW1Qw7cigMFjlXcEbha_i_dqWeS1htKQaSOX_uH0rhEyy8iu39vCduVqYuUuPBVCdTuvB8-7SxuBgwB1pN2nd4JWyvtt4ZW9H0HW5ioX55U8P9yZWlhs5_lT4EOGzSd3pxHLd8tonRAGrgTJtY8FQ
  function __f_41(stdlib, __v_35) {
    "use asm";
    __v_35 = __v_35;
    function __f_21(int_val, double_val) {
      int_val = int_val|0;
      double_val = +double_val;
    }
    return {__f_21:__f_21};
  }
  function __f_10() {
  }
  var module = Wasm.instantiateModuleFromAsm(__f_41.toString());
( {
})();
(function __f_54() {
})();


Filer: ishell

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 

Comment 1 by ishell@chromium.org, May 23 2016

Cc: ahaas@chromium.org
Owner: titzer@chromium.org
Status: Assigned (was: Available)
Cc: titzer@chromium.org bradnelson@chromium.org
Components: -Blink>JavaScript Blink>JavaScript>WebAssembly
Labels: -Pri-1 BlocksAsmWasmRelease Pri-2
Owner: aseemgarg@chromium.org
Aseem, please look into this one and see if you can repo + understand. Thanks!

 Issue 617614  has been merged into this issue.
Labels: -BlocksAsmWasmRelease BlocksAsmWasmLaunch
This error is legitimate. The ffi can not be modified inside the module. However, the error occurs only in Debug mode. The typer should catch in release build.
Status: Fixed (was: Assigned)
fixed with https://codereview.chromium.org/2123283007/
Project Member

Comment 7 by ClusterFuzz, Jul 11 2016

ClusterFuzz has detected this issue as fixed in range 37652:37653.

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5256224933412864

Fuzzer: mbarbella_js_mutation
Job Type: linux_asan_d8_v8_arm64_dbg
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  !v->IsParameter() in asm-wasm-builder.cc
  
Regressed: V8: r36291:36292
Fixed: V8: r37652:37653

Minimized Testcase (0.33 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv96q7VrfNvlDMHIi3C4EZvAgE7lXJxhe1Osaw7xDVdhoFiLivV7fIIK5z9AnejF1Qxwza8loo1OhJLVY0l9T45Kah8urtzwskwPvwsV7tecE3aUugzmICCDkBWeypc10XtgpNA6mhNc6ecaGldnu2N0JIK1Ryg?testcase_id=5256224933412864
(function () {
})();
  function __f_41(stdlib, __v_35) {
    "use asm";
    __v_35 = __v_35;
    function __f_21(int_val, double_val) {
      int_val = int_val|0;
      double_val = +double_val;
    }
    return {__f_21:__f_21};
  }
  function __f_10() {
  }
  var module = Wasm.instantiateModuleFromAsm(__f_41.toString());
( {
})();


See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs 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 8 by sheriffbot@chromium.org, Nov 22 2016

Labels: -Restrict-View-EditIssue
Removing EditIssue view restrictions from ClusterFuzz filed bugs. If you believe that this issue should still be restricted, please reapply the label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment