Sandbox broken at runtime on x86 Mingw-Clang build
Categories
(Core :: Security: Process Sandboxing, defect)
Tracking
()
People
(Reporter: tjr, Assigned: tjr)
References
(Blocks 1 open bug)
Details
(Whiteboard: [tor])
Attachments
(4 files, 2 obsolete files)
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
tjr
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bobowen
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
jcristau
:
approval-mozilla-esr60+
|
Details | Diff | Splinter Review |
Content Process seems to have a problem. Tested with https://treeherder.mozilla.org/#/jobs?repo=try&revision=18c6aa91dd32be03d9f3f071ab63dcee4283b7b4 opt build
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
So I narrowed this down to enabling the sandbox. When I debug it; I'm breaking on this instruction:
cmp dword ptr [ntdll!LdrDelegatedRtlUserThreadStart (77bd77a4)],0
But I don't have a callstack and it's not clear to me what the problem is. The attached log is from an opt build; but the debug behavior is the same. Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=de1af56df4509aa548ec9e3ab11739d2f671394a
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Looked at this a little bit and this seems like it's going to be an ugly one...
Assignee | ||
Comment 5•6 years ago
|
||
At present, this looks like it may be the same issue as Bug 1460882 - checking...
Assignee | ||
Comment 6•6 years ago
|
||
This fixed the x86 Build and doesn't affect the x64 build.
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
r+ from Comment 7
Assignee | ||
Updated•6 years ago
|
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d8e4a86e306a
Disable SANDBOX_EXPORTS for the mingw-clang build as well r=bobowen
Comment 10•6 years ago
|
||
Backed out changeset d8e4a86e306a (Bug 1520310) for bustages in filesystem_dispatcher.cc
Push with bustages: Backed out changeset d8e4a86e306a (Bug 1520310) for bustages in filesystem_dispatcher.cc
Bustage log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=223140101&repo=mozilla-inbound&lineNumber=12737
Backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/ed02a9881c0d43d5ab3e3040e878ed771dd1f10c
Assignee | ||
Comment 11•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Comment 12•6 years ago
|
||
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/754481bfbe99
Backout the patch from Bug 1498695 and cast to void*. r=bobowen
Comment 13•6 years ago
|
||
bugherder |
Assignee | ||
Comment 14•6 years ago
|
||
[ESR Uplift Approval Request]
If this is not a sec:{high,crit} bug, please state case for ESR consideration: This patch backports the fix for the mingw-clang sandbox not running on x86 and enables the sandbox on both x86 and x64.
User impact if declined: Tor will need to carry an additional patch; and our -central and -esr60 branches will be out of sync which is confusing.
Fix Landed on Version:
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky): Only affects the mingw-clang build.
String or UUID changes made by this patch:
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
bugherder |
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
bugherder uplift |
Description
•