New issue
Advanced search Search tips

Issue 781809 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 782817
Owner:
Closed: Nov 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

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

Project Member Reported by ClusterFuzz, Nov 6 2017

Issue description

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

Fuzzer: inferno_twister
Job Type: linux_ubsan_vptr_content_shell_drt
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000000
Crash State:
  blink::Node::GetDocument
  blink::ThemePainter::PaintBorderOnly
  blink::BoxPainter::PaintBoxDecorationBackgroundWithRect
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_vptr_content_shell_drt&range=508795:508862

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

Issue filed automatically.

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

Comment 1 by ClusterFuzz, Nov 6 2017

Components: Blink>DOM Blink>Paint
Labels: Test-Predator-AutoComponents
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 2 by ClusterFuzz, Nov 6 2017

Labels: Test-Predator-AutoOwner
Owner: chrishtr@chromium.org
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://chromium.googlesource.com/chromium/src/+/68c4cdbe80c1a578c9321d2a98f61939fc54c39d (Allow for paint offset roots that don't have PaintLayers.).

If this is incorrect, please remove the owner and apply the Test-Predator-Wrong-CLs label.
Labels: Test-Predator-Auto-CC
Labels: -Test-Predator-AutoComponents Test-Predator-Auto-Components
Labels: -Test-Predator-AutoOwner Test-Predator-Auto-Owner
Labels: -Test-Predator-Auto-CC
Components: -Blink>Paint -Blink>DOM Blink>Layout
Owner: e...@chromium.org
I think this was actually caused by the following commit:

https://chromium.googlesource.com/chromium/src/+/3e05d98d5234fd322d796e3b49d68da725a9c868

The proximate cause is that an anonymous LayoutBlockFlow induced by the
LayoutFullScreen returns null for GetNode().

Comment 8 by e...@chromium.org, Nov 8 2017

Thanks Chris!

Comment 9 by e...@chromium.org, Nov 13 2017

Mergedinto: 782817
Status: Duplicate (was: Assigned)
Project Member

Comment 10 by ClusterFuzz, Nov 18 2017

ClusterFuzz has detected this issue as fixed in range 514498:517702.

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

Fuzzer: inferno_twister
Job Type: linux_ubsan_vptr_content_shell_drt
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000000
Crash State:
  blink::Node::GetDocument
  blink::ThemePainter::PaintBorderOnly
  blink::BoxPainter::PaintBoxDecorationBackgroundWithRect
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_vptr_content_shell_drt&range=508795:508862
Fixed: https://clusterfuzz.com/revisions?job=linux_ubsan_vptr_content_shell_drt&range=514498:517702

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

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.

Sign in to add a comment