Skip to content
Memory corruption Disclosed report Advanced CVE-2021-23994

webgl OOBW in drawbuffers

A WebGL framebuffer state bug in Firefox's ANGLE layer caused an out-of-bounds write when drawBuffers() was called after deleteFramebuffer(), because the draw-buffer state array was shrunk but the fill loop still used a stale index. An attacker could trigger a browser crash and potentially memory corruption by loading a crafted page.

Omair Follow

Originally disclosed on Mozilla

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

Created attachment 9209694 drawbuffers-fill-memset-poc.html

##Crash Environment: Firefox Nightly : 88.0a1 (2021-03-16) (64-bit)

##Crash Analysis: Crash occurs in VCRUNTIME140!memset+0xd0 at the following instruction:

movntps xmmword ptr [rcx],xmm0

Further analyzing the crash from PoC we can confirm that the crash occurs while executing drawBuffers() function after calling deleteFramebuffer() function. When debugging the PoC, at the start of libGLESv2!gl::Framebuffer::setDrawBuffers function the values for mDrawBufferStates and mReadBufferState is 0x405. Whereas when we remove deleteFramebuffer call from the PoC the states value is 0x8ce0 for both mDrawBufferStates and mReadBufferState.

From the debugger we can see that the value at gl context + 120h stores the pointer for the start of mDrawBuffer and context + 128h contains the end pointer of mDrawBuffer. In case of PoC the difference between the start and end is 4 bytes whereas the difference when not using deleteFramebuffer in PoC is 32 bytes.

Thus, when executing the function std::fill we see the following assembly instructions:

  18004c18f 48 8b 87 20 01 00 00           MOV        RAX,qword ptr [RDI + 0x120]
  18004c196 48 8b 97 28 01 00 00           MOV        RDX,qword ptr [RDI + 0x128]
  18004c19d 4a 8d 0c b8                    LEA        RCX,[RAX + R15*0x4]
  18004c1a1 48 39 d1                       CMP        RCX,RDX
  18004c1a4 74 1c                          JZ         libGLESv2!gl::Framebuffer::setDrawBuffers+0x72
  18004c1a6 4c 89 fd                       MOV        RBP,R15
  18004c1a9 48 f7 d5                       NOT        RBP
  18004c1ac 4c 8d 04 aa                    LEA        R8,[param_1 + RBP*0x4]
  18004c1b0 49 29 c0                       SUB        R8,RAX
  18004c1b3 49 83 c0 04                    ADD        R8,0x4
  18004c1b7 49 83 e0 fc                    AND        R8,-0x4
  18004c1bb 31 d2                          XOR        EDX,EDX
  18004c1bd e8 1e 13                       CALL       libGLESV2!memset                                           

In the second instruction rdx is loaded with end pointer for the mDrawBufferStates and in third instruction rcx is loaded with start pointer for mDrawBufferStates + 8 * 4. Now rcx points to start of mDrawBufferStates +20h whereas rdx points to end of mDrwaBufferStates which is start + 04h. After the cmp instruction program does not jump and continues till memset call. Just before memset call we calculate r8 to contain 0xffffffffffffe4, this huge unsigned value is passed as the count parameter to memset and thus leads to Out of Bounds Write.

##Registry Values at Crash:

2:042> r
rax=0000025dc3b35b50 rbx=0000025dc3b56000 rcx=0000025dc3bff000
rdx=0000000000000000 rsi=0000025dc3b56000 rdi=0000025dc3b8c400
rip=00007ffe1f5017d0 rsp=000000b1ee10ea78 rbp=fffffffffffffff7
 r8=ffffffffffffffd4  r9=01ffffffffffe6d6 r10=0000025dc21fbe20
r11=0000025dc3b35b70 r12=0000025dc3b485a0 r13=0000000000000000
r14=0000000000000000 r15=0000000000000008
iopl=0         nv up ei pl nz na pe nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202
VCRUNTIME140!memset+0xd0:
00007ffe`1f5017d0 0f2b01          movntps xmmword ptr [rcx],xmm0 ds:0000025d`c3bff000=????????????????????????????????

##Call Stack:

2:042> k
 # Child-SP          RetAddr               Call Site
00 000000b1`ee10ea78 00007ffd`e452c1c2     VCRUNTIME140!memset+0xd0 [d:\agent\_work\2\s\src\vctools\crt\vcruntime\src\string\amd64\memset.asm @ 196] 
01 (Inline Function) --------`--------     libGLESv2!std::_Fill_unchecked1+0x21 [/builds/worker/checkouts/gecko/vs2017_15.8.4/VC/include/xutility @ 2903] 
02 (Inline Function) --------`--------     libGLESv2!std::_Fill_unchecked+0x21 [/builds/worker/checkouts/gecko/vs2017_15.8.4/VC/include/xutility @ 2917] 
03 (Inline Function) --------`--------     libGLESv2!std::fill+0x21 [/builds/worker/checkouts/gecko/vs2017_15.8.4/VC/include/xutility @ 2925] 
04 000000b1`ee10ea80 00007ffd`e4504d17     libGLESv2!gl::Framebuffer::setDrawBuffers+0x72 [/builds/worker/checkouts/gecko/gfx/angle/checkout/src/libANGLE/Framebuffer.cpp @ 946] 
05 000000b1`ee10eb00 00007ffd`e4700f81     libGLESv2!gl::Context::drawBuffers+0x17 [/builds/worker/checkouts/gecko/gfx/angle/checkout/src/libANGLE/Context.cpp @ 4378] 
06 000000b1`ee10eb30 00007ffd`d788f9b1     libGLESv2!gl::DrawBuffers+0x81 [/builds/worker/checkouts/gecko/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_0_autogen.cpp @ 685] 
07 000000b1`ee10eb80 00007ffd`d788fae1     xul!mozilla::gl::GLContext::fDrawBuffers+0x31 [/builds/worker/checkouts/gecko/gfx/gl/GLContext.h @ 2437] 
08 000000b1`ee10ebc0 00007ffd`d788fce8     xul!mozilla::WebGLFramebuffer::RefreshDrawBuffers+0x101 [/builds/worker/checkouts/gecko/dom/canvas/WebGLFramebuffer.cpp @ 1075] 
09 000000b1`ee10ec30 00007ffd`d787d9bb     xul!mozilla::WebGLFramebuffer::DrawBuffers+0x138 [/builds/worker/checkouts/gecko/dom/canvas/WebGLFramebuffer.cpp @ 1144] 
0a 000000b1`ee10ecd0 00007ffd`d7895154     xul!mozilla::WebGLContext::DrawBuffers+0x6b [/builds/worker/checkouts/gecko/dom/canvas/WebGLContextFramebufferOperations.cpp @ 148] 
0b (Inline Function) --------`--------     xul!mozilla::HostWebGLContext::DrawBuffers+0x11 [/builds/worker/checkouts/gecko/dom/canvas/HostWebGLContext.h @ 729] 
0c (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,98,void (mozilla::HostWebGLContext::*)(const std::vector<unsigned int,std::allocator<unsigned int> > &) const,&mozilla::HostWebGLContext::DrawBuffers>::DispatchCommand<mozilla::HostWebGLContext>::<unnamed-tag>::operator()+0x1a [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 231] 
0d (Inline Function) --------`--------     xul!std::_C__Invoker_functor::_Call+0x1a [/builds/worker/checkouts/gecko/vs2017_15.8.4/VC/include/type_traits @ 16707566] 
0e (Inline Function) --------`--------     xul!std::_C_invoke+0x1a [/builds/worker/checkouts/gecko/vs2017_15.8.4/VC/include/type_traits @ 16707566] 
0f (Inline Function) --------`--------     xul!std::_Apply_impl+0x1a [/builds/worker/checkouts/gecko/vs2017_15.8.4/VC/include/tuple @ 1233] 
10 (Inline Function) --------`--------     xul!std::apply+0x1a [/builds/worker/checkouts/gecko/vs2017_15.8.4/VC/include/tuple @ 1241] 
11 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,98,void (mozilla::HostWebGLContext::*)(const std::vector<unsigned int,std::allocator<unsigned int> > &) const,&mozilla::HostWebGLContext::DrawBuffers>::DispatchCommand+0x2105 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 228] 
12 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,97,void (mozilla::HostWebGLContext::*)(unsigned long long, const std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > &, unsigned int) const,&mozilla::HostWebGLContext::TransformFeedbackVaryings>::DispatchCommand+0x2105 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
13 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,96,void (mozilla::HostWebGLContext::*)() const,&mozilla::HostWebGLContext::ResumeTransformFeedback>::DispatchCommand+0x2112 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
14 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,95,void (mozilla::HostWebGLContext::*)() const,&mozilla::HostWebGLContext::PauseTransformFeedback>::DispatchCommand+0x2112 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
15 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,94,void (mozilla::HostWebGLContext::*)() const,&mozilla::HostWebGLContext::EndTransformFeedback>::DispatchCommand+0x2112 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
16 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,93,void (mozilla::HostWebGLContext::*)(unsigned int) const,&mozilla::HostWebGLContext::BeginTransformFeedback>::DispatchCommand+0x2157 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
17 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,92,void (mozilla::HostWebGLContext::*)(unsigned long long) const,&mozilla::HostWebGLContext::BindTransformFeedback>::DispatchCommand+0x2157 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
18 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,91,void (mozilla::HostWebGLContext::*)(unsigned long long, unsigned int, float) const,&mozilla::HostWebGLContext::SamplerParameterf>::DispatchCommand+0x2157 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
19 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,90,void (mozilla::HostWebGLContext::*)(unsigned long long, unsigned int, int) const,&mozilla::HostWebGLContext::SamplerParameteri>::DispatchCommand+0x2222 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
1a (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,89,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned long long) const,&mozilla::HostWebGLContext::BindSampler>::DispatchCommand+0x2222 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
1b (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,88,void (mozilla::HostWebGLContext::*)(const mozilla::webgl::ReadPixelsDesc &, unsigned long long) const,&mozilla::HostWebGLContext::ReadPixelsPbo>::DispatchCommand+0x2222 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
1c (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,87,void (mozilla::HostWebGLContext::*)(unsigned int, int, float, int) const,&mozilla::HostWebGLContext::ClearBufferfi>::DispatchCommand+0x2222 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
1d (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,86,void (mozilla::HostWebGLContext::*)(unsigned int, int, const mozilla::webgl::TypedQuad &) const,&mozilla::HostWebGLContext::ClearBufferTv>::DispatchCommand+0x2338 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
1e (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,85,void (mozilla::HostWebGLContext::*)(unsigned int, const mozilla::webgl::VertAttribPointerDesc &) const,&mozilla::HostWebGLContext::VertexAttribPointer>::DispatchCommand+0x2338 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
1f (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,84,void (mozilla::HostWebGLContext::*)(unsigned int) const,&mozilla::HostWebGLContext::DisableVertexAttribArray>::DispatchCommand+0x2338 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
20 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,83,void (mozilla::HostWebGLContext::*)(unsigned int) const,&mozilla::HostWebGLContext::EnableVertexAttribArray>::DispatchCommand+0x2338 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
21 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,82,void (mozilla::HostWebGLContext::*)(unsigned long long, unsigned int, unsigned int) const,&mozilla::HostWebGLContext::UniformBlockBinding>::DispatchCommand+0x2338 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
22 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,81,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int) const,&mozilla::HostWebGLContext::VertexAttribDivisor>::DispatchCommand+0x2338 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
23 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,80,void (mozilla::HostWebGLContext::*)(unsigned int, const mozilla::webgl::TypedQuad &) const,&mozilla::HostWebGLContext::VertexAttrib4T>::DispatchCommand+0x2400 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
24 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,79,void (mozilla::HostWebGLContext::*)(unsigned int, bool, const mozilla::RawBuffer<unsigned char> &) const,&mozilla::HostWebGLContext::UniformData>::DispatchCommand+0x2400 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
25 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,78,void (mozilla::HostWebGLContext::*)(unsigned long long) const,&mozilla::HostWebGLContext::UseProgram>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
26 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,77,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int, const mozilla::FloatOrInt &) const,&mozilla::HostWebGLContext::TexParameter_base>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
27 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,76,void (mozilla::HostWebGLContext::*)(bool, unsigned int, unsigned int, unsigned int, const mozilla::avec3<unsigned int> &, const mozilla::avec3<unsigned int> &, const mozilla::RawBuffer<unsigned char> &, unsigned int, const mozilla::Maybe<unsigned long long> &) const,&mozilla::HostWebGLContext::CompressedTexImage>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
28 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,75,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int, const mozilla::avec3<unsigned int> &, const mozilla::webgl::PackingInfo &, const mozilla::webgl::TexUnpackBlobDesc &) const,&mozilla::HostWebGLContext::TexImage>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
29 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,74,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int, unsigned int, const mozilla::avec3<unsigned int> &) const,&mozilla::HostWebGLContext::TexStorage>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
2a (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,73,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int, unsigned int, const mozilla::avec3<unsigned int> &, const mozilla::avec2<int> &, const mozilla::avec2<unsigned int> &) const,&mozilla::HostWebGLContext::CopyTexImage>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
2b (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,72,void (mozilla::HostWebGLContext::*)(unsigned int) const,&mozilla::HostWebGLContext::GenerateMipmap>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
2c (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,71,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned long long) const,&mozilla::HostWebGLContext::BindTexture>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
2d (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,70,void (mozilla::HostWebGLContext::*)(unsigned int) const,&mozilla::HostWebGLContext::ActiveTexture>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
2e (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,69,void (mozilla::HostWebGLContext::*)(unsigned long long, unsigned int, unsigned int, unsigned int, unsigned int) const,&mozilla::HostWebGLContext::RenderbufferStorageMultisample>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
2f (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,68,void (mozilla::HostWebGLContext::*)(unsigned int) const,&mozilla::HostWebGLContext::ReadBuffer>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
30 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,67,void (mozilla::HostWebGLContext::*)(unsigned int, const mozilla::RawBuffer<const unsigned int> &, int, int, int, int) const,&mozilla::HostWebGLContext::InvalidateSubFramebuffer>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
31 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,66,void (mozilla::HostWebGLContext::*)(unsigned int, const mozilla::RawBuffer<const unsigned int> &) const,&mozilla::HostWebGLContext::InvalidateFramebuffer>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
32 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,65,void (mozilla::HostWebGLContext::*)(int, int, int, int, int, int, int, int, unsigned int, unsigned int) const,&mozilla::HostWebGLContext::BlitFramebuffer>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
33 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,64,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned long long, const mozilla::RawBuffer<unsigned char> &) const,&mozilla::HostWebGLContext::BufferSubData>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
34 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,63,void (mozilla::HostWebGLContext::*)(unsigned int, const mozilla::RawBuffer<unsigned char> &, unsigned int) const,&mozilla::HostWebGLContext::BufferData>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
35 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,62,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int, unsigned long long, unsigned long long, unsigned long long) const,&mozilla::HostWebGLContext::CopyBufferSubData>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
36 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,61,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int, unsigned long long, unsigned long long, unsigned long long) const,&mozilla::HostWebGLContext::BindBufferRange>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
37 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,60,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned long long) const,&mozilla::HostWebGLContext::BindBuffer>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
38 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,59,void (mozilla::HostWebGLContext::*)(int, int, int, int) const,&mozilla::HostWebGLContext::Viewport>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
39 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,58,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int, unsigned int, unsigned int) const,&mozilla::HostWebGLContext::StencilOpSeparate>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
3a (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,57,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int) const,&mozilla::HostWebGLContext::StencilMaskSeparate>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
3b (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,56,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int, int, unsigned int) const,&mozilla::HostWebGLContext::StencilFuncSeparate>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
3c (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,55,void (mozilla::HostWebGLContext::*)(unsigned long long, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > &) const,&mozilla::HostWebGLContext::ShaderSource>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
3d (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,54,void (mozilla::HostWebGLContext::*)(int, int, int, int) const,&mozilla::HostWebGLContext::Scissor>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
3e (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,53,void (mozilla::HostWebGLContext::*)(float, bool) const,&mozilla::HostWebGLContext::SampleCoverage>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
3f (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,52,void (mozilla::HostWebGLContext::*)(unsigned long long, mozilla::layers::TextureType, bool) const,&mozilla::HostWebGLContext::Present>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
40 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,51,void (mozilla::HostWebGLContext::*)(float, float) const,&mozilla::HostWebGLContext::PolygonOffset>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
41 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,50,void (mozilla::HostWebGLContext::*)(unsigned long long) const,&mozilla::HostWebGLContext::LinkProgram>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
42 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,49,void (mozilla::HostWebGLContext::*)(float) const,&mozilla::HostWebGLContext::LineWidth>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
43 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,48,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int) const,&mozilla::HostWebGLContext::Hint>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
44 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,47,void (mozilla::HostWebGLContext::*)(unsigned int) const,&mozilla::HostWebGLContext::FrontFace>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
45 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,46,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int, unsigned int, unsigned long long, int, int, int) const,&mozilla::HostWebGLContext::FramebufferAttach>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
46 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,45,void (mozilla::HostWebGLContext::*)() const,&mozilla::HostWebGLContext::Flush>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
47 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,44,void (mozilla::HostWebGLContext::*)(unsigned long long, unsigned long long) const,&mozilla::HostWebGLContext::DetachShader>::DispatchCommand+0x2463 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
48 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,43,void (mozilla::HostWebGLContext::*)(float, float) const,&mozilla::HostWebGLContext::DepthRange>::DispatchCommand+0x2ed4 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
49 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,42,void (mozilla::HostWebGLContext::*)(bool) const,&mozilla::HostWebGLContext::DepthMask>::DispatchCommand+0x2ed4 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
4a (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,41,void (mozilla::HostWebGLContext::*)(unsigned int) const,&mozilla::HostWebGLContext::DepthFunc>::DispatchCommand+0x34a9 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
4b (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,40,void (mozilla::HostWebGLContext::*)(unsigned int) const,&mozilla::HostWebGLContext::CullFace>::DispatchCommand+0x34a9 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
4c (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,39,void (mozilla::HostWebGLContext::*)(unsigned long long) const,&mozilla::HostWebGLContext::CompileShader>::DispatchCommand+0x354a [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
4d (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,38,void (mozilla::HostWebGLContext::*)(bool, bool, bool, bool) const,&mozilla::HostWebGLContext::ColorMask>::DispatchCommand+0x354a [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
4e (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,37,void (mozilla::HostWebGLContext::*)(int) const,&mozilla::HostWebGLContext::ClearStencil>::DispatchCommand+0x354a [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
4f (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,36,void (mozilla::HostWebGLContext::*)(float) const,&mozilla::HostWebGLContext::ClearDepth>::DispatchCommand+0x3592 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
50 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,35,void (mozilla::HostWebGLContext::*)(float, float, float, float) const,&mozilla::HostWebGLContext::ClearColor>::DispatchCommand+0x3592 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
51 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,34,void (mozilla::HostWebGLContext::*)(unsigned int) const,&mozilla::HostWebGLContext::Clear>::DispatchCommand+0x3592 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
52 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,33,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int, unsigned int, unsigned int) const,&mozilla::HostWebGLContext::BlendFuncSeparate>::DispatchCommand+0x3592 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
53 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,32,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned int) const,&mozilla::HostWebGLContext::BlendEquationSeparate>::DispatchCommand+0x3592 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
54 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,31,void (mozilla::HostWebGLContext::*)(float, float, float, float) const,&mozilla::HostWebGLContext::BlendColor>::DispatchCommand+0x3592 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
55 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,30,void (mozilla::HostWebGLContext::*)(unsigned int, unsigned long long) const,&mozilla::HostWebGLContext::BindFramebuffer>::DispatchCommand+0x3592 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
56 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,29,void (mozilla::HostWebGLContext::*)(unsigned long long, unsigned int, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > &) const,&mozilla::HostWebGLContext::BindAttribLocation>::DispatchCommand+0x3592 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
57 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,28,void (mozilla::HostWebGLContext::*)(unsigned long long, unsigned long long) const,&mozilla::HostWebGLContext::AttachShader>::DispatchCommand+0x3592 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
58 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,27,void (mozilla::HostWebGLContext::*)(),&mozilla::HostWebGLContext::DidRefresh>::DispatchCommand+0x3592 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
59 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,26,void (mozilla::HostWebGLContext::*)(mozilla::WebGLExtensionID),&mozilla::HostWebGLContext::RequestExtension>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
5a (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,25,void (mozilla::HostWebGLContext::*)(const mozilla::avec2<unsigned int> &),&mozilla::HostWebGLContext::Resize>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
5b (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,24,void (mozilla::HostWebGLContext::*)(unsigned int, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > &) const,&mozilla::HostWebGLContext::GenerateError>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
5c (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,23,void (mozilla::HostWebGLContext::*)(unsigned int) const,&mozilla::HostWebGLContext::Enable>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
5d (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,22,void (mozilla::HostWebGLContext::*)(unsigned int) const,&mozilla::HostWebGLContext::Disable>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
5e (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,21,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::DeleteVertexArray>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
5f (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,20,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::DeleteTransformFeedback>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
60 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,19,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::DeleteTexture>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
61 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,18,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::DeleteSync>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
62 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,17,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::DeleteShader>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
63 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,16,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::DeleteSampler>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
64 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,15,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::DeleteRenderbuffer>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
65 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,14,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::DeleteQuery>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
66 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,13,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::DeleteProgram>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
67 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,12,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::DeleteFramebuffer>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
68 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,11,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::DeleteBuffer>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
69 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,10,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::CreateVertexArray>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
6a (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,9,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::CreateTransformFeedback>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
6b (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,8,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::CreateTexture>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
6c (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,7,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::CreateSync>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
6d (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,6,void (mozilla::HostWebGLContext::*)(unsigned long long, unsigned int),&mozilla::HostWebGLContext::CreateShader>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
6e (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,5,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::CreateSampler>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
6f (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,4,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::CreateRenderbuffer>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
70 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,3,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::CreateQuery>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
71 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,2,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::CreateProgram>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
72 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,1,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::CreateFramebuffer>::DispatchCommand+0x3699 [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
73 (Inline Function) --------`--------     xul!mozilla::MethodDispatcher<WebGLMethodDispatcher,0,void (mozilla::HostWebGLContext::*)(unsigned long long),&mozilla::HostWebGLContext::CreateBuffer>::DispatchCommand+0x36ac [/builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h @ 236] 
74 000000b1`ee10ed30 00007ffd`d695fad6     xul!mozilla::dom::WebGLParent::RecvDispatchCommands+0x3804 [/builds/worker/checkouts/gecko/dom/canvas/WebGLParent.cpp @ 59] 
75 000000b1`ee10efd0 00007ffd`d5ac1495     xul!mozilla::dom::PWebGLParent::OnMessageReceived+0x306 [/builds/worker/workspace/obj-build/ipc/ipdl/PWebGLParent.cpp @ 201] 
76 000000b1`ee10f0a0 00007ffd`d6757694     xul!mozilla::layers::PCompositorManagerParent::OnMessageReceived+0x65 [/builds/worker/workspace/obj-build/ipc/ipdl/PCompositorManagerParent.cpp @ 205] 
77 (Inline Function) --------`--------     xul!mozilla::ipc::MessageChannel::DispatchAsyncMessage+0x71 [/builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp @ 2157] 
78 000000b1`ee10f1b0 00007ffd`d5729c7d     xul!mozilla::ipc::MessageChannel::DispatchMessage+0x404 [/builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp @ 2081] 
79 (Inline Function) --------`--------     xul!mozilla::ipc::MessageChannel::RunMessage+0xe7 [/builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp @ 1929] 
7a 000000b1`ee10f540 00007ffd`d555430f     xul!mozilla::ipc::MessageChannel::MessageTask::Run+0x16d [/builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp @ 1962] 
7b 000000b1`ee10f5d0 00007ffd`d5552b0f     xul!nsThread::ProcessNextEvent+0x141f [/builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp @ 1153] 
7c (Inline Function) --------`--------     xul!NS_ProcessNextEvent+0x28 [/builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp @ 548] 
7d 000000b1`ee10f960 00007ffd`d6730b4f     xul!mozilla::ipc::MessagePumpForNonMainThreads::Run+0xef [/builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp @ 302] 
7e (Inline Function) --------`--------     xul!MessageLoop::RunInternal+0x16 [/builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc @ 335] 
7f 000000b1`ee10fa00 00007ffd`d55529de     xul!MessageLoop::RunHandler+0x2f [/builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc @ 329] 
80 000000b1`ee10fa50 00007ffd`d62cae47     xul!MessageLoop::Run+0x4e [/builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc @ 311] 
81 000000b1`ee10fab0 00007ffe`2dc46d5a     xul!nsThread::ThreadFunc+0xe7 [/builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp @ 393] 
82 000000b1`ee10fc60 00007ffe`2dc3a471     nss3!_PR_NativeRunThread+0x14a [/builds/worker/checkouts/gecko/nsprpub/pr/src/threads/combined/pruthr.c @ 421] 
83 000000b1`ee10fce0 00007ffe`5ddf1bb2     nss3!pr_root+0x11 [/builds/worker/checkouts/gecko/nsprpub/pr/src/md/windows/w95thred.c @ 140] 
84 000000b1`ee10fd10 00007ffe`5fff7034     ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x42
85 000000b1`ee10fd40 00007ffe`32ea0e58     KERNEL32!BaseThreadInitThunk+0x14
86 (Inline Function) --------`--------     mozglue!mozilla::interceptor::FuncHook<mozilla::interceptor::WindowsDllInterceptor<mozilla::interceptor::VMSharingPolicyShared>,void (*)(int, void *, void *)>::operator()+0x15 [/builds/worker/workspace/obj-build/dist/include/nsWindowsDllInterceptor.h @ 150] 
87 000000b1`ee10fd70 00007ffe`606e2651     mozglue!patched_BaseThreadInitThunk+0x28 [/builds/worker/checkouts/gecko/mozglue/dllservices/WindowsDllBlocklist.cpp @ 588] 
88 000000b1`ee10fde0 00000000`00000000     ntdll!RtlUserThreadStart+0x21

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

Root cause

Likely the draw-buffer state array was resized on framebuffer deletion but the fill loop still used the old draw-buffer count, so the computed length underflowed and memset wrote far out of bounds.

Impact

The out-of-bounds write could crash the browser and may allow memory corruption, though the report only demonstrates a crash.

What the attacker needed

Victim visits a crafted web page; WebGL enabled in Firefox Nightly

How it was found

  1. Create a WebGL framebuffer and set its draw buffers.
  2. Delete the framebuffer.
  3. Call drawBuffers() again on the now-stale state.
  4. Observe the crash in memset during the fill of the draw-buffer array.

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.

WebGL lets web pages draw 3D graphics using the graphics card. Firefox passes these drawing commands to a helper library, which keeps small lists of settings in memory. A mistake meant that after one list was deleted, a later command still wrote past the end of a much smaller list, corrupting memory and crashing the browser.

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 Omair

View all

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