Skip to content
Memory corruption Disclosed report CVE-2013-1680

Heap-use-after-free in nsFrameList::FirstChild

Abhishek Arya Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 13 days
  • Paid in 5 days
  • Disclosed after 13 days

Created attachment 724696 Testcase

==16813== ERROR: AddressSanitizer: heap-use-after-free on address 0x6004001e15b0 at pc 0x7f805347f8ae bp 0x7fffc90887b0 sp 0x7fffc90887a8 READ of size 8 at 0x6004001e15b0 thread T0 #0 0x7f805347f8ad in nsFrameList::FirstChild() const src/../../../dist/include/nsFrameList.h:229 #1 0x7f8053cbba5e in nsOverflowContinuationTracker::Finish(nsIFrame*) src/layout/generic/nsContainerFrame.cpp:1745 #2 0x7f8053c61fec in nsBlockReflowContext::ReflowBlock(nsRect const&, bool, nsCollapsingMargin&, int, bool, nsLineBox*, nsHTMLReflowState&, unsigned int&, nsBlockReflowState&) src/layout/generic/nsBlockReflowContext.cpp:304 #3 0x7f8053c0aba2 in nsBlockFrame::ReflowBlockFrame(nsBlockReflowState&, nsLineList_iterator, bool*) src/layout/generic/nsBlockFrame.cpp:3090 #4 0x7f8053c004b7 in nsBlockFrame::ReflowLine(nsBlockReflowState&, nsLineList_iterator, bool*) src/layout/generic/nsBlockFrame.cpp:2501 #5 0x7f8053be9ce6 in nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&) src/layout/generic/nsBlockFrame.cpp:2023 #6 0x7f8053bdd3fa in nsBlockFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsBlockFrame.cpp:1067 #7 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #8 0x7f8053c9ee3d in nsColumnSetFrame::ReflowChildren(nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&, nsColumnSetFrame::ReflowConfig const&, bool, nsCollapsingMargin*, nsColumnSetFrame::ColumnBalanceData&) src/layout/generic/nsColumnSetFrame.cpp:671 #9 0x7f8053ca613f in nsColumnSetFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsColumnSetFrame.cpp:1045 #10 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #11 0x7f8053cbe4da in nsContainerFrame::ReflowOverflowContainerChildren(nsPresContext*, nsHTMLReflowState const&, nsOverflowAreas&, unsigned int, unsigned int&) src/layout/generic/nsContainerFrame.cpp:1148 #12 0x7f8053bdced2 in nsBlockFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsBlockFrame.cpp:1042 #13 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #14 0x7f8053c9ee3d in nsColumnSetFrame::ReflowChildren(nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&, nsColumnSetFrame::ReflowConfig const&, bool, nsCollapsingMargin*, nsColumnSetFrame::ColumnBalanceData&) src/layout/generic/nsColumnSetFrame.cpp:671 #15 0x7f8053ca46ff in nsColumnSetFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsColumnSetFrame.cpp:941 #16 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #17 0x7f8053e70018 in nsCanvasFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsCanvasFrame.cpp:487 #18 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #19 0x7f8053de6161 in nsHTMLScrollFrame::ReflowScrolledFrame(ScrollReflowState*, bool, bool, nsHTMLReflowMetrics*, bool) src/layout/generic/nsGfxScrollFrame.cpp:430 #20 0x7f8053de9df0 in nsHTMLScrollFrame::ReflowContents(ScrollReflowState*, nsHTMLReflowMetrics const&) src/layout/generic/nsGfxScrollFrame.cpp:530 #21 0x7f8053dee2b3 in nsHTMLScrollFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsGfxScrollFrame.cpp:771 #22 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #23 0x7f80541a0ebd in ViewportFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsViewportFrame.cpp:202 #24 0x7f80539480b2 in PresShell::DoReflow(nsIFrame*, bool) src/layout/base/nsPresShell.cpp:7801 #25 0x7f8053975911 in PresShell::ProcessReflowCommands(bool) src/layout/base/nsPresShell.cpp:7942 #26 0x7f80539740cd in PresShell::FlushPendingNotifications(mozilla::ChangesToFlush) src/layout/base/nsPresShell.cpp:3932 #27 0x7f8053972727 in PresShell::FlushPendingNotifications(mozFlushType) src/layout/base/nsPresShell.cpp:3778 #28 0x7f805378449f in nsDocumentViewer::LoadComplete(tag_nsresult) src/layout/base/nsDocumentViewer.cpp:987 #29 0x7f805b4c91dd in nsDocShell::EndPageLoad(nsIWebProgress*, nsIChannel*, tag_nsresult) src/docshell/base/nsDocShell.cpp:6710 #30 0x7f805b4c11db in nsDocShell::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, tag_nsresult) src/docshell/base/nsDocShell.cpp:6538 #31 0x7f805b4c2109 in non-virtual thunk to nsDocShell::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, tag_nsresult) src/docshell/base/nsDocShell.cpp:6545 #32 0x7f805b5c4cdb in nsDocLoader::DoFireOnStateChange(nsIWebProgress*, nsIRequest*, int&, tag_nsresult) src/uriloader/base/nsDocLoader.cpp:1290 #33 0x7f805b5c257c in nsDocLoader::doStopDocumentLoad(nsIRequest*, tag_nsresult) src/uriloader/base/nsDocLoader.cpp:870 #34 0x7f805b5bb8a4 in nsDocLoader::DocLoaderIsEmpty(bool) src/uriloader/base/nsDocLoader.cpp:760 #35 0x7f805b5bfb5b in nsDocLoader::OnStopRequest(nsIRequest*, nsISupports*, tag_nsresult) src/uriloader/base/nsDocLoader.cpp:644 #36 0x7f805b5c121a in non-virtual thunk to nsDocLoader::OnStopRequest(nsIRequest*, nsISupports*, tag_nsresult) src/uriloader/base/nsDocLoader.cpp:648 #37 0x7f80519d4c03 in nsLoadGroup::RemoveRequest(nsIRequest*, nsISupports*, tag_nsresult) src/netwerk/base/src/nsLoadGroup.cpp:676 #38 0x7f80551f3ec5 in nsDocument::DoUnblockOnload() src/content/base/src/nsDocument.cpp:7881 #39 0x7f80551f391b in nsDocument::UnblockOnload(bool) src/content/base/src/nsDocument.cpp:7809 #40 0x7f805519499b in nsDocument::DispatchContentLoadedEvents() src/content/base/src/nsDocument.cpp:4443 #41 0x7f8055297a1a in nsRunnableMethodImpl<void (nsDocument::)(), true>::Run() src/../../../dist/include/nsThreadUtils.h:367 #42 0x7f80611ff057 in nsThread::ProcessNextEvent(bool, bool) src/xpcom/threads/nsThread.cpp:627 #43 0x7f8060eac572 in NS_ProcessNextEvent_P(nsIThread*, bool) src/objdir-ff-asan-sym/xpcom/build/nsThreadUtils.cpp:238 #44 0x7f805d9ca369 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:82 #45 0x7f80614c54eb in MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:216 #46 0x7f80614c533e in MessageLoop::RunHandler() src/ipc/chromium/src/base/message_loop.cc:209 #47 0x7f80614c5229 in MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:183 #48 0x7f805ce4ff4e in nsBaseAppShell::Run() src/widget/xpwidgets/nsBaseAppShell.cpp:163 #49 0x7f805ba8efa0 in nsAppStartup::Run() src/toolkit/components/startup/nsAppStartup.cpp:288 #50 0x7f805176d11c in XREMain::XRE_mainRun() src/toolkit/xre/nsAppRunner.cpp:3880 #51 0x7f80517727c9 in XREMain::XRE_main(int, char**, nsXREAppData const*) src/toolkit/xre/nsAppRunner.cpp:3947 #52 0x7f8051775285 in XRE_main src/toolkit/xre/nsAppRunner.cpp:4150 #53 0x427f37 in do_main(int, char**, nsIFile*) src/browser/app/nsBrowserApp.cpp:228 #54 0x4250f1 in main src/browser/app/nsBrowserApp.cpp:529 #55 0x7f807264476c in #56 0x424864 in 0x6004001e15b0 is located 0 bytes inside of 16-byte region [0x6004001e15b0,0x6004001e15c0) freed by thread T0 here: #0 0x4186d2 in __interceptor_free #1 0x7f807366077e in moz_free src/memory/mozalloc/mozalloc.cpp:48 #2 0x7f8053cc356d in TryRemoveFrame(nsIFrame*, mozilla::FramePropertyTable*, mozilla::FramePropertyDescriptor const*, nsIFrame*, bool (nsFrameList::)(nsIFrame)) src/../../dist/include/mozilla/mozalloc.h:225 #3 0x7f8053cc2799 in nsContainerFrame::StealFrame(nsPresContext*, nsIFrame*, bool) src/layout/generic/nsContainerFrame.cpp:1259 #4 0x7f8053c41d6f in nsBlockFrame::StealFrame(nsPresContext*, nsIFrame*, bool) src/layout/generic/nsBlockFrame.cpp:5616 #5 0x7f8053cc4e4c in nsContainerFrame::DeleteNextInFlowChild(nsPresContext*, nsIFrame*, bool) src/layout/generic/nsContainerFrame.cpp:1408 #6 0x7f8053c4390b in nsBlockFrame::DeleteNextInFlowChild(nsPresContext*, nsIFrame*, bool) src/layout/generic/nsBlockFrame.cpp:5701 #7 0x7f8053c6210a in nsBlockReflowContext::ReflowBlock(nsRect const&, bool, nsCollapsingMargin&, int, bool, nsLineBox*, nsHTMLReflowState&, unsigned int&, nsBlockReflowState&) src/layout/generic/nsBlockReflowContext.cpp:305 #8 0x7f8053c0aba2 in nsBlockFrame::ReflowBlockFrame(nsBlockReflowState&, nsLineList_iterator, bool*) src/layout/generic/nsBlockFrame.cpp:3090 #9 0x7f8053c004b7 in nsBlockFrame::ReflowLine(nsBlockReflowState&, nsLineList_iterator, bool*) src/layout/generic/nsBlockFrame.cpp:2501 #10 0x7f8053be9ce6 in nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&) src/layout/generic/nsBlockFrame.cpp:2023 #11 0x7f8053bdd3fa in nsBlockFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsBlockFrame.cpp:1067 #12 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #13 0x7f8053c9ee3d in nsColumnSetFrame::ReflowChildren(nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&, nsColumnSetFrame::ReflowConfig const&, bool, nsCollapsingMargin*, nsColumnSetFrame::ColumnBalanceData&) src/layout/generic/nsColumnSetFrame.cpp:671 #14 0x7f8053ca613f in nsColumnSetFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsColumnSetFrame.cpp:1045 #15 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #16 0x7f8053cbe4da in nsContainerFrame::ReflowOverflowContainerChildren(nsPresContext*, nsHTMLReflowState const&, nsOverflowAreas&, unsigned int, unsigned int&) src/layout/generic/nsContainerFrame.cpp:1148 #17 0x7f8053bdced2 in nsBlockFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsBlockFrame.cpp:1042 #18 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #19 0x7f8053c9ee3d in nsColumnSetFrame::ReflowChildren(nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&, nsColumnSetFrame::ReflowConfig const&, bool, nsCollapsingMargin*, nsColumnSetFrame::ColumnBalanceData&) src/layout/generic/nsColumnSetFrame.cpp:671 #20 0x7f8053ca46ff in nsColumnSetFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsColumnSetFrame.cpp:941 #21 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #22 0x7f8053e70018 in nsCanvasFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsCanvasFrame.cpp:487 #23 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #24 0x7f8053de6161 in nsHTMLScrollFrame::ReflowScrolledFrame(ScrollReflowState*, bool, bool, nsHTMLReflowMetrics*, bool) src/layout/generic/nsGfxScrollFrame.cpp:430 #25 0x7f8053de9df0 in nsHTMLScrollFrame::ReflowContents(ScrollReflowState*, nsHTMLReflowMetrics const&) src/layout/generic/nsGfxScrollFrame.cpp:530 #26 0x7f8053dee2b3 in nsHTMLScrollFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsGfxScrollFrame.cpp:771 #27 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #28 0x7f80541a0ebd in ViewportFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsViewportFrame.cpp:202 #29 0x7f80539480b2 in PresShell::DoReflow(nsIFrame*, bool) src/layout/base/nsPresShell.cpp:7801 previously allocated by thread T0 here: #0 0x4187b2 in __interceptor_malloc #1 0x7f80736608c5 in moz_xmalloc src/memory/mozalloc/mozalloc.cpp:54 #2 0x7f8053cc0ae6 in nsOverflowContinuationTracker::Insert(nsIFrame*, unsigned int&) src/../../dist/include/mozilla/mozalloc.h:201 #3 0x7f8053cbf46e in nsContainerFrame::ReflowOverflowContainerChildren(nsPresContext*, nsHTMLReflowState const&, nsOverflowAreas&, unsigned int, unsigned int&) src/layout/generic/nsContainerFrame.cpp:1185 #4 0x7f8053bdced2 in nsBlockFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsBlockFrame.cpp:1042 #5 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #6 0x7f8053c9ee3d in nsColumnSetFrame::ReflowChildren(nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&, nsColumnSetFrame::ReflowConfig const&, bool, nsCollapsingMargin*, nsColumnSetFrame::ColumnBalanceData&) src/layout/generic/nsColumnSetFrame.cpp:671 #7 0x7f8053ca46ff in nsColumnSetFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsColumnSetFrame.cpp:941 #8 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #9 0x7f8053cbe4da in nsContainerFrame::ReflowOverflowContainerChildren(nsPresContext*, nsHTMLReflowState const&, nsOverflowAreas&, unsigned int, unsigned int&) src/layout/generic/nsContainerFrame.cpp:1148 #10 0x7f8053bdced2 in nsBlockFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsBlockFrame.cpp:1042 #11 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #12 0x7f8053c9ee3d in nsColumnSetFrame::ReflowChildren(nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&, nsColumnSetFrame::ReflowConfig const&, bool, nsCollapsingMargin*, nsColumnSetFrame::ColumnBalanceData&) src/layout/generic/nsColumnSetFrame.cpp:671 #13 0x7f8053ca613f in nsColumnSetFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsColumnSetFrame.cpp:1045 #14 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #15 0x7f8053e70018 in nsCanvasFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsCanvasFrame.cpp:487 #16 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #17 0x7f8053de6161 in nsHTMLScrollFrame::ReflowScrolledFrame(ScrollReflowState*, bool, bool, nsHTMLReflowMetrics*, bool) src/layout/generic/nsGfxScrollFrame.cpp:430 #18 0x7f8053de9df0 in nsHTMLScrollFrame::ReflowContents(ScrollReflowState*, nsHTMLReflowMetrics const&) src/layout/generic/nsGfxScrollFrame.cpp:530 #19 0x7f8053dee2b3 in nsHTMLScrollFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsGfxScrollFrame.cpp:771 #20 0x7f8053cbb198 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) src/layout/generic/nsContainerFrame.cpp:968 #21 0x7f80541a0ebd in ViewportFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) src/layout/generic/nsViewportFrame.cpp:202 #22 0x7f80539480b2 in PresShell::DoReflow(nsIFrame*, bool) src/layout/base/nsPresShell.cpp:7801 #23 0x7f8053975911 in PresShell::ProcessReflowCommands(bool) src/layout/base/nsPresShell.cpp:7942 #24 0x7f80539740cd in PresShell::FlushPendingNotifications(mozilla::ChangesToFlush) src/layout/base/nsPresShell.cpp:3932 #25 0x7f8053972727 in PresShell::FlushPendingNotifications(mozFlushType) src/layout/base/nsPresShell.cpp:3778 #26 0x7f80551df86e in nsDocument::FlushPendingNotifications(mozFlushType) src/content/base/src/nsDocument.cpp:6986 #27 0x7f80553978f8 in mozilla::dom::Element::GetPrimaryFrame(mozFlushType) src/content/base/src/Element.cpp:1626 #28 0x7f8055397507 in mozilla::dom::Element::GetStyledFrame() src/content/base/src/Element.cpp:486 #29 0x7f805624e20f in nsGenericHTMLElement::GetOffsetRect(nsRect&) src/content/html/content/src/nsGenericHTMLElement.cpp:397 Shadow bytes around the buggy address: 0x0c0100034260: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x0c0100034270: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x0c0100034280: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x0c0100034290: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x0c01000342a0: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd =>0x0c01000342b0: fa fa fd fd fa fa[fd]fd fa fa fd fd fa fa fd fd 0x0c01000342c0: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x0c01000342d0: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x0c01000342e0: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x0c01000342f0: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x0c0100034300: fa fa fd fd fa fa fd fd fa fa fd fd fa fa 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 Heap righ redzone: fb Freed Heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 ASan internal: fe ==16813== ABORTING

The original report as published on Mozilla's Bugzilla, by Abhishek Arya. 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 critical-severity memory corruption bug in Layout. Mozilla made it public on 26 March 2013 as CVE-2013-1680.

About 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.

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

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 Abhishek Arya

View all

130 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.