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

Issue 607082 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Crash in blink::KeyframeEffect::create

Project Member Reported by ClusterFuzz, Apr 27 2016

Issue description

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

Fuzzer: ochang_domfuzzer
Job Type: linux_asan_content_shell_drt
Platform Id: linux

Crash Type: UNKNOWN READ
Crash Address: 0x000000000020
Crash State:
  blink::KeyframeEffect::create
  blink::V8KeyframeEffect::constructorCallback
  v8::internal::FunctionCallbackArguments::Call
  

Minimized Testcase (0.28 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv97pF9rKu_llns4vnB5JGeD_WLPABj-V64DCZaKHB_7EMwFe6jBk-ctv0dKZceXIA46v9A8CYN3r_qKuMP2wf1Yv2ZyYd6rCENVfYmYZ1rlIsGnIj5byS2BkJcJv0QlMxXTz_0Y5GeP0TPvorPCz1L7EzrzUPg
<script>
var element = document.getElementById('e');
var keyframes = [{}, {}];
var keyframeEffectBasic = new KeyframeEffect(element, keyframes);
var timingNumberDuration = {duration: 2};
var animationNumberDuration = new KeyframeEffect(element, keyframes, timingNumberDuration);
</script>


Filer: suzyh

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

Comment 1 by suzyh@chromium.org, Apr 27 2016

Cc: -suzyh@google.com suzyh@chromium.org
Components: Blink>Animation
Labels: -OS-Linux -Pri-1 OS-All Pri-2
Owner: alancutter@chromium.org
Minimal repro: new KeyframeEffect(null, [], {});
The use counting in KeyframeEffect.cpp is not checking whether element is null or not before dereferencing. This does not affect stable, only experimental.
Status: Fixed (was: Available)
Project Member

Comment 5 by ClusterFuzz, May 11 2016

ClusterFuzz has detected this issue as fixed in range 392597:392661.

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

Fuzzer: ochang_domfuzzer
Job Type: linux_asan_content_shell_drt
Platform Id: linux

Crash Type: UNKNOWN READ
Crash Address: 0x000000000020
Crash State:
  blink::KeyframeEffect::create
  blink::V8KeyframeEffect::constructorCallback
  v8::internal::FunctionCallbackArguments::Call
  
Fixed: https://cluster-fuzz.appspot.com/revisions?job=linux_asan_content_shell_drt&range=392597:392661

Minimized Testcase (0.28 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv97pF9rKu_llns4vnB5JGeD_WLPABj-V64DCZaKHB_7EMwFe6jBk-ctv0dKZceXIA46v9A8CYN3r_qKuMP2wf1Yv2ZyYd6rCENVfYmYZ1rlIsGnIj5byS2BkJcJv0QlMxXTz_0Y5GeP0TPvorPCz1L7EzrzUPg
<script>
var element = document.getElementById('e');
var keyframes = [{}, {}];
var keyframeEffectBasic = new KeyframeEffect(element, keyframes);
var timingNumberDuration = {duration: 2};
var animationNumberDuration = new KeyframeEffect(element, keyframes, timingNumberDuration);
</script>


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