Closed Bug 1967046 Opened 1 year ago Closed 1 year ago

GPU process renders garbled text or crashes with USER_LIMITED access token level

Categories

(Core :: Security: Process Sandboxing, defect, P1)

Firefox 140
x86_64
Windows 10
defect

Tracking

()

RESOLVED FIXED
141 Branch
Tracking Status
firefox-esr140 --- fixed
firefox140 --- disabled
firefox141 --- fixed

People

(Reporter: amy, Assigned: bobowen)

References

Details

(Keywords: regression)

Attachments

(3 files)

Attached image Example garbled text

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0

Steps to reproduce:

Tried opening https://crash-stats.mozilla.org/report/index/f475359d-dc89-4d6c-b3c1-774180250517 for a crash I just had. Also tried opening the Bitwarden extension.

Actual results:

I get garbled text on the screen. In certain cases, the browser tab just crashes.

Expected results:

Text should be correctly rendered.

The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Product: Firefox → WebExtensions

These are the crashes I got: https://crash-stats.mozilla.org/report/index/d70baf42-db65-4fe8-9a03-44a8d0250517 and https://crash-stats.mozilla.org/report/index/f475359d-dc89-4d6c-b3c1-774180250517

Tried tracking down the topmost frame function, but the page https://hg-edge.mozilla.org/mozilla-central/file/61e8f954db8a1c59290a5763d09dc43e17d6c2f9/gfx/thebes/gfxPlatform.cpp#l387 renders as total garbage characters. From the looks of it, monospace fonts are destroyed, and serif fonts are rendered at least ignoring ligatures.

OS: Unspecified → Windows 10
Product: WebExtensions → Firefox
Hardware: Unspecified → x86_64

Based on the crashes, looks like the signature matches bug 1967071.

Component: Untriaged → Security: Process Sandboxing
Product: Firefox → Core

Workaround: setting security.sandbox.gpu.level back to 1 is enough to make the browser usable again.

Blocks: 1966716
Severity: -- → N/A
Assignee: nobody → bobowencode

This is down to the having user installed fonts.
We need a policy rule to give access to these.

Priority: -- → P1

The severity field is not set for this bug.
:gcp, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(gpascutto)

Marking as enhancement as this is caused by non-standard pref setting that will be fixed prior to re-landing.

Type: defect → enhancement
Flags: needinfo?(gpascutto)
Regressed by: 1966716
Type: enhancement → defect
Keywords: regression
See Also: → 1970678
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch

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

No longer blocks: 1966716

140 was fixed by backout of bug 1966716

(In reply to Mathew Hodson from comment #12)

140 was fixed by backout of bug 1966716

That removed the regression, but the actual issue was fixed (hopefully) by the patch in this bug in 141.

Blocks: 1966716
Summary: 140.0a1 renders garbled text or crashes → GPU process renders garbled text or crashes with USER_LIMITED access token level
See Also: → 1970126

Thunderbird ESR 140 experiences a regression (bug 1970126) that can be fixed by applying the patches from this bug plus another bug to mozilla-esr140 (bug 1967046 and bug 1967485).

Could you please uplift the patches to mozilla-esr140 ?

In case it is helpful, I have prepared uplift patches for the https://phabricator.services.mozilla.com/source/firefox-esr140/ GIT repo, they are attached to bug 1970126.

Attachment #9499454 - Flags: approval-mozilla-esr140?

(In reply to Mathew Hodson from comment #12)

140 was fixed by backout of bug 1966716

That backout that landed in both 140 and 140esr doesn't fix your issue?

Flags: needinfo?(kaie)
Attachment #9499454 - Flags: approval-mozilla-esr140? → approval-mozilla-esr140+
QA Whiteboard: [qa-triage-done-c142/b141]

(In reply to Pascal Chevrel:pascalc from comment #16)

(In reply to Mathew Hodson from comment #12)

140 was fixed by backout of bug 1966716

That backout that landed in both 140 and 140esr doesn't fix your issue?

We didn't need the backout. We rather need the patch to be present.
In the meantime it was landed, comment 17, and I believe that helped us.
Thanks

Flags: needinfo?(kaie)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: