Closed
Bug 695076
(CVE-2011-3662)
Opened 13 years ago
Closed 13 years ago
Crash in ANGLE's libGLESv2, in glTexImage2D on a cube map, invalid read in gl::Texture::createSurface
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
People
(Reporter: bjacob, Assigned: bjacob)
References
Details
(Keywords: crash, testcase, Whiteboard: [sg:critical][qa!])
Crash Data
Attachments
(2 files)
1.02 KB,
patch
|
Details | Diff | Splinter Review | |
4.35 KB,
patch
|
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Ben Hawkes reports that his testcase from Bug 686398,
https://bugzilla.mozilla.org/attachment.cgi?id=559916
still crashes Firefox 10.0a1 on Windows. Here is a crash report:
https://crash-stats.mozilla.com/report/index/bp-75d8250b-6c46-4f0d-8115-6a6472111017
This is very different from Bug 686398, is a ANGLE bug (need to report upstream) and potentially a security concern (invalid read at non-null address).
Assignee | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Benoit, does the invalid read affect control flow? I.e. do you think this is sg:critical or lower?
Assignee | ||
Comment 3•13 years ago
|
||
I don't know, this requires understanding ANGLE code better than I do.
Sorry I forgot to forward this bug to ANGLE until now.
Assignee | ||
Comment 4•13 years ago
|
||
Pushed my tentative fix to try:
https://tbpl.mozilla.org/?tree=Try&rev=eb63e500a6bb
this has less than 50% chances of working, please still give it a try.
Assignee | ||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Did the try build (comment 4) fix the crash?
Based on the crash link this is crashing trying to read when doing
image->surface->Release();
which means it could theoretically lead to calling an attacker-supplied function on a fake object.
Whiteboard: [sg:critical]
Comment 7•13 years ago
|
||
Suggest trying with ANGLE SVN head. We've completely rewritten much of the texture code.
Assignee | ||
Comment 8•13 years ago
|
||
(In reply to daniel-bzmz from comment #7)
> Suggest trying with ANGLE SVN head. We've completely rewritten much of the
> texture code.
Will do the ANGLE update as soon as possible. Meanwhile, can you have a look at my patch here and check if this is something that you'd want to take in ANGLE anyway? It just adds some error checking.
Comment 9•13 years ago
|
||
We rewrote much of the texture handling code, so it may no longer be relevant. We'll see if we can reproduce the problem before/after.
Updated•13 years ago
|
status-firefox10:
--- → affected
status-firefox11:
--- → affected
status-firefox8:
--- → wontfix
status-firefox9:
--- → affected
tracking-firefox10:
--- → +
tracking-firefox11:
--- → +
tracking-firefox8:
--- → -
tracking-firefox9:
--- → +
Comment 10•13 years ago
|
||
We found the underlying bug causing the problem here. Will be fixed soon.
Comment 11•13 years ago
|
||
Fixed in ANGLE r885. Should be easily cherry-pick-able if desired.
Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
status1.9.2:
--- → unaffected
Comment 12•13 years ago
|
||
If this is a major security concern for FF9/10, please nominate for approval on beta/aurora.
Comment 13•13 years ago
|
||
(In reply to daniel-bzmz from comment #11)
> Fixed in ANGLE r885. Should be easily cherry-pick-able if desired.
Benoit: please prepare such a check-pick patch for landing in Firefox 10 (and if safe, Fx9).
Assignee: nobody → bjacob
Updated•13 years ago
|
Updated•13 years ago
|
Assignee | ||
Comment 14•13 years ago
|
||
Here you go. No review because this is a ANGLE rev and already using it on m-c.
https://tbpl.mozilla.org/?tree=Try&rev=0e57ebad2fb5
Attachment #582114 -
Flags: approval-mozilla-aurora?
Comment 15•13 years ago
|
||
Comment on attachment 582114 [details] [diff] [review]
import angle r885 in aurora
[Triage Comment]
Approved for Aurora. Please land on Monday 12/19 or earlier in order to make the cut-over to Beta.
Attachment #582114 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 16•13 years ago
|
||
Updated•13 years ago
|
Alias: CVE-2011-3662
Updated•13 years ago
|
Group: core-security
Comment 18•13 years ago
|
||
Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20100101 Firefox/11.0
Mozilla/5.0 (Windows NT 6.1; rv:10.0.1) Gecko/20100101 Firefox/10.0.1
Verified with 11b3 and 10.0.1 on Windows 7 x86. No crash when running the testcase from comment 0.
Could previously replicate the crash on the affected branches (F8).
Status: RESOLVED → VERIFIED
Whiteboard: [sg:critical][qa+] → [sg:critical][qa!]
You need to log in
before you can comment on or make changes to this bug.
Description
•