AddressSanitizer: SEGV or Crash [@ js::SetObject::trace] or Assertion failure: !arr->getDenseElement(i).isMagic(JS_ELEMENTS_HOLE), at vm/NativeObject-inl.h:855
Originally disclosed on Mozilla
- Fixed in 20 hours
- Paid in 28 days
- Disclosed after 20 hours
'''js
x = [];
Object.defineProperty(x, 17, {
configurable: true,
enumerable: true,
writable: true,
});
Object.defineProperty(this, "y", {
get: function () {
return x.slice();
}
});
y.shift();
'''
Compiled using GCC 9.3.0 and Clang 9 with:
`AR=ar sh ./configure --enable-debug --with-ccache --enable-gczeal --enable-debug-symbols --disable-tests`
Run with:
`--fuzzing-safe --no-threads --no-baseline --no-ion`
Tested on m-c rev bca48c382991..
'''
The first bad revision is:
changeset: https://hg.mozilla.org/mozilla-central/rev/f112125cab4d
user: Jan de Mooij
date: Tue Jul 14 07:02:11 2020 +0000
summary: Bug 1651645 part 9 - Add NON_PACKED flag to ObjectElements, use it in IsPackedArray. r=evilpie,anba
'''
Unsure if this is a bad assertion failure, deferring to :jandem. ASan opt builds don't show anything.
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 memory corruption bug in JavaScript Engine. Mozilla made it public on 15 July 2020.
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.