Fix potential UAF in MediaStreamTrackImpl [chromium/src : main]

0 views
Skip to first unread message

Evan Liu (Gerrit)

unread,
Jul 7, 2025, 8:38:26 PM7/7/25
to Olga Sharonova, chromium...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, kinuko...@chromium.org, tommyw+w...@chromium.org
Attention needed from Olga Sharonova

Evan Liu voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Olga Sharonova
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I453160a8eed7926e2cc3500260de04d2722c98e1
Gerrit-Change-Number: 6712212
Gerrit-PatchSet: 2
Gerrit-Owner: Evan Liu <ev...@google.com>
Gerrit-Reviewer: Evan Liu <ev...@google.com>
Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
Gerrit-Attention: Olga Sharonova <ol...@chromium.org>
Gerrit-Comment-Date: Tue, 08 Jul 2025 00:38:17 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Mark Foltz (Gerrit)

unread,
Jul 10, 2025, 8:18:38 PM7/10/25
to Evan Liu, Mark Foltz, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, kinuko...@chromium.org, tommyw+w...@chromium.org
Attention needed from Evan Liu

Mark Foltz voted and added 1 comment

Votes added by Mark Foltz

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Mark Foltz . resolved

Can you CC me on the issue so I can understand the root cause?
From looking at the test, it seemed hard to trigger from script.

Open in Gerrit

Related details

Attention is currently required from:
  • Evan Liu
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I453160a8eed7926e2cc3500260de04d2722c98e1
Gerrit-Change-Number: 6712212
Gerrit-PatchSet: 2
Gerrit-Owner: Evan Liu <ev...@google.com>
Gerrit-Reviewer: Evan Liu <ev...@google.com>
Gerrit-Reviewer: Mark Foltz <mfo...@chromium.org>
Gerrit-Attention: Evan Liu <ev...@google.com>
Gerrit-Comment-Date: Fri, 11 Jul 2025 00:18:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Evan Liu (Gerrit)

unread,
Jul 10, 2025, 9:50:25 PM7/10/25
to Mark Foltz, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, kinuko...@chromium.org, tommyw+w...@chromium.org

Evan Liu added 1 comment

Patchset-level comments
Mark Foltz . resolved

Can you CC me on the issue so I can understand the root cause?
From looking at the test, it seemed hard to trigger from script.

Evan Liu

Done!

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I453160a8eed7926e2cc3500260de04d2722c98e1
Gerrit-Change-Number: 6712212
Gerrit-PatchSet: 2
Gerrit-Owner: Evan Liu <ev...@google.com>
Gerrit-Reviewer: Evan Liu <ev...@google.com>
Gerrit-Reviewer: Mark Foltz <mfo...@chromium.org>
Gerrit-Comment-Date: Fri, 11 Jul 2025 01:50:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Mark Foltz <mfo...@chromium.org>
satisfied_requirement
open
diffy

Evan Liu (Gerrit)

unread,
Jul 14, 2025, 1:46:18 PM7/14/25
to Mark Foltz, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, kinuko...@chromium.org, tommyw+w...@chromium.org

Evan Liu voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I453160a8eed7926e2cc3500260de04d2722c98e1
Gerrit-Change-Number: 6712212
Gerrit-PatchSet: 2
Gerrit-Owner: Evan Liu <ev...@google.com>
Gerrit-Reviewer: Evan Liu <ev...@google.com>
Gerrit-Reviewer: Mark Foltz <mfo...@chromium.org>
Gerrit-Comment-Date: Mon, 14 Jul 2025 17:46:09 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Jul 14, 2025, 3:22:10 PM7/14/25
to Evan Liu, Mark Foltz, chromium...@chromium.org, blink-...@chromium.org, feature-me...@chromium.org, kinuko...@chromium.org, tommyw+w...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
Fix potential UAF in MediaStreamTrackImpl

This CL fixes a potential UAF vulnerability in MediaStreamTrackImpl
where pointers to the SpeechRecognitionMediaStreamAudioSinks that are
owned by the MediaStreamTrackImpl could potentially be accessed after
the sinks are destroyed.
Fixed: 426054987
Change-Id: I453160a8eed7926e2cc3500260de04d2722c98e1
Commit-Queue: Evan Liu <ev...@google.com>
Reviewed-by: Mark Foltz <mfo...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1486476}
Files:
  • M third_party/blink/renderer/modules/mediastream/media_stream_track_impl.cc
  • M third_party/blink/renderer/modules/mediastream/media_stream_track_impl.h
  • M third_party/blink/renderer/modules/mediastream/media_stream_track_impl_test.cc
Change size: M
Delta: 3 files changed, 79 insertions(+), 18 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Mark Foltz
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I453160a8eed7926e2cc3500260de04d2722c98e1
Gerrit-Change-Number: 6712212
Gerrit-PatchSet: 3
Gerrit-Owner: Evan Liu <ev...@google.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Evan Liu <ev...@google.com>
Gerrit-Reviewer: Mark Foltz <mfo...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages