Skip to content
Memory corruption Disclosed report CVE-2015-0827

Heap-buffer-overflow write in mozilla::gfx::CopyRect

Abhishek Arya Follow

Originally disclosed on Mozilla

  • Fixed in 22 days
  • Paid in 59 days
  • Disclosed after 22 days

Created attachment 8543484 Testcase

================================================================= ==16794==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7f398b43d56f at pc 0x7f39a2568a2d bp 0x7fff0e98b4a0 sp 0x7fff0e98b498 WRITE of size 16 at 0x7f398b43d56f thread T0 (Web Content) #0 0x7f39a2568a2c in mozilla::gfx::CopyRect(mozilla::gfx::DataSourceSurface*, mozilla::gfx::DataSourceSurface*, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits, mozilla::gfx::IntPointTypedmozilla::gfx::UnknownUnits) objdir-ff-asan/dist/include/mozilla/PodOperations.h:87:3 #1 0x7f39a25b3559 in mozilla::gfx::FilterNodeTileSoftware::Render(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:1552:7 #2 0x7f39a25a2f6a in mozilla::gfx::FilterNodeSoftware::GetOutput(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:604:21 #3 0x7f39a25a8710 in mozilla::gfx::FilterNodeSoftware::GetInputDataSourceSurface(unsigned int, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::FilterNodeSoftware::FormatHint, mozilla::gfx::ConvolveMatrixEdgeMode, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const*) gfx/2d/FilterNodeSoftware.cpp:698:17 #4 0x7f39a25c985d in mozilla::gfx::FilterNodeCropSoftware::Render(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:3004:10 #5 0x7f39a25a2f6a in mozilla::gfx::FilterNodeSoftware::GetOutput(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:604:21 #6 0x7f39a25a8710 in mozilla::gfx::FilterNodeSoftware::GetInputDataSourceSurface(unsigned int, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::FilterNodeSoftware::FormatHint, mozilla::gfx::ConvolveMatrixEdgeMode, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const*) gfx/2d/FilterNodeSoftware.cpp:698:17 #7 0x7f39a25ca1d9 in mozilla::gfx::FilterNodeUnpremultiplySoftware::Render(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:3061:5 #8 0x7f39a25a2f6a in mozilla::gfx::FilterNodeSoftware::GetOutput(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:604:21 #9 0x7f39a25a8710 in mozilla::gfx::FilterNodeSoftware::GetInputDataSourceSurface(unsigned int, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::FilterNodeSoftware::FormatHint, mozilla::gfx::ConvolveMatrixEdgeMode, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const*) gfx/2d/FilterNodeSoftware.cpp:698:17 #10 0x7f39a25b4e8f in mozilla::gfx::FilterNodeComponentTransferSoftware::Render(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:1680:5 #11 0x7f39a25a2f6a in mozilla::gfx::FilterNodeSoftware::GetOutput(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:604:21 #12 0x7f39a25a8710 in mozilla::gfx::FilterNodeSoftware::GetInputDataSourceSurface(unsigned int, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::FilterNodeSoftware::FormatHint, mozilla::gfx::ConvolveMatrixEdgeMode, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const*) gfx/2d/FilterNodeSoftware.cpp:698:17 #13 0x7f39a25c9fd9 in mozilla::gfx::FilterNodePremultiplySoftware::Render(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:3032:5 #14 0x7f39a25a2f6a in mozilla::gfx::FilterNodeSoftware::GetOutput(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:604:21 #15 0x7f39a256dbba in mozilla::gfx::FilterNodeSoftware::Draw(mozilla::gfx::DrawTarget*, mozilla::gfx::RectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::PointTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::DrawOptions const&) gfx/2d/FilterNodeSoftware.cpp:557:14 #16 0x7f39a2630f76 in mozilla::gfx::FilterSupport::RenderFilterDescription(mozilla::gfx::DrawTarget*, mozilla::gfx::FilterDescription const&, mozilla::gfx::RectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::SourceSurface*, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::SourceSurface*, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::SourceSurface*, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, nsTArray<mozilla::RefPtrmozilla::gfx::SourceSurface >&, mozilla::gfx::PointTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::DrawOptions const&) gfx/src/FilterSupport.cpp:1249:3 #17 0x7f39a65b77e5 in nsFilterInstance::Render(gfxContext*) layout/svg/nsFilterInstance.cpp:486:3 #18 0x7f39a65b6c66 in nsFilterInstance::PaintFilteredFrame(nsIFrame*, gfxContext&, gfxMatrix const&, nsSVGFilterPaintCallback*, nsRegion const*) layout/svg/nsFilterInstance.cpp:74:10 #19 0x7f39a65eee5d in nsSVGIntegrationUtils::PaintFramesWithEffects(gfxContext&, nsIFrame*, nsRect const&, nsDisplayListBuilder*, mozilla::layers::LayerManager*) layout/svg/nsSVGIntegrationUtils.cpp:543:5 #20 0x7f39a5fca1ee in mozilla::FrameLayerBuilder::PaintItems(nsTArraymozilla::FrameLayerBuilder::ClippedDisplayItem&, nsIntRect const&, gfxContext*, nsRenderingContext*, nsDisplayListBuilder*, nsPresContext*, nsIntPoint const&, float, float, int) layout/base/FrameLayerBuilder.cpp:2665:5 #21 0x7f39a5fccee1 in mozilla::FrameLayerBuilder::DrawPaintedLayer(mozilla::layers::PaintedLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*) layout/base/FrameLayerBuilder.cpp:4630:5 #22 0x7f39a27a7600 in mozilla::layers::BasicPaintedLayer::PaintThebes(gfxContext*, mozilla::layers::Layer*, void ()(mozilla::layers::PaintedLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*) gfx/layers/basic/BasicPaintedLayer.cpp:94:7 #23 0x7f39a27a2b09 in mozilla::layers::BasicLayerManager::PaintSelfOrChildren(mozilla::layers::PaintLayerContext&, gfxContext*) gfx/layers/basic/BasicLayerManager.cpp:724:7 #24 0x7f39a279fe87 in mozilla::layers::BasicLayerManager::PaintLayer(gfxContext*, mozilla::layers::Layer*, void ()(mozilla::layers::PaintedLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*) gfx/layers/basic/BasicLayerManager.cpp:838:5 #25 0x7f39a27a2925 in mozilla::layers::BasicLayerManager::PaintSelfOrChildren(mozilla::layers::PaintLayerContext&, gfxContext*) gfx/layers/basic/BasicLayerManager.cpp:737:7 #26 0x7f39a279fe87 in mozilla::layers::BasicLayerManager::PaintLayer(gfxContext*, mozilla::layers::Layer*, void ()(mozilla::layers::PaintedLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*) gfx/layers/basic/BasicLayerManager.cpp:838:5 #27 0x7f39a279b3ca in mozilla::layers::BasicLayerManager::EndTransactionInternal(void ()(mozilla::layers::PaintedLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) gfx/layers/basic/BasicLayerManager.cpp:528:5 #28 0x7f39a5fca23a in mozilla::FrameLayerBuilder::PaintItems(nsTArraymozilla::FrameLayerBuilder::ClippedDisplayItem&, nsIntRect const&, gfxContext*, nsRenderingContext*, nsDisplayListBuilder*, nsPresContext*, nsIntPoint const&, float, float, int) layout/base/FrameLayerBuilder.cpp:2670:5 #29 0x7f39a5fccee1 in mozilla::FrameLayerBuilder::DrawPaintedLayer(mozilla::layers::PaintedLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*) layout/base/FrameLayerBuilder.cpp:4630:5 #30 0x7f39a27b7204 in mozilla::layers::ClientPaintedLayer::PaintThebes() gfx/layers/client/ClientPaintedLayer.cpp:76:5 #31 0x7f39a27b7c98 in mozilla::layers::ClientPaintedLayer::RenderLayerWithReadback(mozilla::layers::ReadbackProcessor*) gfx/layers/client/ClientPaintedLayer.cpp:131:3 #32 0x7f39a27d3227 in mozilla::layers::ClientContainerLayer::RenderLayer() gfx/layers/client/ClientContainerLayer.h:69:7 #33 0x7f39a27b270b in mozilla::layers::ClientLayerManager::EndTransactionInternal(void ()(mozilla::layers::PaintedLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) gfx/layers/client/ClientLayerManager.cpp:268:3 #34 0x7f39a27b2d9b in mozilla::layers::ClientLayerManager::EndTransaction(void ()(mozilla::layers::PaintedLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) gfx/layers/client/ClientLayerManager.cpp:303:3 #35 0x7f39a60e92e1 in nsDisplayList::PaintRoot(nsDisplayListBuilder*, nsRenderingContext*, unsigned int) layout/base/nsDisplayList.cpp:1642:3 #36 0x7f39a616bf0e in nsLayoutUtils::PaintFrame(nsRenderingContext*, nsIFrame*, nsRegion const&, unsigned int, unsigned int) layout/base/nsLayoutUtils.cpp:3177:5 #37 0x7f39a61ef845 in PresShell::Paint(nsView*, nsRegion const&, unsigned int) layout/base/nsPresShell.cpp:6345:5 #38 0x7f39a5957292 in nsViewManager::ProcessPendingUpdatesPaint(nsIWidget*) view/nsViewManager.cpp:443:7 #39 0x7f39a5956ade in nsViewManager::ProcessPendingUpdatesForView(nsView*, bool) view/nsViewManager.cpp:384:9 #40 0x7f39a5f814d7 in nsRefreshDriver::Tick(long, mozilla::TimeStamp) layout/base/nsRefreshDriver.cpp:1386:5 #41 0x7f39a5f874d6 in mozilla::RefreshDriverTimer::Tick() layout/base/nsRefreshDriver.cpp:177:5 #42 0x7f39a0efe325 in nsTimerImpl::Fire() xpcom/threads/nsTimerImpl.cpp:631:7 #43 0x7f39a0efefc0 in nsTimerEvent::Run() xpcom/threads/nsTimerImpl.cpp:724:3 #44 0x7f39a0ef4f36 in nsThread::ProcessNextEvent(bool, bool*) xpcom/threads/nsThread.cpp:855:7 #45 0x7f39a0f4be16 in NS_ProcessNextEvent(nsIThread*, bool) xpcom/glue/nsThreadUtils.cpp:265:10 #46 0x7f39a1775aaf in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) ipc/glue/MessagePump.cpp:99:21 #47 0x7f39a1726de1 in MessageLoop::Run() ipc/chromium/src/base/message_loop.cc:233:3 #48 0x7f39a59890ff in nsBaseAppShell::Run() widget/nsBaseAppShell.cpp:164:3 #49 0x7f39a74454d2 in XRE_RunAppShell toolkit/xre/nsEmbedFunctions.cpp:734:12 #50 0x7f39a1726de1 in MessageLoop::Run() ipc/chromium/src/base/message_loop.cc:233:3 #51 0x7f39a744490b in XRE_InitChildProcess toolkit/xre/nsEmbedFunctions.cpp:571:7 #52 0x4bbc7e in content_process_main(int, char**) ipc/contentproc/plugin-container.cpp:211:19 #53 0x7f399e55eec4 in __libc_start_main /build/buildd/eglibc-2.19/csu/libc-start.c:287 0x7f398b43d56f is located 0 bytes to the right of 589167-byte region [0x7f398b3ad800,0x7f398b43d56f) allocated by thread T0 (Web Content) here: #0 0x499a39 in __interceptor_malloc asan_rtl #1 0x7f39a261cb16 in mozilla::gfx::SourceSurfaceAlignedRawData::Init(mozilla::gfx::IntSizeTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::SurfaceFormat, bool) gfx/2d/Tools.h:160:41 #2 0x7f39a256924a in mozilla::gfx::Factory::CreateDataSourceSurface(mozilla::gfx::IntSizeTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::SurfaceFormat, bool) gfx/2d/Factory.cpp:807:7 #3 0x7f39a25b3435 in mozilla::gfx::FilterNodeTileSoftware::Render(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:1545:18 #4 0x7f39a25a2f6a in mozilla::gfx::FilterNodeSoftware::GetOutput(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:604:21 #5 0x7f39a25a8710 in mozilla::gfx::FilterNodeSoftware::GetInputDataSourceSurface(unsigned int, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::FilterNodeSoftware::FormatHint, mozilla::gfx::ConvolveMatrixEdgeMode, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const*) gfx/2d/FilterNodeSoftware.cpp:698:17 #6 0x7f39a25c985d in mozilla::gfx::FilterNodeCropSoftware::Render(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:3004:10 #7 0x7f39a25a2f6a in mozilla::gfx::FilterNodeSoftware::GetOutput(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:604:21 #8 0x7f39a25a8710 in mozilla::gfx::FilterNodeSoftware::GetInputDataSourceSurface(unsigned int, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::FilterNodeSoftware::FormatHint, mozilla::gfx::ConvolveMatrixEdgeMode, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const*) gfx/2d/FilterNodeSoftware.cpp:698:17 #9 0x7f39a25ca1d9 in mozilla::gfx::FilterNodeUnpremultiplySoftware::Render(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:3061:5 #10 0x7f39a25a2f6a in mozilla::gfx::FilterNodeSoftware::GetOutput(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:604:21 #11 0x7f39a25a8710 in mozilla::gfx::FilterNodeSoftware::GetInputDataSourceSurface(unsigned int, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::FilterNodeSoftware::FormatHint, mozilla::gfx::ConvolveMatrixEdgeMode, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const*) gfx/2d/FilterNodeSoftware.cpp:698:17 #12 0x7f39a25b4e8f in mozilla::gfx::FilterNodeComponentTransferSoftware::Render(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:1680:5 #13 0x7f39a25a2f6a in mozilla::gfx::FilterNodeSoftware::GetOutput(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:604:21 #14 0x7f39a25a8710 in mozilla::gfx::FilterNodeSoftware::GetInputDataSourceSurface(unsigned int, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::FilterNodeSoftware::FormatHint, mozilla::gfx::ConvolveMatrixEdgeMode, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const*) gfx/2d/FilterNodeSoftware.cpp:698:17 #15 0x7f39a25c9fd9 in mozilla::gfx::FilterNodePremultiplySoftware::Render(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:3032:5 #16 0x7f39a25a2f6a in mozilla::gfx::FilterNodeSoftware::GetOutput(mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) gfx/2d/FilterNodeSoftware.cpp:604:21 #17 0x7f39a256dbba in mozilla::gfx::FilterNodeSoftware::Draw(mozilla::gfx::DrawTarget*, mozilla::gfx::RectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::PointTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::DrawOptions const&) gfx/2d/FilterNodeSoftware.cpp:557:14 #18 0x7f39a2630f76 in mozilla::gfx::FilterSupport::RenderFilterDescription(mozilla::gfx::DrawTarget*, mozilla::gfx::FilterDescription const&, mozilla::gfx::RectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::SourceSurface*, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::SourceSurface*, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::SourceSurface*, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, nsTArray<mozilla::RefPtrmozilla::gfx::SourceSurface >&, mozilla::gfx::PointTypedmozilla::gfx::UnknownUnits const&, mozilla::gfx::DrawOptions const&) gfx/src/FilterSupport.cpp:1249:3 #19 0x7f39a65b77e5 in nsFilterInstance::Render(gfxContext*) layout/svg/nsFilterInstance.cpp:486:3 #20 0x7f39a65b6c66 in nsFilterInstance::PaintFilteredFrame(nsIFrame*, gfxContext&, gfxMatrix const&, nsSVGFilterPaintCallback*, nsRegion const*) layout/svg/nsFilterInstance.cpp:74:10 #21 0x7f39a65eee5d in nsSVGIntegrationUtils::PaintFramesWithEffects(gfxContext&, nsIFrame*, nsRect const&, nsDisplayListBuilder*, mozilla::layers::LayerManager*) layout/svg/nsSVGIntegrationUtils.cpp:543:5 #22 0x7f39a5fca1ee in mozilla::FrameLayerBuilder::PaintItems(nsTArraymozilla::FrameLayerBuilder::ClippedDisplayItem&, nsIntRect const&, gfxContext*, nsRenderingContext*, nsDisplayListBuilder*, nsPresContext*, nsIntPoint const&, float, float, int) layout/base/FrameLayerBuilder.cpp:2665:5 #23 0x7f39a5fccee1 in mozilla::FrameLayerBuilder::DrawPaintedLayer(mozilla::layers::PaintedLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*) layout/base/FrameLayerBuilder.cpp:4630:5 #24 0x7f39a27a7600 in mozilla::layers::BasicPaintedLayer::PaintThebes(gfxContext*, mozilla::layers::Layer*, void ()(mozilla::layers::PaintedLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*) gfx/layers/basic/BasicPaintedLayer.cpp:94:7 #25 0x7f39a27a2b09 in mozilla::layers::BasicLayerManager::PaintSelfOrChildren(mozilla::layers::PaintLayerContext&, gfxContext*) gfx/layers/basic/BasicLayerManager.cpp:724:7 #26 0x7f39a279fe87 in mozilla::layers::BasicLayerManager::PaintLayer(gfxContext*, mozilla::layers::Layer*, void ()(mozilla::layers::PaintedLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*) gfx/layers/basic/BasicLayerManager.cpp:838:5 #27 0x7f39a27a2925 in mozilla::layers::BasicLayerManager::PaintSelfOrChildren(mozilla::layers::PaintLayerContext&, gfxContext*) gfx/layers/basic/BasicLayerManager.cpp:737:7 #28 0x7f39a279fe87 in mozilla::layers::BasicLayerManager::PaintLayer(gfxContext*, mozilla::layers::Layer*, void ()(mozilla::layers::PaintedLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*) gfx/layers/basic/BasicLayerManager.cpp:838:5 #29 0x7f39a279b3ca in mozilla::layers::BasicLayerManager::EndTransactionInternal(void ()(mozilla::layers::PaintedLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) gfx/layers/basic/BasicLayerManager.cpp:528:5

SUMMARY: AddressSanitizer: heap-buffer-overflow ??:0 ?? Shadow bytes around the buggy address: 0x0fe7b167fa50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0fe7b167fa60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0fe7b167fa70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0fe7b167fa80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0fe7b167fa90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0fe7b167faa0: 00 00 00 00 00 00 00 00 00 00 00 00 00[07]fa fa 0x0fe7b167fab0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0fe7b167fac0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0fe7b167fad0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0fe7b167fae0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0fe7b167faf0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 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 right 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 Container overflow: fc Array cookie: ac ASan internal: fe ==16794==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 high-severity memory corruption bug in Graphics. Mozilla made it public on 25 January 2015 as CVE-2015-0827.

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.