global-buffer-overflow (write) at BufferSubData
- Fixed in 2 months
- Paid in 2 months
- Disclosed after 2 months
Created attachment 8681678
ff-bofw-glbounds.html
The attached page triggers a global buffer overflow write. This happens every time at least on a freshly installed Debian machine using a recent tindebox build. Not tested on other machines or display drivers yet.
==4966==ERROR: AddressSanitizer: global-buffer-overflow on address 0x7fc0d209890f at pc 0x7fc0c8efdd95 bp 0x7fff3db96cb0 sp 0x7fff3db96ca8
WRITE of size 31337 at 0x7fc0d209890f thread T0 (Web Content)
#0 0x7fc0c8efdd94 in BufferSubData /builds/slave/m-cen-l64-asan-000000000000000/build/src/dom/canvas/WebGLElementArrayCache.cpp:492
#1 0x7fc0c8efdd94 in ?? ??:0
#2 0x7fc0c8e73e45 in BufferSubDataT<mozilla::dom::ArrayBufferView_base<&js::UnwrapArrayBufferView, &js::GetArrayBufferViewLengthAndData, &JS_GetArrayBufferViewType> > /builds/slave/m-cen-l64-asan-000000000000000/build/src/dom/canvas/WebGLContextBuffers.cpp:313
#3 0x7fc0c8e73e45 in ?? ??:0
#4 0x7fc0c840d310 in bufferSubData /builds/slave/m-cen-l64-asan-000000000000000/build/src/obj-firefox/dom/bindings/./WebGLRenderingContextBinding.cpp:10849
#5 0x7fc0c840d310 in ?? ??:0
#6 0x7fc0c8d2e637 in GenericBindingMethod /builds/slave/m-cen-l64-asan-000000000000000/build/src/dom/bindings/BindingUtils.cpp:2691
#7 0x7fc0c8d2e637 in ?? ??:0
#8 0x7fc0ce3694db in CallJSNative /builds/slave/m-cen-l64-asan-000000000000000/build/src/js/src/jscntxtinlines.h:235
#9 0x7fc0ce3694db in Invoke /builds/slave/m-cen-l64-asan-000000000000000/build/src/js/src/vm/Interpreter.cpp:772
#10 0x7fc0ce3694db in ?? ??:0
[...]
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 Graphics: CanvasWebGL. Mozilla made it public on 2 January 2016 as CVE-2016-1935.
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.