Skip to content
Memory corruption Disclosed report Advanced

heap-use-after-free dom/webscheduling/TaskSignal.h:26 in mozilla::dom::TaskSignal::Priority

A use-after-free occurs in Firefox's Web Task Scheduling code because a hash table keeps a raw pointer to a TaskSignal object without keeping it alive. An attacker who can run script in a page could trigger the crash, and the report only demonstrates a tab-process crash under AddressSanitizer.

m.cooolie Follow

Originally disclosed on Mozilla

  • Fixed in 24 days
  • Paid in 28 days
  • Disclosed after 24 days

Created attachment 9349158 poc.zip

#Summary heap-use-after-free dom/webscheduling/TaskSignal.h:26 in mozilla::dom::TaskSignal::Priority

#Reproduce OS:Win10 X64 118.0a1 (2023-08-13) (64-bit)

step:

  1. python -m http.server 8000
  2. python -m ffpuppet firefox.exe -p prefs.js -d -u http://localhost:8000/poc.html

#Type of crash Tab process

#Analysis mDynamicPriorityTaskQueues saves the pointer of TaskSignal but does not ensure that the life cycle of TaskSignal is valid https://searchfox.org/mozilla-central/source/dom/webscheduling/WebTaskScheduler.h#142 nsClassHashtable<nsPtrHashKey<TaskSignal>, WebTaskQueue> mDynamicPriorityTaskQueues;

#ASAN

==14452==ERROR: AddressSanitizer: heap-use-after-free on address 0x123096b17b78 at pc 0x7ffb0742830c bp 0x00803ebfd400 sp 0x00803ebfd448
READ of size 1 at 0x123096b17b78 thread T0
    #0 0x7ffb0742830b in mozilla::dom::TaskSignal::Priority /builds/worker/checkouts/gecko/dom/webscheduling/TaskSignal.h:26
    #1 0x7ffb0742830b in mozilla::dom::WebTaskScheduler::GetNextTask(void) const /builds/worker/checkouts/gecko/dom/webscheduling/WebTaskScheduler.cpp:278
    #2 0x7ffb074284ba in mozilla::dom::WebTaskMainThreadRunnable::Run(void) /builds/worker/checkouts/gecko/dom/webscheduling/WebTaskSchedulerMainThread.cpp:18
    #3 0x7ffafd781f4e in mozilla::RunnableTask::Run(void) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:559
    #4 0x7ffafd763c01 in mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(class mozilla::detail::BaseAutoLock<class mozilla::Mutex &> const &) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:886
    #5 0x7ffafd75f345 in mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(class mozilla::detail::BaseAutoLock<class mozilla::Mutex &> const &) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:709
    #6 0x7ffafd75ff94 in mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:495
    #7 0x7ffafd785891 in mozilla::TaskController::TaskController::<lambda_5>::operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:218
    #8 0x7ffafd785891 in mozilla::detail::RunnableFunction<`lambda at /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:218:7'>::Run /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.h:548
    #9 0x7ffafd7b583e in nsThread::ProcessNextEvent(bool, bool *) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1199
    #10 0x7ffafd7c60a1 in NS_ProcessNextEvent(class nsIThread *, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480
    #11 0x7ffafeeaf7c7 in mozilla::ipc::MessagePump::Run(class base::MessagePump::Delegate *) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:85
    #12 0x7ffafedcc073 in MessageLoop::RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370
    #13 0x7ffafedcc073 in MessageLoop::RunHandler(void) /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363
    #14 0x7ffafedcbe3a in MessageLoop::Run(void) /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345
    #15 0x7ffb0756c19c in nsBaseAppShell::Run(void) /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:148
    #16 0x7ffb0778a7a7 in nsAppShell::Run(void) /builds/worker/checkouts/gecko/widget/windows/nsAppShell.cpp:466
    #17 0x7ffb0c0c864e in XRE_RunAppShell(void) /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:717
    #18 0x7ffafedcc073 in MessageLoop::RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370
    #19 0x7ffafedcc073 in MessageLoop::RunHandler(void) /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363
    #20 0x7ffafedcbe3a in MessageLoop::Run(void) /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345
    #21 0x7ffb0c0c7c3e in XRE_InitChildProcess(int, char **const, struct XREChildData const *) /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:652
    #22 0x7ff623852953 in content_process_main /builds/worker/checkouts/gecko/browser/app/../../ipc/contentproc/plugin-container.cpp:57
    #23 0x7ff623852953 in NS_internal_main(int, char **, char **) /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:375
    #24 0x7ff62385169b in wmain /builds/worker/checkouts/gecko/toolkit/xre/nsWindowsWMain.cpp:167
    #25 0x7ff6239334e7 in invoke_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:90
    #26 0x7ff6239334e7 in __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
    #27 0x7ffbb0d17613  (C:\WINDOWS\System32\KERNEL32.DLL+0x180017613)
    #28 0x7ffbb0fe26b0  (C:\WINDOWS\SYSTEM32\ntdll.dll+0x1800526b0)

0x123096b17b78 is located 184 bytes inside of 200-byte region [0x123096b17ac0,0x123096b17b88)
freed by thread T0 here:
    #0 0x7ffb163ff28d in free /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_malloc_win.cpp:82
    #1 0x7ffb0742989c in operator delete /builds/worker/workspace/obj-build/dist/include/mozilla/cxxalloc.h:51
    #2 0x7ffb0742989c in mozilla::dom::TaskSignal::`scalar deleting dtor'(unsigned int) /builds/worker/checkouts/gecko/dom/webscheduling/TaskSignal.h:60
    #3 0x7ffafd572dd6 in SnowWhiteKiller::MaybeKillObject /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:2486
    #4 0x7ffafd572dd6 in SnowWhiteKiller::~SnowWhiteKiller(void) /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:2473
    #5 0x7ffafd57187f in nsCycleCollector::FreeSnowWhite(bool) /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:2663
    #6 0x7ffafd57cfe5 in nsCycleCollector::BeginCollection(enum mozilla::CCReason, enum ccIsManual, class nsICycleCollectorListener *) /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3660
    #7 0x7ffafd57bfbf in nsCycleCollector::Collect(enum mozilla::CCReason, enum ccIsManual, class js::SliceBudget &, class nsICycleCollectorListener *, bool) /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3484
    #8 0x7ffafd580c67 in nsCycleCollector_collect(enum mozilla::CCReason, class nsICycleCollectorListener *) /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3995
    #9 0x7ffb00f38823 in nsJSContext::CycleCollectNow(enum mozilla::CCReason, class nsICycleCollectorListener *) /builds/worker/checkouts/gecko/dom/base/nsJSEnvironment.cpp:1424
    #10 0x7ffb02ea07db in mozilla::dom::FuzzingFunctions_Binding::cycleCollect /builds/worker/workspace/obj-build/dom/bindings/FuzzingFunctionsBinding.cpp:132
    #11 0x7ffb0dfc3f88 in CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:486
    #12 0x7ffb0dfc3f88 in js::InternalCallOrConstruct(struct JSContext *, class JS::CallArgs const &, enum js::MaybeConstruct, enum js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:580
    #13 0x7ffb0dfe1dc7 in InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647
    #14 0x7ffb0dfe1dc7 in js::CallFromStack /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:652
    #15 0x7ffb0dfe1dc7 in js::Interpret(struct JSContext *, class js::RunState &) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3395
    #16 0x7ffb0dfc2b93 in MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:400
    #17 0x7ffb0dfc2b93 in js::RunScript(struct JSContext *, class js::RunState &) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458
    #18 0x7ffb0dfc8545 in js::ExecuteKernel(struct JSContext *, class JS::Handle<class JSScript *>, class JS::Handle<class JSObject *>, class js::AbstractFramePtr, class JS::MutableHandle<class JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:845
    #19 0x7ffb0dfc89a1 in js::Execute(struct JSContext *, class JS::Handle<class JSScript *>, class JS::Handle<class JSObject *>, class JS::MutableHandle<class JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:877
    #20 0x7ffb0c53343d in ExecuteScript /builds/worker/checkouts/gecko/js/src/vm/CompilationAndEvaluation.cpp:493
    #21 0x7ffb0c5337cf in JS_ExecuteScript(struct JSContext *, class JS::Handle<class JSScript *>) /builds/worker/checkouts/gecko/js/src/vm/CompilationAndEvaluation.cpp:517
    #22 0x7ffb00c9aac7 in mozilla::dom::JSExecutionContext::ExecScript(void) /builds/worker/checkouts/gecko/dom/base/JSExecutionContext.cpp:241
    #23 0x7ffb07019816 in mozilla::dom::ExecuteCompiledScript /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:2172
    #24 0x7ffb07019816 in mozilla::dom::ScriptLoader::EvaluateScript(class nsIGlobalObject *, class JS::loader::ScriptLoadRequest *) /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:2437
    #25 0x7ffb07017b63 in mozilla::dom::ScriptLoader::EvaluateScriptElement(class JS::loader::ScriptLoadRequest *) /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:2241
    #26 0x7ffb0700e19c in mozilla::dom::ScriptLoader::ProcessRequest(class JS::loader::ScriptLoadRequest *) /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:1882
    #27 0x7ffb07008f2a in mozilla::dom::ScriptLoader::ProcessInlineScript(class nsIScriptElement *, enum JS::loader::ScriptKind) /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:1316
    #28 0x7ffb06ff32d2 in mozilla::dom::ScriptLoader::ProcessScriptElement(class nsIScriptElement *, class nsTAutoStringN<char16_t, 64> const &) /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:906
    #29 0x7ffb06ff2083 in mozilla::dom::ScriptElement::MaybeProcessScript(void) /builds/worker/checkouts/gecko/dom/script/ScriptElement.cpp:182
    #30 0x7ffaff7398aa in nsIScriptElement::AttemptToExecute /builds/worker/workspace/obj-build/dist/include/nsIScriptElement.h:222
    #31 0x7ffaff7398aa in nsHtml5TreeOpExecutor::RunScript(class nsIContent *) /builds/worker/checkouts/gecko/parser/html/nsHtml5TreeOpExecutor.cpp:950
    #32 0x7ffaff733d5e in nsHtml5TreeOpExecutor::RunFlushLoop(void) /builds/worker/checkouts/gecko/parser/html/nsHtml5TreeOpExecutor.cpp:741
    #33 0x7ffaff741ad4 in nsHtml5ExecutorFlusher::Run(void) /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:174
    #34 0x7ffafd781f4e in mozilla::RunnableTask::Run(void) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:559
    #35 0x7ffafd763c01 in mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(class mozilla::detail::BaseAutoLock<class mozilla::Mutex &> const &) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:886

previously allocated by thread T0 here:
    #0 0x7ffb163ff39d in malloc /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_malloc_win.cpp:98
    #1 0x7ffb764611ad in moz_xmalloc /builds/worker/checkouts/gecko/memory/mozalloc/mozalloc.cpp:52
    #2 0x7ffb07421f87 in operator new /builds/worker/workspace/obj-build/dist/include/mozilla/cxxalloc.h:33
    #3 0x7ffb07421f87 in mozilla::dom::WebTaskController::WebTaskController /builds/worker/checkouts/gecko/dom/webscheduling/WebTaskController.cpp:19
    #4 0x7ffb07421f87 in mozilla::dom::WebTaskController::Constructor(class mozilla::dom::GlobalObject const &, struct mozilla::dom::TaskControllerInit const &, class mozilla::ErrorResult &) /builds/worker/checkouts/gecko/dom/webscheduling/WebTaskController.cpp:61
    #5 0x7ffb025bc8f6 in mozilla::dom::TaskController_Binding::_constructor /builds/worker/workspace/obj-build/dom/bindings/WebTaskSchedulingBinding.cpp:908
    #6 0x7ffb0dfc6f17 in CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:486
    #7 0x7ffb0dfc6f17 in CallJSNativeConstructor /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:502
    #8 0x7ffb0dfc6f17 in InternalConstruct /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:727
    #9 0x7ffb0dfe1d7e in js::ConstructFromStack /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:755
    #10 0x7ffb0dfe1d7e in js::Interpret(struct JSContext *, class js::RunState &) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3380
    #11 0x7ffb0dfc2b93 in MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:400
    #12 0x7ffb0dfc2b93 in js::RunScript(struct JSContext *, class js::RunState &) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458
    #13 0x7ffb0dfc8545 in js::ExecuteKernel(struct JSContext *, class JS::Handle<class JSScript *>, class JS::Handle<class JSObject *>, class js::AbstractFramePtr, class JS::MutableHandle<class JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:845
    #14 0x7ffb0dfc89a1 in js::Execute(struct JSContext *, class JS::Handle<class JSScript *>, class JS::Handle<class JSObject *>, class JS::MutableHandle<class JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:877
    #15 0x7ffb0c53343d in ExecuteScript /builds/worker/checkouts/gecko/js/src/vm/CompilationAndEvaluation.cpp:493
    #16 0x7ffb0c5337cf in JS_ExecuteScript(struct JSContext *, class JS::Handle<class JSScript *>) /builds/worker/checkouts/gecko/js/src/vm/CompilationAndEvaluation.cpp:517
    #17 0x7ffb00c9aac7 in mozilla::dom::JSExecutionContext::ExecScript(void) /builds/worker/checkouts/gecko/dom/base/JSExecutionContext.cpp:241
    #18 0x7ffb07019816 in mozilla::dom::ExecuteCompiledScript /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:2172
    #19 0x7ffb07019816 in mozilla::dom::ScriptLoader::EvaluateScript(class nsIGlobalObject *, class JS::loader::ScriptLoadRequest *) /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:2437
    #20 0x7ffb07017b63 in mozilla::dom::ScriptLoader::EvaluateScriptElement(class JS::loader::ScriptLoadRequest *) /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:2241
    #21 0x7ffb0700e19c in mozilla::dom::ScriptLoader::ProcessRequest(class JS::loader::ScriptLoadRequest *) /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:1882
    #22 0x7ffb07008f2a in mozilla::dom::ScriptLoader::ProcessInlineScript(class nsIScriptElement *, enum JS::loader::ScriptKind) /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:1316
    #23 0x7ffb06ff32d2 in mozilla::dom::ScriptLoader::ProcessScriptElement(class nsIScriptElement *, class nsTAutoStringN<char16_t, 64> const &) /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:906
    #24 0x7ffb06ff2083 in mozilla::dom::ScriptElement::MaybeProcessScript(void) /builds/worker/checkouts/gecko/dom/script/ScriptElement.cpp:182
    #25 0x7ffaff7398aa in nsIScriptElement::AttemptToExecute /builds/worker/workspace/obj-build/dist/include/nsIScriptElement.h:222
    #26 0x7ffaff7398aa in nsHtml5TreeOpExecutor::RunScript(class nsIContent *) /builds/worker/checkouts/gecko/parser/html/nsHtml5TreeOpExecutor.cpp:950
    #27 0x7ffaff733d5e in nsHtml5TreeOpExecutor::RunFlushLoop(void) /builds/worker/checkouts/gecko/parser/html/nsHtml5TreeOpExecutor.cpp:741
    #28 0x7ffaff741ad4 in nsHtml5ExecutorFlusher::Run(void) /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:174
    #29 0x7ffafd781f4e in mozilla::RunnableTask::Run(void) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:559
    #30 0x7ffafd763c01 in mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(class mozilla::detail::BaseAutoLock<class mozilla::Mutex &> const &) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:886
    #31 0x7ffafd75f345 in mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(class mozilla::detail::BaseAutoLock<class mozilla::Mutex &> const &) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:709
    #32 0x7ffafd75ff94 in mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:495
    #33 0x7ffafd785891 in mozilla::TaskController::TaskController::<lambda_5>::operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:218
    #34 0x7ffafd785891 in mozilla::detail::RunnableFunction<`lambda at /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:218:7'>::Run /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.h:548
    #35 0x7ffafd7b583e in nsThread::ProcessNextEvent(bool, bool *) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1199
    #36 0x7ffafd7c60a1 in NS_ProcessNextEvent(class nsIThread *, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480

SUMMARY: AddressSanitizer: heap-use-after-free /builds/worker/checkouts/gecko/dom/webscheduling/TaskSignal.h:26 in mozilla::dom::TaskSignal::Priority
Shadow bytes around the buggy address:
  0x123096b17880: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x123096b17900: fd fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x123096b17980: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x123096b17a00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x123096b17a80: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
=>0x123096b17b00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd[fd]
  0x123096b17b80: fd fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x123096b17c00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x123096b17c80: fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa
  0x123096b17d00: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
  0x123096b17d80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==14452==ABORTING

The original report as published on Mozilla's Bugzilla, by m.cooolie. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

The proof of concept causes a crash in the tab process; the report does not show code execution or any other impact beyond the crash.

What the attacker needed

Attacker-controlled web page; victim opens the page in Firefox

How it was found

  1. Serve the proof-of-concept page from a local HTTP server.
  2. Launch Firefox with the supplied preferences and the proof-of-concept URL.
  3. Observe the AddressSanitizer heap-use-after-free crash in the tab process.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a program creates an object, it later frees the memory. A use-after-free happens when the program keeps using that memory after it has been freed, which can crash the browser or, in worse cases, let an attacker run their own code. Here a scheduling feature kept a reference to an object that had already been cleaned up.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by m.cooolie

View all

10 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.