Skip to content
Disclosed report

SEGV on a high unknown address at SegmentIs

Aki Helin Follow

Originally disclosed on Mozilla

  • Fixed in 41 days
  • Paid in 46 days
  • Disclosed after 41 days
Text
Created attachment 8559712
ff-segv-unknown.pdf

ASan builds spot the following crash when the attached pdf file is viewed with firefox. Not sure where to file this in FF, because from the trace this sounds like bad data present / being used from the URI hash, so likely something before the event is being too permissive.

Based on the heapish address this sounds like a potential security issue.

$ opt/firefox-asan-tinderbox/firefox ff-segv-unknown.pdf 2>&1 | symbolize | c++filt | head -n 16
ASAN:SIGSEGV
=================================================================
==27474==ERROR: AddressSanitizer: SEGV on unknown address 0x61410032d232 (pc 0x00000043f3c8 sp 0x7fffb862bfd0 bp 0x7fffb862c010 T0)
    #0 0x43f3c7 in __interceptor_strncmp /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc:104
    #1 0x7f9f41abe2c8 in SegmentIs /builds/slave/m-cen-l64-asan-000000000000000/build/src/netwerk/base/nsStandardURL.cpp:757
    #2 0x7f9f48108420 in KeyEquals /builds/slave/m-cen-l64-asan-000000000000000/build/src/obj-firefox/toolkit/components/places/../../../dist/include/nsURIHashKey.h:32
    #3 0x7f9f41917684 in SearchTable /builds/slave/m-cen-l64-asan-000000000000000/build/src/xpcom/glue/pldhash.cpp:380
    #4 0x7f9f419182c2 in Remove /builds/slave/m-cen-l64-asan-000000000000000/build/src/xpcom/glue/pldhash.cpp:641
    #5 0x7f9f48018819 in RemoveEntry /builds/slave/m-cen-l64-asan-000000000000000/build/src/obj-firefox/toolkit/components/places/../../../dist/include/nsTHashtable.h:176
    #6 0x7f9f461b7b13 in RecvStartVisitedQuery /builds/slave/m-cen-l64-asan-000000000000000/build/src/dom/ipc/ContentParent.cpp:3775
    #7 0x7f9f42712bbd in OnMessageReceived /builds/slave/m-cen-l64-asan-000000000000000/build/src/obj-firefox/ipc/ipdl/./PContentParent.cpp:3699
    #8 0x7f9f4213db81 in DispatchAsyncMessage /builds/slave/m-cen-l64-asan-000000000000000/build/src/ipc/glue/MessageChannel.cpp:1231
    #9 0x7f9f421333f5 in OnMaybeDequeueOne /builds/slave/m-cen-l64-asan-000000000000000/build/src/ipc/glue/MessageChannel.cpp:1142
    #10 0x7f9f420f1524 in RunTask /builds/slave/m-cen-l64-asan-000000000000000/build/src/ipc/chromium/src/base/message_loop.cc:361
    #11 0x7f9f420f25d7 in DoWork /builds/slave/m-cen-l64-asan-000000000000000/build/src/ipc/chromium/src/base/message_loop.cc:447
    #12 0x7f9f42145802 in Run /builds/slave/m-cen-l64-asan-000000000000000/build/src/ipc/glue/MessagePump.cpp:233

The original report as published on Mozilla's Bugzilla, by Aki Helin. 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.

What is known

A high-severity security bug in Networking. Mozilla made it public on 18 March 2015.

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

More by Aki Helin

View all

19 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.