Closed Bug 1782674 Opened 1 year ago Closed 1 year ago

Add missing mDestroyed checks to WebRenderBridgeParent

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox-esr102 --- wontfix
firefox103 --- wontfix
firefox104 --- wontfix
firefox105 --- fixed

People

(Reporter: decoder, Assigned: decoder)

Details

(Keywords: sec-other, Whiteboard: [adv-main105-])

Attachments

(1 file)

The WebRenderBridgeParent has a few methods that seem to miss the checks for mDestroyed before using members of the class. In fuzzing, this showed up as several nullptr derefs because WebRenderBridgeParent::ClearResources (called by Destroy) nulls out most of the member pointers.

I haven't seen exploitable crashes and all the places I am fixing are using a nulled pointer, so I think this is not s-s (but keeping locked with the rest of the IPC bugs).

Group: dom-core-security → gfx-core-security
Group: gfx-core-security → core-security-release
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
QA Whiteboard: [post-critsmash-triage]
Flags: qe-verify-
Whiteboard: [adv-main105-]
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.