Skip to content

fix: don't crash if guest destroyed in select-usb-device handler - #53940

Merged
jkleinsc merged 2 commits into
mainfrom
fix/select-usb-device-ub
Sep 16, 2026
Merged

jkleinsc merged 2 commits into
mainfrom
fix/select-usb-device-ub

Conversation

@dsanders11

@dsanders11 dsanders11 commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Description of Change

Same change as select-hid-device received in #53258.

Checklist

Release Notes

Notes: Fixed a potential UAF when a select-usb-device handler destroys the requesting webContents.

@release-clerk

release-clerk Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Release note looks good now.

@dsanders11 dsanders11 changed the title test: add test for guest destruction in select-usb-device handler fix: don't crash if guest destroyed in select-usb-device handler Sep 15, 2026
@dsanders11 dsanders11 added target/43-x-y PR should also be added to the "43-x-y" branch. target/44-x-y PR should also be added to the "44-x-y" branch. target/45-x-y PR should also be added to the "45-x-y" branch. labels Sep 16, 2026
@dsanders11
dsanders11 marked this pull request as ready for review September 16, 2026 06:50
@jkleinsc
jkleinsc merged commit c28f054 into main Sep 16, 2026
99 checks passed
@release-clerk

release-clerk Bot commented Sep 16, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed a potential UAF when a select-usb-device handler destroys the requesting webContents.

@trop

trop Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "43-x-y", please check out #54007

@trop trop Bot removed the target/43-x-y PR should also be added to the "43-x-y" branch. label Sep 16, 2026
@trop

trop Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "45-x-y", please check out #54008

@trop

trop Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "44-x-y", please check out #54009

@trop trop Bot added in-flight/45-x-y in-flight/44-x-y merged/45-x-y PR was merged to the "45-x-y" branch. merged/44-x-y PR was merged to the "44-x-y" branch. and removed target/45-x-y PR should also be added to the "45-x-y" branch. target/44-x-y PR should also be added to the "44-x-y" branch. in-flight/45-x-y in-flight/44-x-y labels Sep 16, 2026
@trop trop Bot added merged/43-x-y PR was merged to the "43-x-y" branch. and removed in-flight/43-x-y labels Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

46-x-y merged/43-x-y PR was merged to the "43-x-y" branch. merged/44-x-y PR was merged to the "44-x-y" branch. merged/45-x-y PR was merged to the "45-x-y" branch. semver/none

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants