Closed Bug 1405828 Opened 7 years ago Closed 7 years ago

Crash in mozilla::ipc::IProtocol::OtherPid called from mozilla::dom::asmjscache::PAsmJSCacheEntryParent::SendOnOpenCacheFile

Categories

(Core :: IPC, defect)

57 Branch
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1331209
Tracking Status
firefox-esr52 --- ?
firefox56 --- wontfix
firefox57 --- wontfix
firefox58 --- fixed

People

(Reporter: philipp, Unassigned)

References

Details

(4 keywords, Whiteboard: [adv-main58-])

Crash Data

Group: core-security → dom-core-security
A better stack to look at (for a security bug) is one that actually shows a UAF: bp-fbfc0eb3-f5cd-4df1-9bc7-ee48a0171005

There are bunch crashing at 0xfffffffffff like comment 0 and they have the stack in comment 0. The UAF ones have 

0 	xul.dll 	mozilla::ipc::IProtocol::OtherPid() 	ipc/glue/ProtocolUtils.cpp:468
1 	xul.dll 	mozilla::dom::asmjscache::PAsmJSCacheEntryParent::SendOnOpenCacheFile(__int64 const&, mozilla::ipc::FileDescriptor const&) 	ipc/ipdl/PAsmJSCacheEntryParent.cpp:72
2 	xul.dll 	mozilla::dom::asmjscache::`anonymous namespace'::ParentRunnable::Run 	dom/asmjscache/AsmJSCache.cpp:930
3 	xul.dll 	nsThread::ProcessNextEvent(bool, bool*) 	xpcom/threads/nsThread.cpp:1039

morphing this bug into the UAF version of this crash with asmjscache in the stack

Naveed: since the asmjscache is involved here can you find someone on your team to look into this?
Flags: needinfo?(nihsanullah)
Summary: Crash in mozilla::ipc::IProtocol::OtherPid → Crash in mozilla::ipc::IProtocol::OtherPid called from mozilla::dom::asmjscache::PAsmJSCacheEntryParent::SendOnOpenCacheFile
Bill, please investigate and fix these bugs or assign them to appropriate developers. Thanks!
Assignee: nobody → wmccloskey
Note also that 0xffffffffff may be a UAF - windows crashrerporter (per Ted) sometimes can't actually get the crash address, and inserts ffffffff instead.
Flags: needinfo?(wmccloskey)
Luke, does this look like one of the AsmJS cache bugs that's been fixed or worked on recently? I kinda lost track.
Assignee: wmccloskey → nobody
Flags: needinfo?(wmccloskey) → needinfo?(luke)
In the dupe, Luke said this is a possible dupe of bug 1331209.
Yes, I think this is all bug 1331209 which we should really get reviewed and landed...
Flags: needinfo?(luke)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(nihsanullah)
Whiteboard: [adv-main58-]
Group: dom-core-security
You need to log in before you can comment on or make changes to this bug.