New issue
Advanced search Search tips

Issue 646258 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug-Security



Sign in to add a comment

Crash in ReadUnalignedValue<int>

Project Member Reported by ClusterFuzz, Sep 13 2016

Issue description

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

Fuzzer: v8_wasm_code_fuzzer
Job Type: libfuzzer_chrome_asan
Platform Id: linux

Crash Type: UNKNOWN READ
Crash Address: 0x000000002db9
Crash State:
  ReadUnalignedValue<int>
  ReadLittleEndianValue<int>
  v8::internal::wasm::ThreadImpl::Execute
  
Recommended Security Severity: Medium

Regressed: https://cluster-fuzz.appspot.com/revisions?job=libfuzzer_chrome_asan&range=417985:418093

Minimized Testcase (0.16 Kb): https://cluster-fuzz.appspot.com/download/AMIfv97OR4Gy0qOJmDXnpfQReA5okgDZt5Kb9Sx6B8JzMGc9zzQQCOjQjLeDCxAfswUlnzQ-Da45bdO97fGBiNeC-K9KFGHfWjRfXRXOKF5U1sgdcS-IUEv_52x4myezA91EjyS3QcU5yj1DigXh1JuXLzTZWlI5ZA?testcase_id=6541602099298304

Issue filed automatically.

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

Comment 1 by sheriffbot@chromium.org, Sep 13 2016

Labels: M-55
Project Member

Comment 2 by sheriffbot@chromium.org, Sep 13 2016

Labels: ReleaseBlock-Beta
This issue is a security regression. If you are not able to fix this quickly, please revert the change that introduced it.

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

Comment 3 by sheriffbot@chromium.org, Sep 13 2016

Labels: Pri-1
Components: Blink>JavaScript>WebAssembly
Owner: ahaas@chromium.org
Status: Assigned (was: Untriaged)
Hello Andreas,

Assigning 2 bugs to you, Read/WriteUnalignedValue() crashes in v8 wasm.  One marked security by clusterfuzz.

Similar bug: https://bugs.chromium.org/p/chromium/issues/detail?id=646295

Comment 5 by ahaas@chromium.org, Sep 14 2016

Status: Started (was: Assigned)
Project Member

Comment 6 by bugdroid1@chromium.org, Sep 14 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/v8/v8.git/+/6d89f8a7fc56e41b08df1c4b52f539fb8b27b24e

commit 6d89f8a7fc56e41b08df1c4b52f539fb8b27b24e
Author: ahaas <ahaas@chromium.org>
Date: Wed Sep 14 12:55:43 2016

[wasm] Allocate memory for the wasm interpreter in the fuzzer.

R=titzer@chromium.org
BUG= chromium:646258 

Review-Url: https://codereview.chromium.org/2341673002
Cr-Commit-Position: refs/heads/master@{#39419}

[modify] https://crrev.com/6d89f8a7fc56e41b08df1c4b52f539fb8b27b24e/test/common/wasm/wasm-module-runner.cc

Project Member

Comment 7 by ClusterFuzz, Sep 15 2016

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

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

Comment 8 by ClusterFuzz, Sep 16 2016

ClusterFuzz has detected this issue as fixed in range 418535:418598.

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

Fuzzer: v8_wasm_code_fuzzer
Job Type: libfuzzer_chrome_asan
Platform Id: linux

Crash Type: UNKNOWN READ
Crash Address: 0x000000002db9
Crash State:
  ReadUnalignedValue<int>
  ReadLittleEndianValue<int>
  v8::internal::wasm::ThreadImpl::Execute
  
Recommended Security Severity: Medium

Regressed: https://cluster-fuzz.appspot.com/revisions?job=libfuzzer_chrome_asan&range=417985:418093
Fixed: https://cluster-fuzz.appspot.com/revisions?job=libfuzzer_chrome_asan&range=418535:418598

Minimized Testcase (0.16 Kb): https://cluster-fuzz.appspot.com/download/AMIfv97OR4Gy0qOJmDXnpfQReA5okgDZt5Kb9Sx6B8JzMGc9zzQQCOjQjLeDCxAfswUlnzQ-Da45bdO97fGBiNeC-K9KFGHfWjRfXRXOKF5U1sgdcS-IUEv_52x4myezA91EjyS3QcU5yj1DigXh1JuXLzTZWlI5ZA?testcase_id=6541602099298304

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reproducing.md 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 9 by sheriffbot@chromium.org, Sep 16 2016

Labels: -Restrict-View-SecurityTeam Restrict-View-SecurityNotify
Labels: -ReleaseBlock-Beta
Project Member

Comment 11 by sheriffbot@chromium.org, Dec 23 2016

Labels: -Restrict-View-SecurityNotify allpublic
This bug has been closed for more than 14 weeks. Removing security view restrictions.

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

Sign in to add a comment