Open Bug 2044539 Opened 5 months ago Updated 2 months ago

Crashes in [@ js::frontend::ParseNode::getKind] (likely bad hardware)

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

People

(Reporter: jesup, Unassigned)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

(Keywords: crash, topcrash)

Crash Data

Cloning into a sec bug, to avoid calling attention to it (though it may no longer be relevant).

Large numbers of wildptr/random addresses, and a few e5e5 UAF signatures -> Implies UAF reads

High up on the crasher list, various different stacks


Not a new signature, e.g. ~100 crashes for Firefox 106.0.x builds.

Crash report: https://crash-stats.mozilla.org/report/index/703b9a12-7f69-45cf-a26e-7f3dc0221119

Reason: EXCEPTION_ACCESS_VIOLATION_READ

Top 10 frames of crashing thread:

0  xul.dll  js::frontend::ParseNode::getKind const  js/src/frontend/ParseNode.h:746
0  xul.dll  js::frontend::RewritingParseNodeVisitor<FoldVisitor>::visit  js/src/frontend/ParseNodeVisitor.h:116
1  xul.dll  js::frontend::ListNode::accept  js/src/frontend/ParseNode.h:1234
1  xul.dll  js::frontend::RewritingParseNodeVisitor<FoldVisitor>::visitObjectExpr  js/src/frontend/ParseNodeVisitor.h:134
1  xul.dll  FoldVisitor::visitObjectExpr  js/src/frontend/FoldConstants.cpp:1553
1  xul.dll  js::frontend::RewritingParseNodeVisitor<FoldVisitor>::visit  js/src/frontend/ParseNodeVisitor.h:120
2  xul.dll  js::frontend::ListNode::accept  js/src/frontend/ParseNode.h:1234
2  xul.dll  js::frontend::RewritingParseNodeVisitor<FoldVisitor>::visitArguments  js/src/frontend/ParseNodeVisitor.h:134
2  xul.dll  js::frontend::RewritingParseNodeVisitor<FoldVisitor>::visit  js/src/frontend/ParseNodeVisitor.h:120
3  xul.dll  js::frontend::ListNode::accept  js/src/frontend/ParseNode.h:1230

I wouldn't spend too much time on this one unless we find a stack that looks like a honest-to-god UAF for several users on recent versions, and I couldn't find any. Out of last week 970 crashes a whopping 624 have the "Possible bit flips max confidence" field set to a non-zero value. Additionally eyeballing the hardware involved shows that the majority are old machines. This is pretty much guaranteed to be a crash caused by flaky memory.

Severity: -- → S3
Priority: -- → P3
Crash Signature: [@ js::frontend::ParseNode::getKind ]
Summary: Crash in [@ js::frontend::ParseNode::getKind] → UAF Crashes in [@ js::frontend::ParseNode::getKind]
Keywords: sec-audit

:gtonietto, could you consider increasing the severity of this top-crash bug?

For more information, please visit BugBot documentation.

Flags: needinfo?(gtonietto)

The bug is linked to a topcrash signature, which matches the following criteria:

  • Top 20 desktop browser crashes on release (startup)
  • Top 10 content process crashes on beta
  • Top 10 content process crashes on release

For more information, please visit BugBot documentation.

Severity: S3 → S2
Flags: needinfo?(gtonietto)

To reiterate what I mentioned in comment 5 the crashes here are obviously coming from machines with faulty memory. The stacks are all different and the bit-flip detector often finds pretty obvious bit-flips in the crashing addresses. This doesn't look like a security issue to me.

Based on the topcrash criteria, the crash signature linked to this bug is not a topcrash signature anymore.

For more information, please visit BugBot documentation.

(In reply to Gabriele Svelto [:gsvelto] from comment #5)

To reiterate what I mentioned in comment 5 the crashes here are obviously coming from machines with faulty memory. The stacks are all different and the bit-flip detector often finds pretty obvious bit-flips in the crashing addresses. This doesn't look like a security issue to me.

Opening this up.

Group: javascript-core-security
Keywords: sec-audit
Summary: UAF Crashes in [@ js::frontend::ParseNode::getKind] → Crashes in [@ js::frontend::ParseNode::getKind] (likely bad hardware)
You need to log in before you can comment on or make changes to this bug.