Ensure Ogg demux fails gracefully on rlbox sandbox OOM
Categories
(Core :: Security: Process Sandboxing, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: shravanrn, Assigned: shravanrn)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 4 obsolete files)
Ogg demuxing sandbox uses a fresh sandbox for each ogg file. This can put a lot of memory pressure on website that have multiple pieces of OGG media. This is even worse on 32-bit platforms. Moving to a single shared ogg sandbox per content process instead should still retain most of the security benefits of compartmentalization.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Update --- since the ogg sandbox can be used from multiple threads at the same time, note that this change needs to use a mutex to invoke functions in the ogg sandbox.
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
Depends on D127022
Assignee | ||
Comment 6•3 years ago
|
||
Depends on D127023
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/a932fbd95f01 Part 1 - Update wasm2c to support better use of 32-bit virtual space r=glandium https://hg.mozilla.org/integration/autoland/rev/a240e5a52df4 Part 2 - Update rlbox,wasm2c plugin for fallible create_sandbox r=glandium https://hg.mozilla.org/integration/autoland/rev/3538237090bf Part 3 - Ensure Ogg demux fails gracefully on rlbox sandbox OOM r=glandium,bholley https://hg.mozilla.org/integration/autoland/rev/5e64ae0a8b00 Part 4 - Re-enable OGG demux rlbox sandbox on 32-bit platforms r=glandium
Comment 8•3 years ago
•
|
||
Backed out for causing Mochitest failures. CLOSED TREE
Backout link : https://hg.mozilla.org/integration/autoland/rev/40e53c55b467f493c47136f3c421e348124981d5
Push with failures :
https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Crunnable&revision=5e64ae0a8b00a86cf4ed69a275a1ca310dd2a399&searchStr=Windows%2C10%2Cx86%2C2004%2CWebRender&selectedTaskRun=U0PnlEvwSkazOyx_yhpfWg.0
https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&selectedTaskRun=YwEMaRgEQwOX2JuI1G8ekw.0&resultStatus=testfailed%2Cbusted%2Cexception%2Csuccess%2Crunnable&searchStr=windows%2C10%2Cx86%2C2004%2Cwebrender%2Cdebug%2Cweb%2Cplatform%2Ctests%2Ctest-windows10-32-2004-qr%2Fdebug-web-platform-tests-wdspec-e10s%2Cwd1&fromchange=9790289bfed7ac69a3a990052132db1ead5c2364&tochange=86f46322fd291974c2b296b6fbf96237a80ff525
Link to failure log :
https://treeherder.mozilla.org/logviewer?job_id=353319788&repo=autoland&lineNumber=8054
https://treeherder.mozilla.org/logviewer?job_id=353320298&repo=autoland&lineNumber=1392
Also link to failure log :
https://treeherder.mozilla.org/logviewer?job_id=353321133&repo=autoland&lineNumber=51877
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 9•3 years ago
|
||
Comment on attachment 9243600 [details]
Bug 1728934 Part 3 - Re-enable OGG demux rlbox sandbox on 32-bit platforms r=glandium
Revision D127024 was moved to bug 1737707. Setting attachment 9243600 [details] to obsolete.
Comment 10•3 years ago
|
||
Pushed by bholley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/28e7a49220d1 Ensure Ogg demux fails gracefully on rlbox sandbox OOM r=glandium,bholley
Comment 11•3 years ago
|
||
bugherder |
Description
•