New issue
Advanced search Search tips

Issue 819549 link

Starred by 3 users

Issue metadata

Status: Verified
Owner: ----
Closed: Jul 19
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Null-dereference READ in blink::Node::UpdateDistribution

Project Member Reported by ClusterFuzz, Mar 7 2018

Issue description

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

Fuzzer: ifratric-browserfuzzer-v3
Job Type: mac_asan_chrome
Platform Id: mac

Crash Type: Null-dereference READ
Crash Address: 0x000000000011
Crash State:
  blink::Node::UpdateDistribution
  blink::ComparePositions
  blink::SelectionTemplate<blink::EditingAlgorithm<blink::FlatTreeTraversal> > bli
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=mac_asan_chrome&range=540771:540772

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

Issue filed automatically.

See https://github.com/google/clusterfuzz-tools for more information.
 

Comment 1 by tkent@chromium.org, Mar 7 2018

Components: Blink>Editing
Project Member

Comment 2 by ClusterFuzz, Mar 7 2018

Labels: OS-Linux
Project Member

Comment 3 by ClusterFuzz, Mar 7 2018

Components: Blink>DOM
Labels: Test-Predator-Auto-Components
Automatically applying components based on crash stacktrace and information from OWNERS files.

If this is incorrect, please apply the Test-Predator-Wrong-Components label.
Project Member

Comment 4 by ClusterFuzz, Mar 7 2018

Labels: Test-Predator-Auto-Owner
Owner: futhark@chromium.org
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://chromium.googlesource.com/chromium/src/+/822be90274eab3c047fea8cf2d7dd35cd5d0db49 (Enable slot-in-flat-tree flag in stable.).

If this is incorrect, please let us know why and apply the Test-Predator-Wrong-CLs label. If you aren't the correct owner for this issue, please unassign yourself as soon as possible so it can be re-triaged.
Attached simplified crash demo.
fuzz.html
246 bytes View Download
Cc: yosin@chromium.org
Before it crashes, it fails the DCHECK here:

https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/editing/SelectionAdjuster.cpp?sq=package:chromium&dr=CSs&l=739-742

yosin@: any ideas here?

Cc: -yosin@chromium.org futhark@chromium.org
Owner: yosin@chromium.org
Components: -Blink>Editing -Blink>DOM Blink>Editing>Selection

Comment 9 by yosin@chromium.org, Mar 20 2018

Labels: Pri-3
Owner: ----
Status: Available (was: Assigned)
 Issue 834691  has been merged into this issue.

Comment 11 by yosin@chromium.org, Jun 29 2018

Issue 857531 has been merged into this issue.
Project Member

Comment 12 by ClusterFuzz, Jul 19

ClusterFuzz has detected this issue as fixed in range 575972:575977.

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

Fuzzer: ifratric-browserfuzzer-v3
Job Type: mac_asan_chrome
Platform Id: mac

Crash Type: Null-dereference READ
Crash Address: 0x000000000011
Crash State:
  blink::Node::UpdateDistribution
  blink::ComparePositions
  blink::SelectionTemplate<blink::EditingAlgorithm<blink::FlatTreeTraversal> > bli
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=mac_asan_chrome&range=540771:540772
Fixed: https://clusterfuzz.com/revisions?job=mac_asan_chrome&range=575972:575977

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

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 13 by ClusterFuzz, Jul 19

Labels: ClusterFuzz-Verified
Status: Verified (was: Available)
ClusterFuzz testcase 5063963793162240 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