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

Issue 766250 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Out until 24 Jan
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug-Security



Sign in to add a comment

Heap-use-after-free in content::RenderFrameImpl::OnFailedNavigation

Project Member Reported by ClusterFuzz, Sep 18 2017

Issue description

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

Fuzzer: ifratric-browserfuzzer-v3
Job Type: windows_asan_chrome_no_sandbox
Platform Id: windows

Crash Type: Heap-use-after-free WRITE 1
Crash Address: 0x0874ae5e
Crash State:
  content::RenderFrameImpl::OnFailedNavigation
  IPC::MessageT<struct FrameMsg_FailedNavigation_Meta,class std::tuple<struct cont
  content::RenderFrameImpl::OnMessageReceived
  
Sanitizer: address (ASAN)

Recommended Security Severity: High

Regressed: https://clusterfuzz.com/revisions?job=windows_asan_chrome_no_sandbox&range=502241:502259

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

Issue filed automatically.

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

Comment 1 by mea...@chromium.org, Sep 18 2017

Components: UI>Browser>Navigation
Owner: engedy@chromium.org
Status: Assigned (was: Untriaged)
engedy: This could be a duplicate of bug 766208. Can you please take a look?

Comment 2 by engedy@chromium.org, Sep 18 2017

Cc: clamy@chromium.org
CC'ing Camille here too, given that RFI::OnFailedNavigation is PlzNavigate-specific.
Project Member

Comment 3 by sheriffbot@chromium.org, Sep 19 2017

Labels: M-63
Project Member

Comment 4 by sheriffbot@chromium.org, Sep 19 2017

Labels: ReleaseBlock-Stable
This is a serious security regression. If you are not able to fix this quickly, please revert the change that introduced it.

If this doesn't affect a release branch, or has not been properly classified for severity, please update the Security_Impact or Security_Severity labels, and remove the ReleaseBlock label. To disable this altogether, apply ReleaseBlock-NA.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 5 by sheriffbot@chromium.org, Sep 19 2017

Labels: Pri-1
Project Member

Comment 6 by ClusterFuzz, Oct 1 2017

Components: Internals>Core
Labels: Test-Predator-AutoComponents
Automatically applying components based on information from OWNERS files. If this seems incorrect, please apply the Test-Predator-Wrong-Components label.
Project Member

Comment 7 by sheriffbot@chromium.org, Oct 3 2017

engedy: Uh oh! This issue still open and hasn't been updated in the last 14 days. This is a serious vulnerability, and we want to ensure that there's progress. Could you please leave an update with the current status and any potential blockers?

If you're not the right owner for this issue, could you please remove yourself as soon as possible or help us find the right one?

If the issue is fixed or you can't reproduce it, please close the bug. If you've started working on a fix, please set the status to Started.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: engedy@chromium.org
Owner: nasko@chromium.org
@Nasko, given that you reviewed the fix from clamy@, could you please take a quick look and confirm that this is a duplicate of Issue 766208?

Looks like everyone who'd be able to confirm is OOO. 

Comment 9 by creis@chromium.org, Oct 12 2017

Mergedinto: 766208
Status: Duplicate (was: Assigned)
It does look like this is a dupe of issue 766208.  (This bug is about Windows and that one is about Android.)

However, neither bug is actually fixed, since the CL that landed for issue 766208 apparently wasn't sufficient.

I'll mark this as a dupe, but there's useful info in both ClusterFuzz reports.
Project Member

Comment 10 by bugdroid1@chromium.org, Oct 13 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/45d4e94f5b511114536b8445e2327b838642ba20

commit 45d4e94f5b511114536b8445e2327b838642ba20
Author: Nasko Oskov <nasko@chromium.org>
Date: Fri Oct 13 01:01:43 2017

Check weak_this after calling DidFailProvisionalLoad.

This CL fixes an UaF bug in RenderFrameImpl::OnFailedNavigation. It is
a followup to r503419 since DidFailProvisionalLoad calls
LoadNavigationErrorPage internally and it should also be guarded by a
check of weak_this.

Bug: 766208,  766250 
Change-Id: Ia359607ce35ce282330a30f5f5b9c79a2656c5f3
Reviewed-on: https://chromium-review.googlesource.com/717460
Reviewed-by: Charlie Reis <creis@chromium.org>
Commit-Queue: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#508575}
[modify] https://crrev.com/45d4e94f5b511114536b8445e2327b838642ba20/content/renderer/render_frame_impl.cc

Project Member

Comment 11 by ClusterFuzz, Oct 13 2017

ClusterFuzz has detected this issue as fixed in range 508529:508578.

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

Fuzzer: ifratric-browserfuzzer-v3
Job Type: windows_asan_chrome_no_sandbox
Platform Id: windows

Crash Type: Heap-use-after-free WRITE 1
Crash Address: 0x0894545e
Crash State:
  content::RenderFrameImpl::OnFailedNavigation
  IPC::MessageT<struct FrameMsg_FailedNavigation_Meta,class std::tuple<struct cont
  content::RenderFrameImpl::OnMessageReceived
  
Sanitizer: address (ASAN)

Recommended Security Severity: High

Regressed: https://clusterfuzz.com/revisions?job=windows_asan_chrome_no_sandbox&range=502241:502259
Fixed: https://clusterfuzz.com/revisions?job=windows_asan_chrome_no_sandbox&range=508529:508578

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

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 12 by bugdroid1@chromium.org, Oct 25 2017

Labels: merge-merged-3202
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/070183e8410ae7e89f6edca883132348c5a433a7

commit 070183e8410ae7e89f6edca883132348c5a433a7
Author: Nasko Oskov <nasko@chromium.org>
Date: Wed Oct 25 18:55:37 2017

Check weak_this after calling DidFailProvisionalLoad.

This CL fixes an UaF bug in RenderFrameImpl::OnFailedNavigation. It is
a followup to r503419 since DidFailProvisionalLoad calls
LoadNavigationErrorPage internally and it should also be guarded by a
check of weak_this.

Bug: 766208,  766250 
Change-Id: Ia359607ce35ce282330a30f5f5b9c79a2656c5f3
Reviewed-on: https://chromium-review.googlesource.com/717460
Reviewed-by: Charlie Reis <creis@chromium.org>
Commit-Queue: Nasko Oskov <nasko@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#508575}(cherry picked from commit 45d4e94f5b511114536b8445e2327b838642ba20)
Reviewed-on: https://chromium-review.googlesource.com/738272
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/branch-heads/3202@{#748}
Cr-Branched-From: fa6a5d87adff761bc16afc5498c3f5944c1daa68-refs/heads/master@{#499098}
[modify] https://crrev.com/070183e8410ae7e89f6edca883132348c5a433a7/content/renderer/render_frame_impl.cc

Both regressed and fixed in M63, removing ReleaseBlock-Stable
Labels: -ReleaseBlock-Stable
Labels: -Test-Predator-AutoComponents Test-Predator-Auto-Components
Project Member

Comment 16 by sheriffbot@chromium.org, Jan 20 2018

Labels: -Restrict-View-SecurityTeam allpublic
This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment