Closed Bug 1941891 Opened 1 year ago Closed 1 year ago

Frequent unreliable use-after-poison reports

Categories

(Core :: JavaScript: GC, defect, P1)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1941876
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox134 --- unaffected
firefox135 --- unaffected
firefox136 --- fixed

People

(Reporter: tsmith, Unassigned)

References

(Blocks 2 open bugs, Regression)

Details

(4 keywords)

Attachments

(6 files)

Attached file hbo-01.txt

The browser fuzzers started frequent reporting unreproducible use-after-poison issues with m-c 20250108-810abd1d3a1b.

I've been waiting for the reducer to provide a good test case but no luck. I've also tried to get a rr trace for a Pernosco session but couldn't reproduce the issue.

In addition to the use-after-poisons I've also seen assertions and a heap-buffer-overflow.

All reports I've checked have javascript.options.mem.gc_zeal.mode a value of 19, 21, 22 or 23 so far.

Attached file uap-01.txt
Attached file uap-02.txt
Attached file uap-03.txt
Attached file uap-04.txt

The assertion has also shown up in automation.

See Also: → 1940433

mccr8 strongly suspects bug 1934856 based on symptoms and timing.

Has STR: --- → no
Regressed by: 1934856

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

:jonco, since you are the author of the regressor, bug 1934856, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(jcoppeard)

It's just possible this is the same issue as bug 1941876 as that can cause UAF, although the stacks are different so it's not that likely.

Any way of reproducing this would be great.

Blocks: GC.stability
Severity: -- → S2
Priority: -- → P1

After talking to others, I am making this S3. If this becomes sec-high then we move it back to S2.

Severity: S2 → S3

The fuzzers have stopped reporting this issue. The last report was from m-c 20250118-1c4cbc5b7ae6.

Thanks for checking. That more or less aligns with comment 9, so I'll dupe it over.

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1941876
Resolution: --- → DUPLICATE
Flags: needinfo?(jcoppeard)
Group: javascript-core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: