Closed
Bug 1477910
Opened 8 years ago
Closed 8 years ago
mMyPid == base::GetCurrentProcId(), at include/mozilla/ipc/ProtocolUtils.h:868
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
DUPLICATE
of bug 1445440
People
(Reporter: u473386, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
Steps to reproduce:
I don't think this is security relevant, but I don't know. It didn't reproduce again. Probably a wobbly thread race or so.
==6690==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f3f15f668c2 bp 0x7f3f00098e30 sp 0x7f3f00098d20 T17)
==6690==The signal is caused by a WRITE memory access.
==6690==Hint: address points to the zero page.
#0 0x7f3f15f668c1 in mozilla::ipc::Endpoint<mozilla::ipc::PBackgroundParent>::Bind(mozilla::ipc::PBackgroundParent*) mozilla-central/ipc/glue/ProtocolUtils.h:867:9
#1 0x7f3f15f57207 in (anonymous namespace)::ParentImpl::ConnectActorRunnable::Run() mozilla-central/ipc/glue/BackgroundImpl.cpp:1293:17
#2 0x7f3f150a1cf0 in nsThread::ProcessNextEvent(bool, bool*) mozilla-central/xpcom/threads/nsThread.cpp:1166:14
#3 0x7f3f150a5ce9 in NS_ProcessNextEvent(nsIThread*, bool) mozilla-central/xpcom/threads/nsThreadUtils.cpp:519:10
#4 0x7f3f15f8c04d in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) mozilla-central/ipc/glue/MessagePump.cpp:364:5
#5 0x7f3f15e5d868 in MessageLoop::Run() mozilla-central/ipc/chromium/src/base/message_loop.cc:298:3
#6 0x7f3f1509d65a in nsThread::ThreadFunc(void*) mozilla-central/xpcom/threads/nsThread.cpp:525:11
#7 0x7f3f322aa379 in _pt_root mozilla-central/nsprpub/pr/src/pthreads/ptthread.c:201:5
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV mozilla-central/ipc/glue/ProtocolUtils.h:867:9 in mozilla::ipc::Endpoint<mozilla::ipc::PBackgroundParent>::Bind(mozilla::ipc::PBackgroundParent*)
Thread T17 (IPDL Background) created by T0 here:
#0 0x31b7fd in __interceptor_pthread_create /tmp/final/llvm.src/projects/compiler-rt/lib/asan/asan_interceptors.cc:204:3
#1 0x7f3f322a72c5 in _PR_CreateThread mozilla-central/nsprpub/pr/src/pthreads/ptthread.c:433:14
#2 0x7f3f322a6eae in PR_CreateThread mozilla-central/nsprpub/pr/src/pthreads/ptthread.c:518:12
#3 0x7f3f1509f256 in nsThread::Init(nsTSubstring<char> const&) mozilla-central/xpcom/threads/nsThread.cpp:700:8
#4 0x7f3f150a506d in nsThreadManager::NewNamedThread(nsTSubstring<char> const&, unsigned int, nsIThread**) mozilla-central/xpcom/threads/nsThreadManager.cpp:471:22
#5 0x7f3f150a7ce3 in NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, nsIRunnable*, unsigned int) mozilla-central/xpcom/threads/nsThreadUtils.cpp:143:45
#6 0x7f3f15215b8d in nsresult NS_NewNamedThread<16ul>(char const (&) [16ul], nsIThread**, nsIRunnable*, unsigned int) mozilla-central/obj-fuzz/dist/include/nsThreadUtils.h:73:10
#7 0x7f3f15f537af in (anonymous namespace)::ParentImpl::CreateBackgroundThread() mozilla-central/ipc/glue/BackgroundImpl.cpp:1015:7
#8 0x7f3f15f3df4d in (anonymous namespace)::ParentImpl::Alloc(mozilla::dom::ContentParent*, mozilla::ipc::Endpoint<mozilla::ipc::PBackgroundParent>&&) mozilla-central/ipc/glue/BackgroundImpl.cpp:887:30
#9 0x7f3f1b37fcd1 in mozilla::dom::ContentParent::RecvInitBackground(mozilla::ipc::Endpoint<mozilla::ipc::PBackgroundParent>&&) mozilla-central/dom/ipc/ContentParent.cpp:3092:8
#10 0x7f3f161b17cd in mozilla::dom::PContentParent::OnMessageReceived(IPC::Message const&) mozilla-central/obj-fuzz/ipc/ipdl/PContentParent.cpp:4036:20
#11 0x7f3f1fbaf132 in void mozilla::ipc::FuzzProtocol<mozilla::dom::ContentParent>(mozilla::dom::ContentParent*, unsigned char const*, unsigned long, nsTArray<nsTString<char> > const&) mozilla-central/obj-fuzz/dist/include/ProtocolFuzzer.h:49:18
#12 0x7f3f1fbaec3a in RunContentParentIPCFuzzing(unsigned char const*, unsigned long) mozilla-central/dom/ipc/fuzztest/content_parent_ipc_libfuzz.cpp:33:3
Updated•8 years ago
|
Group: firefox-core-security → dom-core-security
Component: Untriaged → IPC
Product: Firefox → Core
Comment 1•8 years ago
|
||
We've already got a bug on this for this one (originally discovered by a different IPC fuzzer).
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•3 years ago
|
Group: dom-core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•