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

Issue 638432 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

!m_client in DocumentThreadableLoader.cpp

Project Member Reported by ClusterFuzz, Aug 17 2016

Issue description

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

Fuzzer: inferno_twister
Job Type: linux_asan_content_shell_drt
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  !m_client in DocumentThreadableLoader.cpp
  blink::DocumentThreadableLoader::~DocumentThreadableLoader
  blink::HeapObjectHeader::finalize
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_asan_content_shell_drt&range=407057:407074

Minimized Testcase (0.30 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv97zTsUC8jySEV04pFhaV9UwbZ8v2i--XpfUzr1S_Wj-G005BZAzRfs4CkOeQmtaLcy8lwEBhGc2X2N8mZG1YMfBmWA0xPBouUFDvLRFZ5Us2quKleqoWw7JQ-iXc_fdbLGQI2_XlAWFtJq4cZmfxHKtIl_1ZQ?testcase_id=4590488739119104
<script>
    xhr = new XMLHttpRequest();
xhr.open("GET", false);
xhr.onreadystatechange = function () {
        xhr.open("GET", true);
        xhr.send();
}
xhr.send();
; if (window.layoutTestController) layoutTestController.waitUntilDone();
setTimeout("tCFcrash()");
function tCFcrash() {
gc()
}</script>


Additional requirements: Requires HTTP

Issue manually filed by: mummareddy

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Components: Tools>Test>FindIt>NoResult Blink>Network>XHR
Labels: M-54 Te-Logged
Owner: yhirano@chromium.org
Status: Assigned (was: Untriaged)
yhirano@, as per issue 632448 assigning this issue to you. could you please take a look?
Project Member

Comment 2 by bugdroid1@chromium.org, Aug 24 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/44a428232115791ba479e01981a5450c8500ee70

commit 44a428232115791ba479e01981a5450c8500ee70
Author: yhirano <yhirano@chromium.org>
Date: Wed Aug 24 08:43:12 2016

Suppress cancellation notification in XMLHttpRequest::endLoading

We call ThreadableLoader::cancel in XMLHttpRequest::endLoading as it
is required by ThreadableLoader, but that cancellation should not be
notified to JS. Otherwise, the script can replace |m_loader| in the
XMLHttpRequest instance and that violates the ThreadableLoader assumption
itself.

BUG=638567,  638432 

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

[modify] https://crrev.com/44a428232115791ba479e01981a5450c8500ee70/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp

Project Member

Comment 3 by ClusterFuzz, Aug 25 2016

ClusterFuzz has detected this issue as fixed in range 413414:413421.

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

Fuzzer: inferno_twister
Job Type: linux_asan_content_shell_drt
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  !m_client in DocumentThreadableLoader.cpp
  blink::DocumentThreadableLoader::~DocumentThreadableLoader
  blink::HeapObjectHeader::finalize
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_asan_content_shell_drt&range=407057:407074
Fixed: https://cluster-fuzz.appspot.com/revisions?job=linux_asan_content_shell_drt&range=413414:413421

Minimized Testcase (0.30 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv94jnFhzpncMvvwENZReLbYnyExjp2Mo-00N6EhqsTZ6gwNiwXSWJzzIcvVdfQlwk6eiOkq4s2B5Sf2Q3_p5XJ2VZrlkVQlD8_ClMHU8BA7IteQJWhAzsLs4SGfQgNXhUI56k7IqM9nKgf7Ktn8POm_TcxunNQ?testcase_id=4590488739119104
<script>
    xhr = new XMLHttpRequest();
xhr.open("GET", false);
xhr.onreadystatechange = function () {
        xhr.open("GET", true);
        xhr.send();
}
xhr.send();
; if (window.layoutTestController) layoutTestController.waitUntilDone();
setTimeout("tCFcrash()");
function tCFcrash() {
gc()
}</script>


Additional requirements: Requires HTTP

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.
Status: Fixed (was: Assigned)
Components: -Tools>Test>FindIt>NoResult
Project Member

Comment 6 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