[M144-LTS][Ozone/X11] Guard against synchronous deletion in OnWindowMapped [chromium/src : refs/branch-heads/7559]

1 view
Skip to first unread message

Gyuyoung Kim (xWF) (Gerrit)

unread,
Jul 30, 2026, 10:17:59 PM (13 days ago) Jul 30
to Thomas Anderson, android-bu...@system.gserviceaccount.com, ozone-...@chromium.org
Attention needed from Gyuyoung Kim (xWF)

Gyuyoung Kim (xWF) removed a vote from this change

Open in Gerrit

Related details

Attention is currently required from:
  • Gyuyoung Kim (xWF)
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement satisfiedLint
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: deleteVote
Gerrit-Project: chromium/src
Gerrit-Branch: refs/branch-heads/7559
Gerrit-Change-Id: I3ab1ae86cc0c16d08c359d18076c6815ef6fb061
Gerrit-Change-Number: 8089907
Gerrit-PatchSet: 1
Gerrit-Owner: Gyuyoung Kim (xWF) <qk...@google.com>
Gerrit-CC: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Gyuyoung Kim (xWF) <qk...@google.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

Gyuyoung Kim (xWF) (Gerrit)

unread,
Aug 6, 2026, 9:33:51 PM (6 days ago) Aug 6
to Thomas Anderson, Lei Zhang, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, ozone-...@chromium.org
Attention needed from Artem Sumaneev, Lei Zhang and Thomas Anderson

Gyuyoung Kim (xWF) added 1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Gyuyoung Kim (xWF) . resolved

The bug was approved for M144 LTS. PTAL.

Open in Gerrit

Related details

Attention is currently required from:
  • Artem Sumaneev
  • Lei Zhang
  • Thomas Anderson
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement satisfiedLint
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: refs/branch-heads/7559
Gerrit-Change-Id: I3ab1ae86cc0c16d08c359d18076c6815ef6fb061
Gerrit-Change-Number: 8089907
Gerrit-PatchSet: 3
Gerrit-Owner: Gyuyoung Kim (xWF) <qk...@google.com>
Gerrit-Reviewer: Artem Sumaneev <asum...@google.com>
Gerrit-Reviewer: Gyuyoung Kim (xWF) <qk...@google.com>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Lei Zhang <the...@chromium.org>
Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Artem Sumaneev <asum...@google.com>
Gerrit-Comment-Date: Fri, 07 Aug 2026 01:33:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
satisfied_requirement
open
diffy

Lei Zhang (Gerrit)

unread,
Aug 6, 2026, 9:36:23 PM (6 days ago) Aug 6
to Gyuyoung Kim (xWF), Thomas Anderson, Lei Zhang, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, ozone-...@chromium.org
Attention needed from Artem Sumaneev, Gyuyoung Kim (xWF) and Thomas Anderson

Lei Zhang added 1 comment

File ui/ozone/platform/x11/x11_window_ozone_unittest.cc
Line 485, Patchset 3 (Latest):}
Lei Zhang . unresolved

Is there a missing `connection->DestroyWindow({new_parent});` call here?

Open in Gerrit

Related details

Attention is currently required from:
  • Artem Sumaneev
  • Gyuyoung Kim (xWF)
  • Thomas Anderson
Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement satisfiedLint
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: refs/branch-heads/7559
    Gerrit-Change-Id: I3ab1ae86cc0c16d08c359d18076c6815ef6fb061
    Gerrit-Change-Number: 8089907
    Gerrit-PatchSet: 3
    Gerrit-Owner: Gyuyoung Kim (xWF) <qk...@google.com>
    Gerrit-Reviewer: Artem Sumaneev <asum...@google.com>
    Gerrit-Reviewer: Gyuyoung Kim (xWF) <qk...@google.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Attention: Gyuyoung Kim (xWF) <qk...@google.com>
    Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Attention: Artem Sumaneev <asum...@google.com>
    Gerrit-Comment-Date: Fri, 07 Aug 2026 01:36:16 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Gyuyoung Kim (xWF) (Gerrit)

    unread,
    Aug 9, 2026, 10:30:39 PM (3 days ago) Aug 9
    to Thomas Anderson, Lei Zhang, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, ozone-...@chromium.org
    Attention needed from Artem Sumaneev, Lei Zhang and Thomas Anderson

    Gyuyoung Kim (xWF) added 1 comment

    File ui/ozone/platform/x11/x11_window_ozone_unittest.cc
    Line 485, Patchset 3:}
    Lei Zhang . resolved

    Is there a missing `connection->DestroyWindow({new_parent});` call here?

    Gyuyoung Kim (xWF)

    Thank you for catching it! It looks like I missed it while I cherry-picked this CL.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Artem Sumaneev
    • Lei Zhang
    • Thomas Anderson
    Submit Requirements:
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement satisfiedLint
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: refs/branch-heads/7559
      Gerrit-Change-Id: I3ab1ae86cc0c16d08c359d18076c6815ef6fb061
      Gerrit-Change-Number: 8089907
      Gerrit-PatchSet: 4
      Gerrit-Owner: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Reviewer: Artem Sumaneev <asum...@google.com>
      Gerrit-Reviewer: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
      Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Attention: Lei Zhang <the...@chromium.org>
      Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Attention: Artem Sumaneev <asum...@google.com>
      Gerrit-Comment-Date: Mon, 10 Aug 2026 02:30:23 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Lei Zhang <the...@chromium.org>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Artem Sumaneev (Gerrit)

      unread,
      Aug 10, 2026, 5:07:54 AM (3 days ago) Aug 10
      to Gyuyoung Kim (xWF), Thomas Anderson, Lei Zhang, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, ozone-...@chromium.org
      Attention needed from Gyuyoung Kim (xWF), Lei Zhang and Thomas Anderson

      Artem Sumaneev voted and added 1 comment

      Votes added by Artem Sumaneev

      Code-Review+1
      Owners-Override+1

      1 comment

      Patchset-level comments
      File-level comment, Patchset 4 (Latest):
      Artem Sumaneev . resolved

      LGTM from LTS sheriff

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Gyuyoung Kim (xWF)
      • Lei Zhang
      • Thomas Anderson
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement satisfiedLint
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: refs/branch-heads/7559
      Gerrit-Change-Id: I3ab1ae86cc0c16d08c359d18076c6815ef6fb061
      Gerrit-Change-Number: 8089907
      Gerrit-PatchSet: 4
      Gerrit-Owner: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Reviewer: Artem Sumaneev <asum...@google.com>
      Gerrit-Reviewer: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
      Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Attention: Lei Zhang <the...@chromium.org>
      Gerrit-Attention: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Comment-Date: Mon, 10 Aug 2026 09:07:36 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Thomas Anderson (Gerrit)

      unread,
      Aug 10, 2026, 12:18:29 PM (3 days ago) Aug 10
      to Gyuyoung Kim (xWF), Lei Zhang, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, ozone-...@chromium.org
      Attention needed from Gyuyoung Kim (xWF) and Lei Zhang

      Thomas Anderson voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Gyuyoung Kim (xWF)
      • Lei Zhang
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedLint
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: refs/branch-heads/7559
      Gerrit-Change-Id: I3ab1ae86cc0c16d08c359d18076c6815ef6fb061
      Gerrit-Change-Number: 8089907
      Gerrit-PatchSet: 4
      Gerrit-Owner: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Reviewer: Artem Sumaneev <asum...@google.com>
      Gerrit-Reviewer: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
      Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Attention: Lei Zhang <the...@chromium.org>
      Gerrit-Attention: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Comment-Date: Mon, 10 Aug 2026 16:18:17 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Gyuyoung Kim (xWF) (Gerrit)

      unread,
      Aug 10, 2026, 8:24:44 PM (2 days ago) Aug 10
      to Thomas Anderson, Lei Zhang, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, ozone-...@chromium.org
      Attention needed from Lei Zhang

      Gyuyoung Kim (xWF) voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Lei Zhang
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedLint
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: refs/branch-heads/7559
      Gerrit-Change-Id: I3ab1ae86cc0c16d08c359d18076c6815ef6fb061
      Gerrit-Change-Number: 8089907
      Gerrit-PatchSet: 4
      Gerrit-Owner: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Reviewer: Artem Sumaneev <asum...@google.com>
      Gerrit-Reviewer: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
      Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Attention: Lei Zhang <the...@chromium.org>
      Gerrit-Comment-Date: Tue, 11 Aug 2026 00:24:21 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Aug 10, 2026, 9:14:56 PM (2 days ago) Aug 10
      to Thomas Anderson, Gyuyoung Kim (xWF), Lei Zhang, android-bu...@system.gserviceaccount.com, ozone-...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      [M144-LTS][Ozone/X11] Guard against synchronous deletion in OnWindowMapped

      Maximize() may synchronously delete X11Window via OnBoundsChanged bounds
      changes notifications. MapNotify dispatch path (which routes to
      OnWindowMapped()) is not covered by the standard EventDispatcher
      weak_this guard, leading to a UAF upon stack unwinding.

      This CL introduces a weak_this guard in X11Window::OnWindowMapped() to
      safely abort execution if the window is synchronously deleted.

      (cherry picked from commit 6674e8db67016bbed31d9491e5caa47ba3e4fc5a)
      Fixed: 517050585
      Change-Id: I3ab1ae86cc0c16d08c359d18076c6815ef6fb061
      Reviewed-by: Lei Zhang <the...@chromium.org>
      Commit-Queue: Thomas Anderson <thomasa...@chromium.org>
      Cr-Original-Commit-Position: refs/heads/main@{#1637736}
      Owners-Override: Artem Sumaneev <asum...@google.com>
      Reviewed-by: Artem Sumaneev <asum...@google.com>
      Reviewed-by: Thomas Anderson <thomasa...@chromium.org>
      Commit-Queue: Gyuyoung Kim (xWF) <qk...@google.com>
      Cr-Commit-Position: refs/branch-heads/7559@{#5238}
      Cr-Branched-From: 223dfbac1c7542a06b422390d954afe5b560b607-refs/heads/main@{#1552494}
      Files:
      • M ui/ozone/platform/x11/x11_window.cc
      • M ui/ozone/platform/x11/x11_window_ozone_unittest.cc
      Change size: M
      Delta: 2 files changed, 106 insertions(+), 0 deletions(-)
      Branch: refs/branch-heads/7559
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Thomas Anderson, +1 by Artem Sumaneev
      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: refs/branch-heads/7559
      Gerrit-Change-Id: I3ab1ae86cc0c16d08c359d18076c6815ef6fb061
      Gerrit-Change-Number: 8089907
      Gerrit-PatchSet: 5
      Gerrit-Owner: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Reviewer: Artem Sumaneev <asum...@google.com>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages