New issue
Advanced search Search tips

Issue 891086 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

Null-dereference READ in blink::Document::View

Project Member Reported by ClusterFuzz, Oct 1

Issue description

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

Fuzzer: inferno_twister
Job Type: linux_ubsan_chrome
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000210
Crash State:
  blink::Document::View
  blink::Document::UpdateStyleAndLayoutIgnorePendingStylesheets
  blink::FrameSelection::ComputeVisibleSelectionInDOMTreeDeprecated
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_chrome&range=537003:537004

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

Issue filed automatically.

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

Comment 1 by ClusterFuzz, Oct 1

Components: Blink>DOM Blink>Editing
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 2 by ClusterFuzz, Oct 1

Labels: Test-Predator-Auto-Owner
Owner: xidac...@chromium.org
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://chromium.googlesource.com/chromium/src/+/1d692b441a4fe9771fbefa6cd9647e6f8ddf1822 ([PaintWorklet] Fix crash when hitting breakpoint during lifecycle).

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.
Cc: yosin@chromium.org
I did some investigation, and found that the actually problem is that when the code path is in FrameSelection::ComputeVisibleSelectionInDOMTreeDeprecated, it calls the FrameSelection::GetDocument(), and that the LifecycleContext() is nullptr.

I don't have enough knowledge on printing to propose a solution.

yosin@: could you take a look? I see that you have recently changed the frame_selection code.
Cc: yoichio@chromium.org
ccing: yoichio@chromium.org
Owner: ----
un-assign myself as this is a editing bug.
Duplicate of  bug 890585 ?

Sign in to add a comment