Closed
Bug 761448
Opened 13 years ago
Closed 12 years ago
[FIX] "ASSERTION: We should never be reusing a shared inner window" with pagehide event
Categories
(Core :: XPConnect, defect)
Tracking
()
People
(Reporter: jruderman, Assigned: smaug)
Details
(Keywords: assertion, sec-high, testcase, Whiteboard: [adv-main19+][adv-esr1703+])
Attachments
(3 files)
867 bytes,
text/html
|
Details | |
1.55 KB,
text/plain
|
Details | |
2.18 KB,
patch
|
bzbarsky
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
akeybl
:
approval-mozilla-esr17+
jst
:
approval-mozilla-b2g18+
akeybl
:
sec-approval+
|
Details | Diff | Splinter Review |
###!!! ASSERTION: We should never be reusing a shared inner window: '!currentInner->IsFrozen()', file dom/base/nsGlobalWindow.cpp, line 1776
Reporter | ||
Comment 1•13 years ago
|
||
Assignee | ||
Comment 4•12 years ago
|
||
...still on my todo list.
Assignee | ||
Comment 5•12 years ago
|
||
Prevent loading new stuff to sub-docshell of unloaded ancestor.
This is pretty strict, but simple.
Running still some more tests, but at least docshell and shistory tests do pass.
Attachment #690353 -
Flags: review?(bzbarsky)
Comment 6•12 years ago
|
||
Comment on attachment 690353 [details] [diff] [review]
simple approach
r=me
Attachment #690353 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 690353 [details] [diff] [review]
simple approach
[Security approval request comment]
How easily can the security issue be deduced from the patch?
Exact issue perhaps not so easily, but it is easy to see what case is being fixed.
Do comments in the patch, the check-in comment, or tests included in the patch paint a bulls-eye on the security problem?
The commit message will be about being more strict when we allow starting new loads
Which older supported branches are affected by this flaw?
All
Do you have backports for the affected branches? If not, how different, hard to create, and risky will they be?
The patch should apply easily to all the branches
How likely is this patch to cause regressions; how much testing does it need?
This is somewhat regression risky. Needs more testing than patches to security bugs usually.
Attachment #690353 -
Flags: sec-approval?
Assignee | ||
Updated•12 years ago
|
Summary: "ASSERTION: We should never be reusing a shared inner window" with pagehide event → [FIX] "ASSERTION: We should never be reusing a shared inner window" with pagehide event
Updated•12 years ago
|
Attachment #690353 -
Flags: sec-approval? → sec-approval+
Comment 8•12 years ago
|
||
Can we get branch patches made or else have a discussion about whether or not this will be too risky to take in ESR17 or Firefox 18 or 19?
status-firefox-esr10:
--- → affected
status-firefox17:
--- → affected
status-firefox18:
--- → affected
status-firefox19:
--- → affected
status-firefox20:
--- → affected
status-firefox-esr17:
--- → affected
tracking-firefox-esr10:
--- → ?
tracking-firefox18:
--- → ?
tracking-firefox19:
--- → ?
tracking-firefox20:
--- → ?
tracking-firefox-esr17:
--- → ?
Assignee | ||
Comment 9•12 years ago
|
||
The same patch applies to FF18, FF19 and ESR17. (ESR17 with some fuzz).
Comment 10•12 years ago
|
||
Comment on attachment 690353 [details] [diff] [review]
simple approach
"This is somewhat regression risky. Needs more testing than patches to security bugs usually." means we shouldn't automatically sec-approval+, since we likely don't want this patch for FF18. This needs to be reconsidered.
Attachment #690353 -
Flags: sec-approval+ → sec-approval?
Assignee | ||
Comment 11•12 years ago
|
||
What I meant with that comment is that this needs more real world testing, so I'm hoping to have this
in m-c for some time before landing elsewhere.
Comment 12•12 years ago
|
||
I read his statements Alex, when do you propose a better time would be to get it in. Even if we don't take it for 18, we still need to take it at some point. It is sec-high and a small patch, even if tricky.
Comment 13•12 years ago
|
||
(In reply to Al Billings [:abillings] from comment #12)
> I read his statements Alex, when do you propose a better time would be to
> get it in. Even if we don't take it for 18, we still need to take it at some
> point. It is sec-high and a small patch, even if tricky.
I'd say landing to all branches at the beginning of the FF19 cycle at this point, given risk. Or possibly using a cover bug to land on Central/Aurora sooner. But we don't want to take this fix for FF18 at this point (beta 5).
Comment 14•12 years ago
|
||
If Olli thinks it's risky then let's target Fx19 rather than 18. If it really needs testing then let's get it into 19-beta1, meaning land on Aurora prior to the merge (first week in January probably good).
Comment 15•12 years ago
|
||
Given that we're not landing this on 18 which is the final ESR10 build, wontfixing.
Comment 16•12 years ago
|
||
(In reply to Alex Keybl [:akeybl] from comment #13)
> (In reply to Al Billings [:abillings] from comment #12)
> > I read his statements Alex, when do you propose a better time would be to
> > get it in. Even if we don't take it for 18, we still need to take it at some
> > point. It is sec-high and a small patch, even if tricky.
>
> I'd say landing to all branches at the beginning of the FF19 cycle at this
> point, given risk. Or possibly using a cover bug to land on Central/Aurora
> sooner. But we don't want to take this fix for FF18 at this point (beta 5).
So after January 8?
Comment 17•12 years ago
|
||
We're now past the merge, and ready to take a fix on all branches.
Assignee | ||
Comment 18•12 years ago
|
||
This needs approval
Comment 19•12 years ago
|
||
Comment on attachment 690353 [details] [diff] [review]
simple approach
Al set this previously, so setting to sec‑approval+ again.
Attachment #690353 -
Flags: sec-approval? → sec-approval+
Assignee | ||
Comment 20•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
status-b2g18:
--- → affected
status-firefox21:
--- → fixed
tracking-b2g18:
--- → 19+
tracking-firefox21:
--- → +
Comment 21•12 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #20)
> https://hg.mozilla.org/mozilla-central/rev/224712fc024e
Please prepare patches for landing to all branches.
Assignee | ||
Comment 22•12 years ago
|
||
Comment on attachment 690353 [details] [diff] [review]
simple approach
based on my comment 9 this should apply to all the branches.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Old stuff
User impact if declined: Odd behavior, possible crashes
Testing completed: landed m-c 2013-01-08
Risk to taking this patch (and alternatives if risky):
This is tiny bit risky. See comment 7 and comment 11
String or UUID changes made by this patch: NA
Attachment #690353 -
Flags: approval-mozilla-esr17?
Attachment #690353 -
Flags: approval-mozilla-beta?
Attachment #690353 -
Flags: approval-mozilla-b2g18?
Attachment #690353 -
Flags: approval-mozilla-aurora?
Comment 23•12 years ago
|
||
Comment on attachment 690353 [details] [diff] [review]
simple approach
We'll approve for B2G next week.
Attachment #690353 -
Flags: approval-mozilla-esr17?
Attachment #690353 -
Flags: approval-mozilla-esr17+
Attachment #690353 -
Flags: approval-mozilla-beta?
Attachment #690353 -
Flags: approval-mozilla-beta+
Attachment #690353 -
Flags: approval-mozilla-aurora?
Attachment #690353 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 24•12 years ago
|
||
Updated•12 years ago
|
Attachment #690353 -
Flags: approval-mozilla-b2g18? → approval-mozilla-b2g18+
Assignee | ||
Comment 25•12 years ago
|
||
Comment 26•12 years ago
|
||
Confirmed crash and assert on ASan build from 2013-01-07, crash on release build 2013-06-04.
Verified fix on build 2013-01-31, m-c
Verified fix on build 2013-01-31, Aurora
Verified fix on beta 19b4
Verified fix on build 2013-01-30, 17.0.2esr
Updated•12 years ago
|
Target Milestone: --- → mozilla21
Updated•12 years ago
|
Whiteboard: [adv-main19+][adv-esr1703+]
Updated•11 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•