Crash in [@ objc_release | nsOSHelperAppService::IsCurrentAppOSDefaultForProtocol]
Categories
(Firefox :: File Handling, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox70 | --- | unaffected |
firefox71 | --- | unaffected |
firefox72 | + | fixed |
People
(Reporter: philipp, Assigned: Gijs)
References
(Regression)
Details
(Keywords: crash, csectype-uaf, regression)
Crash Data
Attachments
(1 file)
[Tracking Requested - why for this release]:
This bug is for crash report bp-2a75ae0d-f247-4cfe-a80e-13de80191129.
Top 10 frames of crashing thread:
0 libobjc.A.dylib objc_release
1 XUL nsOSHelperAppService::IsCurrentAppOSDefaultForProtocol uriloader/exthandler/mac/nsOSHelperAppService.mm:184
2 XUL nsMIMEInfoBase::LaunchWithURI uriloader/exthandler/nsMIMEInfoImpl.cpp:337
3 XUL nsExternalHelperAppService::LoadURI uriloader/exthandler/nsExternalHelperAppService.cpp:994
4 XUL mozilla::dom::ContentParent::RecvLoadURIExternal dom/ipc/ContentParent.cpp:3905
5 XUL mozilla::dom::PContentParent::OnMessageReceived ipc/ipdl/PContentParent.cpp:7714
6 XUL mozilla::ipc::MessageChannel::DispatchMessage ipc/glue/MessageChannel.cpp:2208
7 XUL mozilla::ipc::MessageChannel::MessageTask::Run ipc/glue/MessageChannel.cpp:2003
8 XUL nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1250
9 XUL NS_ProcessPendingEvents xpcom/threads/nsThreadUtils.cpp:434
this macos crash signature is starting to show up on nightly after the patch for bug 1496380 landed. the crashing address of most reports indicates that this is a security sensitive issue (UAF).
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Sometimes I figure, some day this codebase is gonna run out of ways of showing I'm an idiot, but clearly today is not that day. One lives in hope.
Assignee | ||
Comment 2•5 years ago
|
||
We get the bundle using CFBundleGetMainBundle(), which uses the
"Get" ownership rule:
https://developer.apple.com/documentation/corefoundation/1537085-cfbundlegetmainbundle?language=objc
So we should not be calling CFRelease on it.
Assignee | ||
Comment 3•5 years ago
|
||
(I'm landing this because it's nightly only so I don't need sec-approval.)
Assignee | ||
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
Updated•4 years ago
|
Updated•3 years ago
|
Description
•