Assertion failure: op == nextOperandId_, at jit/CacheIRWriter.h:365
Originally disclosed on Mozilla
- Fixed in 3 days
- Paid in 7 days
- Disclosed after 3 days
Created attachment 9411915
debug shell stack
'''
var x = {};
oomTest(function() {
Object();
for (let i = 0; i < 2; i++) {}
return Object;
});
'''
'''
(gdb) bt
#0 js::jit::CacheIRWriter::setInputOperandId (this=0x7fffffffc028, op=0) at /home/yksubu/trees/mozilla-central/js/src/jit/CacheIRWriter.h:365
#1 js::jit::CallIRGenerator::tryAttachCallNative (this=this@entry=0x7fffffffc028, calleeFunc=calleeFunc@entry=...) at /home/yksubu/trees/mozilla-central/js/src/jit/CacheIR.cpp:12289
#2 0x00005555581a9a91 in js::jit::CallIRGenerator::tryAttachStub (this=0x7fffffffc028) at /home/yksubu/trees/mozilla-central/js/src/jit/CacheIR.cpp:12552
#3 0x0000555557e99e88 in js::jit::DoCallFallback (cx=0x7ffff623bc00, frame=0x7fffffffc2f8, stub=0x7ffff609eb88, argc=0, vp=0x7fffffffc2a8, res=...) at /home/yksubu/trees/mozilla-central/js/src/jit/BaselineIC.cpp:1624
#4 0x000012b66bfc6a5f in ?? ()
#5 0xfff9800000000000 in ?? ()
/snip
'''
'''
The first bad revision is:
changeset: https://hg.mozilla.org/mozilla-central/rev/21bdccf015c9
user: Jon Coppeard
date: Mon Jun 17 08:39:34 2024 +0000
summary: Bug 1902308 - Part 3: Create an alloc site when inlining the object constructor r=jandem
'''
Run with `--fuzzing-safe --no-threads --no-ion --fast-warmup`, compile with `AR=ar sh ../configure --enable-debug --enable-debug-symbols --with-ccache --enable-nspr-build --enable-ctypes --enable-gczeal --enable-rust-simd --disable-tests`, tested on m-c rev 1316cd6c71f8.
Setting s-s to be safe. Jon, is bug 1902308 a likely regressor?
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 medium-severity doS bug in JavaScript Engine: JIT. Mozilla made it public on 12 July 2024.
About DoS
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.