Skip to content
DoS Disclosed report Advanced CVE-2020-26952

[warp] Assertion failure: !icScript_->hasInlinedChild(entry.pcOffset()), at jit/TrialInlining.cpp:358 with gc

Gary Kwong Follow

Originally disclosed on Mozilla

  • Fixed in 5 days
  • Paid in 9 days
  • Disclosed after 5 days
Text
'''js
Function.call.bind();
Function.call.bind();
Function.call.bind();
Function.call.bind();
Function.call.bind();
Function.call.bind();
Function.call.bind();
Function.call.bind();
gc();
oomTest(Function.call.bind);
'''

'''
(gdb) bt
#0  js::jit::TrialInliner::maybeInlineCall (this=0x7fffffffab70, entry=..., loc=...)
    at /home/skygentoo/trees/mozilla-central/js/src/jit/TrialInlining.cpp:358
#1  0x0000555557dc18ca in js::jit::TrialInliner::tryInlining (this=0x7fffffffab70) at /home/skygentoo/trees/mozilla-central/js/src/jit/TrialInlining.cpp:413
#2  0x0000555557dc15fb in js::jit::DoTrialInlining (cx=0x7ffff6927000, frame=0x7fffffffac40)
    at /home/skygentoo/trees/mozilla-central/js/src/jit/TrialInlining.cpp:62
#3  0x00003d28197eac35 in ?? ()
#4  0x0000000000002043 in ?? ()
#5  0x00007fffffffac00 in ?? ()
#6  0x0000555558d3da10 in js::jit::vmFunctions ()
#7  0x00003d2819860b11 in ?? ()
#8  0x0000000000007821 in ?? ()
#9  0x00007fffffffac40 in ?? ()
#10 0xfff9800000000000 in ?? ()
#11 0xfff9800000000000 in ?? ()
#12 0xfff9800000000000 in ?? ()
#13 0xfff9800000000000 in ?? ()
#14 0x0000007aba99d0b0 in ?? ()
#15 0x00007ffff63fa0a3 in ?? ()
#16 0x0000000000000000 in ?? ()
(gdb)
'''

'''
The first bad revision is:
changeset:   https://hg.mozilla.org/mozilla-central/rev/cfb6ef22174c
user:        Jan de Mooij
date:        Wed Sep 16 11:15:38 2020 +0000
summary:     Bug 1664786 part 4 - Set initial warm-up threshold for trial-inlined scripts. r=iain
'''

Run with `--fuzzing-safe --baseline-warmup-threshold=0 --ion-warmup-threshold=0 --cpu-count=2 --fast-warmup --warp`, compile with `AR=ar sh ./configure --enable-debug --enable-more-deterministic --with-ccache --enable-gczeal --enable-debug-symbols --disable-tests`, tested on m-c rev cb8232ebe212.

I doubt this is s-s since oomTest is here, but gc is involved, so I'll let Jan/other devs make the decision.

The original report as published on Mozilla's Bugzilla, by Gary Kwong. 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 doS bug in JavaScript Engine. Mozilla made it public on 2 October 2020 as CVE-2020-26952.

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.

More by Gary Kwong

View all

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

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.