Skip to content
Memory corruption Disclosed report CVE-2016-1962

Second datachannel with id crashes in PR_Unlock | mozilla::DataChannelConnection::Close after navigation

Dominique Hazaël-Massieux Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 31 days
  • Paid in 41 days
  • Disclosed after 31 days
Text
Created attachment 8709456
ff-crash-datachannel.html

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20160106231438

Steps to reproduce:

Load the attached page


Actual results:

The page loads, redirects to mozilla.org, and after ~20 seconds, Firefox crashes.

This is reproducible with any other navigation action, including a simple reload.

from my quick tests, it only happens when 2 data channels are open, with the 2nd set to use the same id as the one the first one automatically gets; it's probably somewhat related to https://bugzilla.mozilla.org/show_bug.cgi?id=1017462


Expected results:

Firefox should not have crashed

The original report as published on Mozilla's Bugzilla, by Dominique Hazaël-Massieux. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A critical-severity memory corruption bug in WebRTC: Networking. Mozilla made it public on 19 February 2016 as CVE-2016-1962.

About Memory corruption

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.