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

Issue 795493 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug-Security



Sign in to add a comment

Bad-cast to webrtc::MetricsObserverInterface from invalid vptr in cricket::BasicPortAllocator::OnIceRegathering

Project Member Reported by ClusterFuzz, Dec 16 2017

Issue description

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

Fuzzer: phoglund_webrtc_peerconnection
Job Type: linux_cfi_chrome
Platform Id: linux

Crash Type: Bad-cast
Crash Address: 0x08399ff66600
Crash State:
  Bad-cast to webrtc::MetricsObserverInterface from invalid vptr
  cricket::BasicPortAllocator::OnIceRegathering
  sigslot::signal_with_thread_policy<sigslot::single_threaded, cricket::PortAllocatorSession*, cricket::IceRegatheringReason>::emit
  
Sanitizer: cfi (CFI)

Recommended Security Severity: High

Regressed: https://clusterfuzz.com/revisions?job=linux_cfi_chrome&range=523197:523221

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

Additional requirements: Requires HTTP

Issue filed automatically.

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

Comment 1 by sheriffbot@chromium.org, Dec 16 2017

Labels: M-65
Project Member

Comment 2 by sheriffbot@chromium.org, Dec 16 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 3 by sheriffbot@chromium.org, Dec 16 2017

Labels: Pri-1
Components: Blink>WebRTC>PeerConnection
This was last seen as  Issue 792179 , but the investigator was unable to reproduce.
(Actually, the stack on the earlier one was slightly different. Perhaps the vptr gets corrupted in multiple ways and it just tends to blow up here.)

Comment 6 by cthomp@chromium.org, Dec 18 2017

Cc: deadbeef@webrtc.org honghaiz@webrtc.org
Owner: honghaiz@chromium.org
From the stack-trace it looks like this may be caused by a bad static cast in the UMA metrics at https://cs.chromium.org/chromium/src/third_party/webrtc/p2p/client/basicportallocator.cc?sq=package:chromium&l=172

Based on the CL https://codereview.webrtc.org/2386783002 adding honghaiz and deadbeef. Could you please take a look? Thanks.

Comment 7 by deadbeef@webrtc.org, Dec 18 2017

I couldn't access the fuzzer from any of my accounts. Any idea why?

I can't imagine how this could occur though. It may be related to recent changes being made for Unified Plan SDP, but that's all I can think of. There should only be one UMA observer, and it should definitely be destroyed after the PeerConnection; we had this issue before (https://codereview.chromium.org/2638993002).
Owner: deadbeef@chromium.org
If this is a regression, it is likely caused by some recent changes. 
Project Member

Comment 9 by sheriffbot@chromium.org, Dec 19 2017

Status: Assigned (was: Untriaged)
Project Member

Comment 10 by sheriffbot@chromium.org, Dec 30 2017

deadbeef: 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
Project Member

Comment 12 by ClusterFuzz, Jan 5 2018

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

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

Comment 13 by sheriffbot@chromium.org, Jan 5 2018

Labels: -Restrict-View-SecurityTeam Restrict-View-SecurityNotify
Labels: -ReleaseBlock-Stable
tracking in  issue 798251 
Project Member

Comment 15 by sheriffbot@chromium.org, Mar 27 2018

Labels: -Security_Impact-Head Security_Impact-Stable
Project Member

Comment 16 by sheriffbot@chromium.org, Apr 13 2018

Labels: -Restrict-View-SecurityNotify 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