| Auto-Submit | +1 |
| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The change cannot be auto-reviewed. The following files do not match the benign file configuration: ui/ozone/platform/x11/x11_window.cc, ui/ozone/platform/x11/x11_window.h, ui/ozone/platform/x11/x11_window_ozone_unittest.cc. Learn more: go/rubber-stamper-user-guide.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
ConvertEventLocationToTargetWindowLocation(Is there another CL that needs to be merged first? This doesn't match crrev.com/1647067.
// Verifies that X11Window::OnWindowMapped() does not cause a use-after-freeDoesn't match.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[M148] Ozone: Fix UAF in X11Window::DispatchUiEvent via weak_ptr tracking
Original change's description:
> Ozone: Fix UAF in X11Window::DispatchUiEvent via weak_ptr tracking
>
> A Use-After-Free (UAF) vulnerability can occur in
> X11Window::DispatchUiEvent when translating coordinates for a located
> event grabber window.
>
> During GetBoundsInPixels() on the grabber window, processing synchronous
> X server responses can dispatch events and invoke callbacks that destroy
> the grabber window. Since the grabber window was cached via a raw
> pointer on the stack, this results in a use-after-free when dispatching
> the event to the grabber window afterwards.
>
> This CL fixes this by tracking the grabber window via a base::WeakPtr
> and re-verifying its validity and capture ownership status after
> potential re-entrancy points.
>
> Fixed: 523690961
> Change-Id: Id7fd781af377ccd1a8f5495a5930d6b8bcbb3e52
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7943723
> Reviewed-by: Lei Zhang <the...@chromium.org>
> Commit-Queue: Thomas Anderson <thomasa...@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1647067}
(cherry picked from commit b12c924f5828e2d16248624bf1e068ada3bf1a2b)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |