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

Issue 827887 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Null-dereference READ in blink::FlatTreeTraversalNg::TraverseParentForV0

Project Member Reported by ClusterFuzz, Apr 1 2018

Issue description

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

Fuzzer: inferno_twister
Job Type: windows_asan_chrome
Platform Id: windows

Crash Type: Null-dereference READ
Crash Address: 0x000000000010
Crash State:
  blink::FlatTreeTraversalNg::TraverseParentForV0
  blink::FlatTreeTraversalNg::TraverseParent
  blink::Node::CanStartSelection
  
Sanitizer: address (ASAN)

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

Issue filed automatically.

See https://github.com/google/clusterfuzz-tools for more information.
 
Cc: brajkumar@chromium.org
Components: Blink
Labels: M-66 Test-Predator-Wrong
Owner: hayato@chromium.org
Status: Assigned (was: Untriaged)
Predator and CL could not provide any possible suspects.

Using Code Search for the file, "flat_tree_traversal_ng.cc" suspecting the below Cl might have caused this issue

Suspect CL: https://chromium.googlesource.com/chromium/src/+/6bc5dffa87430fbe29aa4804db44c0ce1ee4245e%5E%21/third_party/WebKit/Source/core/dom/ng/flat_tree_traversal_ng.cc

hayato@ -- Could you please check whether this is caused with respect to your change, if not please help us in assigning it to the right owner.

Thanks!

Cc: yosin@chromium.org
Components: -Blink Blink>Editing
Owner: yoichio@chromium.org
It looks Node::CanStartSelection uses FlatTreeTraversal without updating distribution.

https://chromium.googlesource.com/chromium/src/+/ab3bcd266e7f1000dc0ca7e8798d7b2c62a2d3a5/third_party/WebKit/Source/core/dom/Node.cpp#1143

yoichio@, could you take a look?
Labels: -Pri-1 Pri-3
Since the case is using createShadowRoot() and execCommand("selectall"),
impact is low.
Project Member

Comment 4 by ClusterFuzz, Apr 22 2018

ClusterFuzz has detected this issue as fixed in range 552588:552589.

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

Fuzzer: inferno_twister
Job Type: windows_asan_chrome
Platform Id: windows

Crash Type: Null-dereference READ
Crash Address: 0x000000000010
Crash State:
  blink::FlatTreeTraversalNg::TraverseParentForV0
  blink::FlatTreeTraversalNg::TraverseParent
  blink::Node::CanStartSelection
  
Sanitizer: address (ASAN)

Fixed: https://clusterfuzz.com/revisions?job=windows_asan_chrome&range=552588:552589

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

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, Apr 22 2018

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

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

Sign in to add a comment