Closed Bug 1818662 Opened 3 years ago Closed 3 years ago

Assertion failure: mActorMap.Contains(aId) (Attempting to remove an ID not in the actor map), at /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:677

Categories

(Core :: DOM: File, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1816973
Tracking Status
firefox112 --- affected

People

(Reporter: tsmith, Unassigned)

References

(Blocks 1 open bug)

Details

(4 keywords)

Crash Data

Attachments

(1 file)

Attached file testcase.html —

Found while fuzzing m-c 20230207-61a5e77067ce (--enable-debug --enable-fuzzing)

To reproduce via Grizzly Replay:

$ pip install fuzzfetch grizzly-framework
$ python -m fuzzfetch -d --fuzzing -n firefox
$ python -m grizzly.replay ./firefox/firefox testcase.html

Assertion failure: mActorMap.Contains(aId) (Attempting to remove an ID not in the actor map), at /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:677

#0 0x7f192a4e7574 in Unregister /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:676:3
#1 0x7f192a4e7574 in mozilla::ipc::IProtocol::Unregister(int) /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:326:21
#2 0x7f192a4e90cd in mozilla::ipc::IProtocol::DestroySubtree(mozilla::ipc::IProtocol::ActorDestroyReason) /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:557:5
#3 0x7f192d2a2a38 in mozilla::dom::PFileSystemAccessHandleParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PFileSystemAccessHandleParent.cpp:90:19
#4 0x7f192a4aacb0 in operator() /builds/worker/checkouts/gecko/ipc/glue/Endpoint.cpp:40:33
#5 0x7f192a4aacb0 in mozilla::detail::RunnableFunction<mozilla::ipc::UntypedManagedEndpoint::~UntypedManagedEndpoint()::$_8>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:546:5
#6 0x7f192986eebb in mozilla::TaskQueue::Runner::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskQueue.cpp:259:20
#7 0x7f192988b6e5 in nsThreadPool::Run() /builds/worker/checkouts/gecko/xpcom/threads/nsThreadPool.cpp:343:14
#8 0x7f1929882642 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1219:16
#9 0x7f19298889cd in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:477:10
#10 0x7f192a4d726a in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:300:20
#11 0x7f192a3f7f58 in MessageLoop::RunInternal() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:381:10
#12 0x7f192a3f7e61 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:374:3
#13 0x7f192a3f7e61 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:356:3
#14 0x7f192987da37 in nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:384:10
#15 0x7f193c9f5c86 in _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5
#16 0x7f193d29eb42 in start_thread nptl/pthread_create.c:442:8
#17 0x7f193d3309ff  misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Flags: in-testsuite?
Crash Signature: [@ PLDHashTable::ComputeKeyHash | PLDHashTable::Search | nsTHashtable<T>::GetEntry | nsBaseHashtable<T>::Remove | mozilla::ipc::IToplevelProtocol::Unregister ]
Keywords: crash

Crash is at poison address.

Group: dom-core-security
Keywords: csectype-uaf
Status: NEW → RESOLVED
Closed: 3 years ago
Duplicate of bug: 1816973
Resolution: --- → DUPLICATE

No valid actions for resolution (DUPLICATE).
Removing bugmon keyword as no further action possible. Please review the bug and re-add the keyword for further analysis.

Keywords: bugmon
Group: dom-core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: