Closed Bug 2014595 Opened 9 months ago Closed 8 months ago

Assertion failure: objectStoreMetadata == (*this->mObjectStoreMetadata), at /dom/indexedDB/ActorsParent.cpp:11471

Categories

(Core :: Storage: IndexedDB, defect)

x86_64
Linux
defect

Tracking

()

VERIFIED FIXED
150 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox-esr140 --- wontfix
firefox148 --- wontfix
firefox149 --- wontfix
firefox150 --- verified

People

(Reporter: jkratzer, Assigned: jari)

References

(Blocks 1 open bug, )

Details

(4 keywords, Whiteboard: [bugmon:bisected,confirmed][adv-main150-])

Attachments

(2 files, 1 external file, 1 obsolete file)

Reproduced on mozilla-central rev ab79c347a784 (built with: --enable-debug --enable-fuzzing).

Testcase can be reproduced using the following commands:

$ pip install fuzzfetch grizzly-framework pipx --upgrade
$ python -m pipx ensurepath
$ fuzzfetch --build ab79c347a784 --debug --fuzzing  -n firefox
$ grizzly-replay-bugzilla ./firefox/firefox <bugid>
Assertion failure: objectStoreMetadata == (*this->mObjectStoreMetadata), at /dom/indexedDB/ActorsParent.cpp:11471

    ==1381526==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000000 (pc 0x72b8788dcabe bp 0x72b86c131720 sp 0x72b86c131640 T1381632)
    ==1381526==The signal is caused by a WRITE memory access.
    ==1381526==Hint: address points to the zero page.
        #0 0x72b8788dcabe in MOZ_CrashSequence /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:237:3
        #1 0x72b8788dcabe in VerifyRequestParams /dom/indexedDB/ActorsParent.cpp:11471:7
        #2 0x72b8788dcabe in mozilla::dom::indexedDB::(anonymous namespace)::Cursor<(mozilla::dom::IDBCursorType)0>::RecvContinue(long const&, mozilla::dom::indexedDB::CursorRequestParams const&, mozilla::dom::indexedDB::Key const&, mozilla::dom::indexedDB::Key const&) /dom/indexedDB/ActorsParent.cpp:11750:24
        #3 0x72b87899e39d in mozilla::dom::indexedDB::PBackgroundIDBCursorParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PBackgroundIDBCursorParent.cpp:258:52
        #4 0x72b8741af179 in mozilla::ipc::PBackgroundParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PBackgroundParent.cpp:2104:32
        #5 0x72b87414ae8e in mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /ipc/glue/MessageChannel.cpp:1793:25
        #6 0x72b874148410 in mozilla::ipc::MessageChannel::DispatchMessage(mozilla::ipc::ActorLifecycleProxy*, std::unique_ptr<IPC::Message, std::default_delete<IPC::Message>>) /ipc/glue/MessageChannel.cpp:1719:9
        #7 0x72b874148e17 in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::ipc::MessageChannel::MessageTask&) /ipc/glue/MessageChannel.cpp:1508:3
        #8 0x72b874149df9 in mozilla::ipc::MessageChannel::MessageTask::Run() /ipc/glue/MessageChannel.cpp:1610:14
        #9 0x72b87355bac2 in nsThread::ProcessNextEvent(bool, bool*) /xpcom/threads/nsThread.cpp:1162:16
        #10 0x72b87356154f in NS_ProcessNextEvent(nsIThread*, bool) /xpcom/threads/nsThreadUtils.cpp:461:10
        #11 0x72b8741518e9 in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /ipc/glue/MessagePump.cpp:329:5
        #12 0x72b8740a9ad1 in RunHandler /ipc/chromium/src/base/message_loop.cc:366:3
        #13 0x72b8740a9ad1 in MessageLoop::Run() /ipc/chromium/src/base/message_loop.cc:348:3
        #14 0x72b8735576ee in nsThread::ThreadFunc(void*) /xpcom/threads/nsThread.cpp:373:10
        #15 0x72b889cbc3ac in _pt_root /nsprpub/pr/src/pthreads/ptthread.c:191:3
        #16 0x72b88969caa3 in start_thread ./nptl/pthread_create.c:447:8
        #17 0x72b889729c6b in clone3 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0
    
    ==1381526==Register values:
    rax = 0x0000000000000000  rbx = 0x000072b82c0ed6d0  rcx = 0x0000000000002ccf  rdx = 0x000072b889804563
    rdi = 0x000072b889805700  rsi = 0x0000000000000000  rbp = 0x000072b86c131720  rsp = 0x000072b86c131640
     r8 = 0x0000000000000000   r9 = 0x0000000000000003  r10 = 0x0000000000000002  r11 = 0x0000000000000293
    r12 = 0x000072b86fabdb40  r13 = 0x000072b86c131690  r14 = 0x000072b86c1317c8  r15 = 0x000072b86c131780
    UndefinedBehaviorSanitizer can not provide additional info.
    SUMMARY: UndefinedBehaviorSanitizer: SEGV (/home/jkratzer/builds/m-c-20260204094524-fuzzing-debug/libxul.so+0x9cdcabe) (BuildId: 6324a18a77ec64a491609780586d8badab323adb)
    ==1381526==ABORTING
Attached file Testcase (obsolete) —

This has also been reported via live site testing.

Keywords: bugmon

Verified bug as reproducible on mozilla-central 20260205042023-4779d1a57487.
Unable to bisect testcase (Testcase reproduces on start build!):

Start: 5223a9e8f62812d59d3daaedadb64d1be3c8757b (20250206161648)
End: ab79c347a7844435bf155b6ff78757fdd6a605d1 (20260204094524)
BuildFlags: BuildFlags(asan=False, tsan=False, debug=True, fuzzing=True, coverage=False, valgrind=False, no_opt=False, fuzzilli=False, nyx=False, searchfox=False, afl=False)

Whiteboard: [bugmon:confirm] → [bugmon:bisected,confirmed]
Keywords: sec-other
Severity: -- → S2
See Also: → 1911101
Assignee: nobody → jjalkanen
Attached file testcase.html —

Reduced testcase.

Attachment #9542547 - Attachment is obsolete: true
Attached file (secure) —
Group: dom-core-security → core-security-release
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch

The patch landed in nightly and beta is affected.
:jari, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(jjalkanen)

Verified bug as fixed on rev mozilla-central 20260227050019-ac66d1c9d3b2.
Removing bugmon keyword as no further action possible. Please review the bug and re-add the keyword for further analysis.

Status: RESOLVED → VERIFIED
Keywords: bugmon

Can we land a test for this?

Flags: needinfo?(jjalkanen)
Whiteboard: [bugmon:bisected,confirmed] → [bugmon:bisected,confirmed][adv-main150-]
Group: core-security-release
Keywords: keep-hidden
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: