Attention needed from Andres Calderon Jaramillo, Stephen Nusko and Tom Sepez
Sergio Solano voted and added 1 comment![Open in Gerrit]()
Votes added by Sergio Solano
1 comment
Patchset-level comments
File-level comment, Patchset 2 (Latest):Sergio Solano .
resolvedHi Tom and Andres,
Thanks for the reviews. To land this safety fix as quickly as possible and avoid cross-component approval delays, I've decided to split the original CL into two parts:
This CL (Mojo Security): Focused strictly on the Mojo boundary. I've added range validation to the Traits to prevent the sign-extension exploit from a compromised renderer. This is the core fix for b:497542537.
Follow-up CL (Media Safety): I've moved the internal hygiene and safety improvements for media/gpu and chromeos/ash call sites here: https://crrev.com/c/7724047
In this patchset, I have also:
Restored the ui/gfx headers and .mojom files to their base state to keep the public API unchanged for this quick fix.
Included the requested Mojo regression test with Andres' nits (ASSERT_FALSE).
Addressed the security concerns while avoiding unnecessary structural changes.
Do you agree to leave the full type migration (to uint32_t/uint64_t) and the overflow checks in test_shared_image_interface.cc in the subsequent permanent fix?
Open in GerritRelated details
Attention is currently required from:
- Andres Calderon Jaramillo
- Stephen Nusko
- Tom Sepez
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I82647b3c8a94368e9e6273e341e0976d8648a4d7
Gerrit-Change-Number: 7724047
Gerrit-PatchSet: 2
Gerrit-Comment-Date: Thu, 02 Apr 2026 07:14:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes