Open Bug 1900525 Opened 1 month ago Updated 17 days ago

Assertion failure: inputSizeChecked.isValid(), at mfbt/Compression.cpp:25

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox126 --- wontfix
firefox127 --- wontfix
firefox128 --- wontfix
firefox129 --- fix-optional

People

(Reporter: nils.bars, Unassigned)

References

(Blocks 2 open bugs, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:

Steps to reproduce:

Checkout commit d9496bfef09039b2642da45585ca821c36917c6d and invoke the js shell as follows:

./js-spidermonkey-shell --fast-warmup --fuzzing-safe input_size_checked_01.js

Actual results:

Assertion failure: inputSizeChecked.isValid(), at mfbt/Compression.cpp:25
Group: firefox-core-security → core-security
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Version: Firefox 125 → Trunk

This looks like a problem with the compressLZ4 shell function. We probably need to ensure the size doesn't overflow INT32_MAX. Not security-sensitive if it only affects the shell function.

Flags: needinfo?(bvisness)
Keywords: regression
Regressed by: 1856635
Status: UNCONFIRMED → NEW
Ever confirmed: true

Set release status flags based on info from the regressing bug 1856635

See Also: → 1898572
Group: core-security → javascript-core-security
Blocks: sm-shell
Severity: -- → S4
Priority: -- → P3
Attachment #9405436 - Attachment mime type: application/x-javascript → application/text-plain
Attachment #9405436 - Attachment mime type: application/text-plain → text/plain

This only affects the JS shell and therefore is not a security issue.

Flags: needinfo?(bvisness)
Group: javascript-core-security

Set release status flags based on info from the regressing bug 1856635

Blocks: 1903968
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: