Google Cloud Global Service Control / IAM Outage — June 12, 2025
Summary
A latent, unguarded code path in Google Cloud's Service Control quota system — added on 2025-05-29 without error handling or feature-flag protection — was triggered on 2025-06-12 when a policy change containing unintended blank fields was inserted into the regional Spanner tables Service Control reads for policy data. The blank metadata replicated globally within seconds; regional quota checks pulled the blank fields, exercised the unprotected path, dereferenced a null pointer, and, with no error handling to contain it, the Service Control binaries crashed and entered a global crash loop. Because Service Control gates API authorization, IAM could no longer issue tokens and most Google Cloud APIs failed worldwide for several hours. The failure cascaded into downstream platforms that depend on GCP, most notably Cloudflare, whose Workers KV backend relied on the affected infrastructure.
- Users affected
- Global — customers of dozens of Google Cloud products (~70+, approximate) across every region, plus downstream end-users of dependent platforms (Cloudflare, and widely reported others such as Spotify and Discord). No authoritative aggregate end-user count published; Downdetector peak report counts (e.g. Spotify ~46k) are report tallies, not user counts.
- Duration
- 1h 39m — Crash loop 10:51 PDT 12 Jun → all regions except us-central1 recovered ~12:30 PDT.
- Financial
- Not publicly quantified — no official SLA-credit total, insurer, or analyst dollar estimate located.
- Scope
- SEV-1 / global control-plane outage
- Site
- Google Cloud — Service Control quota system (global control plane) · USA, global
- Services down
- Identity and Access Management (IAM token issuance), Cloud Build, Cloud Key Management Service, Google Cloud Storage, Cloud Monitoring, Cloud Dataproc, Security Command Center, Artifact Registry, Cloud Workflows, Cloud Run, BigQuery, Cloud Spanner, Compute Engine, Cloud Firestore, Cloud Pub/Sub, Cloud SQL, Apigee, Vertex AI (Gemini API) / Vertex AI Search, Looker, Memorystore, Cloud Functions, Cloud Load Balancing, App Engine, Cloud Console, Cloud DNS, Google Security Operations
How the defences failed
Global blast radius across all regions and ~70+ products (approximate) with IAM token issuance down (blast/users = 10). Duration ~7h27m end-to-end, meaningful but bounded and recoverable (7). Financial magnitude inferred high from breadth and multi-platform cascade, but no official dollar figure is published (8, low-confidence).
All 13 impact metrics
| Total incident duration (GCP) | ~7h27m (10:51–18:18 PDT) |
| Time to red-button mitigation | ~40 min from incident begin |
| Longest region full-resolution (us-central1) | up to ~2h40m |
| Global metadata replication time | within seconds |
| Affected Google Cloud products (approximate) | ~70+ (order-of-magnitude; status page enumerates on the order of 60–70) |
| Downstream Cloudflare outage window | 17:52–20:28 UTC; Cloudflare states it 'lasted 2h28m' (window spans ~2h36m by the clock) |
| Cloudflare Durable Objects (SQLite) / D1 peak error rate | 22% |
| Cloudflare AI Gateway peak error rate | 97% |
| Cloudflare Realtime TURN / Pages peak error rate | near 100% / ~100% |
| Cloudflare Stream peak error rate | >90% |
| Cloudflare Workers / Workers for Platforms error rate | ~2% / ~10% |
| Cloudflare Workers KV peak error rate | ~90% |
| Cloudflare Images batch-upload failure at peak | 100% (~97% success overall) |
Sequence of events
- TRIGGER Latent ignition: a new quota-policy-check feature is added to Service Control WITHOUT error handling and WITHOUT feature-flag protection. Defect ships to production and lies dormant for ~14 days.Change owner
- TRIGGER A policy change containing 'unintended blank fields' is inserted into the regional Spanner policy tables Service Control reads; the metadata begins replicating globally within seconds.
- IMPACT Service Control hits the null pointer on the blank fields; binaries enter a global crash loop; multiple GCP products (IAM, Cloud Storage and others) begin returning 503 errors and elevated latency.
- CASCADE Downstream: Cloudflare Workers KV — 'backed by a third-party cloud provider' — loses availability as the Google Cloud storage dependency fails.Customer
- DETECTION Within ~2 minutes of onset, Google's Site Reliability Engineering team is triaging the incident.First responder
- DETECTION Within ~10 minutes of onset, the root cause (unguarded null-pointer path on blank policy fields) is identified.
- MITIGATION The 'red-button' global feature-disable / rollback (suppression analog) is ready ~25 minutes from the start of the crashes.
- MITIGATION Red-button rollout completed within ~40 minutes of onset; Service Control begins recovering region by region.
- DETECTION First public incident report posted to Cloud Service Health — delayed ~1 hour because the status infrastructure was itself down in the outage (detection channel shared fate with the failure).Communications lead
- RECOVERY All locations except us-central1 recover following the red-button rollout (clock time derived from onset plus stated recovery offset).
- MITIGATION De-energisation/isolation analog: because Service Control lacked randomized exponential backoff, recovering tasks stampede the underlying infrastructure in us-central1 (thundering-herd / 'herd effect'); engineers manually throttle task creation and use multi-regional routing to prevent re-overloading.Operations lead
- DETECTION Root cause and mitigation status published/updated by Google on Cloud Service Health once the status infrastructure was restored.Communications lead
- RECOVERY Cloudflare Workers KV recovers, ending a 2h28m downstream outage propagated from the Google Cloud storage failure.
- RESTORED us-central1 fully resolved after up to ~2h 40m, recovery deliberately throttled to avoid re-overloading infrastructure; primary global incident closes.
- RESTORED Google commits to remediations: fail-open modularization of Service Control, mandatory feature flags disabled-by-default on critical binaries, improved static analysis/error handling, randomized exponential backoff audit, and monitoring that survives when primary products are down.
Response by role
What each role did
Roles the sequence of events shows acting; every entry quotes its source line. Select a time to jump to it.
Role by role
Recorded actions / playbook actions per role. A role with 0 recorded actions does not appear in the sources.
Google Site Reliability Engineering, on call for the incident — Meets the first alarm: on-shift technician or security in a facility, on-call engineer in a service.
On the record
- SRE is triaging within about 2 minutes of onset
Google's Site Reliability Engineering team is triaging the incident
Playbook analyst guidance by failure mode, not a record of what happened
- FM-02Page SRE on a spike in rejected or empty policy records before the data replicatesSRE incident mgmt
- FM-01Alert on Service Control crash-loop and 503 rate per region, so SRE is paged at onsetSRE incident mgmt
- FM-05Watch task-start rate and backend load in us-central1 during recoverySRE incident mgmt
- FM-03Watch per-region crash and error counts during each policy push; halt the push on the first crashSRE incident mgmt
- FM-04Watch IAM token-issuance and Service Control 503s together so a gating failure is seen across productsSRE incident mgmt
- FM-06Test that the status page can be posted to while Cloud Storage and IAM are failingUptime OS
No incident commander is named in the record — Owns every decision until formally relieved: site duty manager on scene, or the declared IC of a service incident.
On the record
No action by this role appears in the sources.
Playbook analyst guidance by failure mode, not a record of what happened
- FM-01Declare the incident and order the global feature-disable (red button) for the quota-check path as soon as the root cause is knownSRE incident mgmt
- FM-07Shed or fail-static the products that depend on Workers KV, such as AI Gateway, Stream and PagesSRE incident mgmt
- FM-05Hold the all-clear for us-central1 until throttled recovery is stableSRE incident mgmt
- FM-03Assign one owner for the freeze and one for the rollback so they do not collideSRE incident mgmt
- FM-04Tell product teams IAM and Cloud Storage are affected so each can hold its own changesSRE incident mgmt
- FM-06Name a comms owner at the start of any incident that touches IAM or Cloud StorageSRE incident mgmt
- FM-02Trace who or what authored the blank-field write and record it in the post-incident reviewSRE incident mgmt
The Service Control team that added the quota-check feature on 29 May — Authored or approved the change, deployment or configuration push that started the event.
On the record
- Ships the quota-check feature without error handling or a feature flag; it lies dormant about 14 days
a new quota-policy-check feature is added to Service Control WITHOUT error handling
Playbook analyst guidance by failure mode, not a record of what happened
- FM-02Reject a policy record with blank required fields at the write boundary into the Spanner policy tablesImprovement #4
- FM-01Ship every change to a critical binary behind a feature flag that is off by defaultChange managementCorrection of errors #2
- FM-01Run static analysis and malformed-input tests on the quota-check path to catch the unguarded null dereference before releaseCorrection of errors #3
- FM-05Add randomized exponential backoff to Service Control task restartsCorrection of errors #4
- FM-03Stage policy metadata to one region and a small share of tasks first; widen only after a healthy intervalChange managementImprovement #6
- FM-04Isolate the quota-check module so a crash in it skips the check instead of stopping API authorizationCorrection of errors #1
- FM-06Move Cloud Service Health off the products it reports on so a product outage does not silence itCorrection of errors #5
Google engineers who throttled task creation in us-central1 — not named — Technical lead who diagnoses and drives the fix; the subject-matter expert at the keyboard or the switchboard.
On the record
- Throttle task creation by hand and route multi-regionally so recovering us-central1 tasks do not re-overload it
engineers manually throttle task creation and use multi-regional routing
Playbook analyst guidance by failure mode, not a record of what happened
- FM-02Stop further policy writes and identify the bad record once Service Control starts crashingSRE incident mgmt
- FM-05Throttle task creation by hand and route traffic across regions to keep the infrastructure from overloadingSRE incident mgmtImprovement #5
- FM-03Freeze all policy replication while the red-button rollout is in progressChange management
- FM-04Disable the failing check on the critical path so authorization keeps servingSRE incident mgmt
Google engineers running the red-button rollout — not named — Restores customer service: failover, workload moves, capacity, backlog drain.
On the record
No action by this role appears in the sources.
Playbook analyst guidance by failure mode, not a record of what happened
- FM-02Restore the last good policy data in the regional tables once the bad record is identifiedITIL 4
- FM-01Roll the red-button out region by region and confirm each Service Control region stops crashing before moving onSRE incident mgmt
- FM-07Restore Workers KV once the backing provider returns and verify each dependent productITIL 4
- FM-05Lift the throttle step by step as load on the backing infrastructure settlesSRE incident mgmt
- FM-03Resume policy replication in stages after the bad record is goneChange management
- FM-04Confirm IAM tokens issue again in every region after the rolloutITIL 4
Google Cloud Service Health, the public status channel — Status page, customer notices, regulators and press; one voice, timed updates.
On the record
- Posts the first public report about an hour late because the status stack was itself down
First public incident report posted to Cloud Service Health
- Publishes root cause and mitigation status once the status infrastructure is restored
Root cause and mitigation status published/updated by Google on Cloud Service Health
Playbook analyst guidance by failure mode, not a record of what happened
- FM-06Use an out-of-band channel to tell customers an incident is under way while the status page is downSRE incident mgmt
Cloudflare Workers KV, the downstream dependent — The tenant or service user: their own redundancy, backups and continuity plan.
On the record
Playbook analyst guidance by failure mode, not a record of what happened
Failure mode & effects analysis (FMEA)
Google Cloud's Service Control on 12 June 2025 — the quota-policy-check code added on 29 May, the policy-write boundary into the regional Spanner tables, global replication of policy metadata, Service Control's fail-closed behaviour and the API authorization (including IAM token issuance) that depends on it, the restart path in us-central1, Cloud Service Health, and the downstream Cloudflare Workers KV dependency. Analysed retrospectively from Google's official incident report and Cloudflare's own post-mortem, with a ThousandEyes summary as corroboration. Google's five published remediations are recorded as committed, not completed, so every revised score on them is a claim about the action, not a confirmed outcome. Write-boundary validation and staged replication are not explicit Google commitments ('Recommended') and carry no revised score. Who or what authored the blank-field policy write is not disclosed.
- Caught only after impactD ≥ 8
- 3 of 7
- Actions that cut occurrenceO lowered
- 3
- Actions that cut detectionD lowered
- 1
- Actions that cut severityS lowered
- 1
FM-02 A policy change containing unintended blank fields is accepted into the tablesPolicy-write boundary into the regional Spanner policy tables 9·4·9 324 —
- Function
- Reject malformed policy records before they reach the tables Service Control reads
- Effect
- The malformed record becomes the input that triggers the null-pointer crash in every region
- Cause
- No schema or input validation at the write boundary; the provenance of the write is undisclosed
- Prevention in place
- None recorded
- Detection in place
- None before ingestion; the bad record was found through the crash
- S 9
- This is the route by which the dormant defect was triggered globally, so it carries the event's severity.
- O 4
- A malformed policy write is an unusual event, and its origin is not disclosed: 'infrequent'.
- D 9
- Nothing checked the record before it entered a globally replicated control plane; it was identified only after Service Control crashed.
Corrective action
- Schema/input validation at the policy-write boundary — status 'Recommended (implied by root-cause gaps; not an explicit published commitment)' Correction of errors #6
- Add validation at the policy-write boundary (analyst recommendation) Improvement #4
Who acts — playbook
- Change owner Reject a policy record with blank required fields at the write boundary into the Spanner policy tablesImprovement #4
- First responder Page SRE on a spike in rejected or empty policy records before the data replicatesSRE incident mgmt
- Operations lead Stop further policy writes and identify the bad record once Service Control starts crashingSRE incident mgmt
- Service recovery lead Restore the last good policy data in the regional tables once the bad record is identifiedITIL 4
- Incident commander Trace who or what authored the blank-field write and record it in the post-incident reviewSRE incident mgmt
Evidence
- Sequence of events #22025-06-12 ~10:49 AM PDT — A policy change containing 'unintended blank fields' is inserted into the regional Spanner policy tables Service Control reads; the metadata begins replicating globally within seconds.
- Contributing factor #2Validation/inspection gap at the write boundary: a policy record with 'unintended blank fields' was accepted into the regional Spanner policy tables with no schema/input validation catching the malformed write before it entered a globally-replicated control plane (Google Cloud report).
- Root cause“a record with blank fields was accepted into the Spanner policy tables that feed a global control plane”
FM-01 The new path dereferences blank policy fields, the null pointer crashes the binary, and Service Control enters a global crash loopService Control quota-policy-check code path (added 29 May 2025) 9·5·6 270 108
- Function
- Apply additional quota policy checks without endangering the Service Control binary
- Effect
- From about 10:51 AM PDT, IAM, Cloud Storage and dozens of other products return 503 errors worldwide; IAM cannot issue tokens
- Cause
- The change 'did not have appropriate error handling nor was it feature flag protected', so it went live on the critical path with no scoped kill-switch and no graceful handling of malformed input
- Prevention in place
- None recorded for this change; no feature flag and no error handling
- Detection in place
- SRE triaging within about 2 minutes of onset; root cause identified within about 10 minutes
- S 9
- Provider-wide outage of a foundational control plane gating API authorization across every region, with no customer workaround: the rubric's 9. Not 10: no people or facility involved.
- O 5
- Shipping a change to a critical binary with neither a flag nor error handling is a foreseeable, weakly guarded slip; held at 5 because the path also needed malformed input to fire, which took 14 days.
- D 6
- Detection was fast, within about 2 minutes, but came after the global crash loop began: 'detected at onset, not prevented'.
Corrective action
- Enforce that all changes to critical binaries are feature-flag protected and disabled by default Correction of errors #2
- Improve static analysis and testing to handle errors and malformed input and, where needed, fail open Correction of errors #3
After action: S9 · O3 · D4 → RPN 108. A change that is flag-protected and disabled by default cannot fire on the critical path until it is deliberately enabled (O 5→3), and static analysis and testing aimed at malformed input would surface an unguarded dereference before release (D 6→4). S is unchanged because, if such a path does fire, it still runs inside a global control plane. Both actions are recorded as committed, not completed, so the reduction is a claim about the actions, not a confirmed outcome.
Who acts — playbook
- Change owner Ship every change to a critical binary behind a feature flag that is off by defaultChange managementCorrection of errors #2
- Change owner Run static analysis and malformed-input tests on the quota-check path to catch the unguarded null dereference before releaseCorrection of errors #3
- First responder Alert on Service Control crash-loop and 503 rate per region, so SRE is paged at onsetSRE incident mgmt
- Incident commander Declare the incident and order the global feature-disable (red button) for the quota-check path as soon as the root cause is knownSRE incident mgmt
- Service recovery lead Roll the red-button out region by region and confirm each Service Control region stops crashing before moving onSRE incident mgmt
On the record at this failure
- Change owner Ships the quota-check feature without error handling or a feature flag; it lies dormant about 14 days
- First responder SRE is triaging within about 2 minutes of onset
Evidence
- Sequence of events #12025-05-29 — Latent ignition: a new quota-policy-check feature is added to Service Control WITHOUT error handling and WITHOUT feature-flag protection. Defect ships to production and lies dormant for ~14 days.
- Sequence of events #32025-06-12 ~10:51 AM PDT — Service Control hits the null pointer on the blank fields; binaries enter a global crash loop; multiple GCP products (IAM, Cloud Storage and others) begin returning 503 errors and elevated latency.
- Sequence of events #52025-06-12 ~10:53 AM PDT — Within ~2 minutes of onset, Google's Site Reliability Engineering team is triaging the incident.
- Sequence of events #62025-06-12 ~11:01 AM PDT — Within ~10 minutes of onset, the root cause (unguarded null-pointer path on blank policy fields) is identified.
- Reference #1 · official-postmortem“Without the appropriate error handling, the null pointer caused the binary to crash.”
- Contributing factor #1Change-management gap: a critical Service Control binary was shipped on May 29 without feature-flag protection and not disabled by default — the change 'did not have appropriate error handling nor was it feature flag protected' (Google Cloud report) — so no scoped, fast kill-switch existed for the new quota-check path at ship time.
FM-07 Workers KV, backed by a third-party cloud provider, loses availability with the Google Cloud failureCloudflare Workers KV (downstream dependency) 7·3·9 189 —
- Function
- Keep Workers KV and the Cloudflare products built on it available when its third-party cloud backend fails
- Effect
- Workers KV peaks at ~90% errors for Cloudflare's stated 2 h 28 min (17:52-20:28 UTC); AI Gateway peaks at 97%, Stream above 90%, Realtime TURN and Pages near 100%
- Cause
- Downstream dependency concentration on a single cloud provider with no degraded mode recorded
- Prevention in place
- None recorded
- Detection in place
- No detection before impact is recorded; the dossier does not say how Cloudflare first detected it
- S 7
- Major degradation of several Cloudflare products for over two hours; the provider outage itself is scored in FM-04.
- O 3
- It needs the backing provider to fail first, which is infrequent.
- D 9
- Nothing is recorded that could warn before the backend failed; scored at the conservative end because the dossier is silent on Cloudflare's own detection.
Corrective action
- Reduce single-provider dependency concentration for Workers KV and design for degraded-mode operation — the dossier marks this committed on the strength of Cloudflare accepting responsibility for its dependencies; no specific architecture change is quoted, so no revised score is claimed Correction of errors #7
Who acts — playbook
- Customer Give Workers KV a second storage provider or a degraded read-only modeCorrection of errors #7
- Customer Alert on Workers KV error rate and on backing-provider health, not only on user requestsSRE incident mgmt
- Incident commander Shed or fail-static the products that depend on Workers KV, such as AI Gateway, Stream and PagesSRE incident mgmt
- Service recovery lead Restore Workers KV once the backing provider returns and verify each dependent productITIL 4
- Communications lead Tell Cloudflare customers which products were hit and when each recoveredITIL 4
On the record at this failure
Evidence
- Sequence of events #42025-06-12 ~10:52 AM PDT (17:52 UTC) — Downstream: Cloudflare Workers KV — 'backed by a third-party cloud provider' — loses availability as the Google Cloud storage dependency fails.
- Sequence of events #132025-06-12 1:28 PM PDT (20:28 UTC) — Cloudflare Workers KV recovers, ending a 2h28m downstream outage propagated from the Google Cloud storage failure.
- Metric #6Downstream Cloudflare outage window: 17:52–20:28 UTC; Cloudflare states it 'lasted 2h28m' (window spans ~2h36m by the clock)
- Metric #12Cloudflare Workers KV peak error rate: ~90%
- Metric #8Cloudflare AI Gateway peak error rate: 97%
- Contributing factor #7Downstream dependency concentration: Cloudflare Workers KV was 'backed by a third-party cloud provider,' so the Google outage propagated directly into a separate platform for 2h28m (Cloudflare outage report).
FM-05 Recovering tasks without randomized exponential backoff stampede the underlying infrastructure (herd effect)Service Control restart path in us-central1 7·4·6 168 84
- Function
- Bring recovering tasks back without overloading the underlying infrastructure
- Effect
- us-central1 takes up to about 2 h 40 min to fully recover after the red-button rollout fixed the other regions; engineers throttle task creation by hand and route multi-regionally
- Cause
- Service Control lacked appropriate randomized exponential backoff
- Prevention in place
- None recorded
- Detection in place
- The overload was seen during recovery and managed by manual throttling
- S 7
- It lengthens the outage in one large region well past the global mitigation: a major degradation, scored below the outage modes.
- O 4
- It needs a mass restart of Service Control tasks, which is infrequent.
- D 6
- Engineers saw the herd as it formed and throttled it, but nothing in the design prevented it: 'detected at onset, not prevented'.
Corrective action
- Audit and ensure randomized exponential backoff on systems including Service Control recovery paths Correction of errors #4
After action: S7 · O2 · D6 → RPN 84. With randomized exponential backoff, a mass restart spreads its load over time instead of arriving at once, so the herd effect should not form (O 4→2). Recorded as committed, not completed, so the reduction is a claim about the action, not a confirmed outcome.
Who acts — playbook
- Change owner Add randomized exponential backoff to Service Control task restartsCorrection of errors #4
- First responder Watch task-start rate and backend load in us-central1 during recoverySRE incident mgmt
- Operations lead Throttle task creation by hand and route traffic across regions to keep the infrastructure from overloadingSRE incident mgmtImprovement #5
- Incident commander Hold the all-clear for us-central1 until throttled recovery is stableSRE incident mgmt
- Service recovery lead Lift the throttle step by step as load on the backing infrastructure settlesSRE incident mgmt
On the record at this failure
- Operations lead Throttle task creation by hand and route multi-regionally so recovering us-central1 tasks do not re-overload it
Evidence
- Sequence of events #112025-06-12 early afternoon PDT — De-energisation/isolation analog: because Service Control lacked randomized exponential backoff, recovering tasks stampede the underlying infrastructure in us-central1 (thundering-herd / 'herd effect'); engineers manually throttle task creation and use multi-regional routing to prevent re-overloading.
- Sequence of events #142025-06-12 (us-central1, up to ~2h 40m after onset) — us-central1 fully resolved after up to ~2h 40m, recovery deliberately throttled to avoid re-overloading infrastructure; primary global incident closes.
- Metric #3Longest region full-resolution (us-central1): up to ~2h40m
- Contributing factor #5Recovery-path defect: Service Control lacked appropriate randomized exponential backoff, so recovering tasks stampeded (thundering-herd / 'herd effect') the underlying infrastructure in us-central1, forcing manual throttling and extending recovery to up to ~2h 40m (Google Cloud report).
FM-03 Metadata replicates globally within seconds with no canary or staged propagationGlobal replication of policy metadata 9·3·6 162 —
- Function
- Distribute policy changes to regional Service Control deployments without spreading a bad change everywhere at once
- Effect
- Every regional deployment ingests the blank-field policy and crash-loops near-simultaneously; onset cannot be contained
- Cause
- No incremental, canary or staged rollout for globally replicated policy data
- Prevention in place
- None recorded
- Detection in place
- Seen at onset through the crash loop
- S 9
- Instant global replication is what made the outage worldwide rather than regional; it carries the event's severity.
- O 3
- Fast replication is normal, but it only causes harm when a bad record is written, which is infrequent; scored low so the event is not counted again at full weight.
- D 6
- The spread was visible as it happened and was over before anyone could act: 'detected at onset, not prevented'.
Corrective action
- Stage or canary globally replicated policy metadata — status 'Recommended', not an explicit published commitment Correction of errors #6
- Stage/canary globally replicated policy metadata (analyst recommendation) Improvement #6
Who acts — playbook
- Change owner Stage policy metadata to one region and a small share of tasks first; widen only after a healthy intervalChange managementImprovement #6
- First responder Watch per-region crash and error counts during each policy push; halt the push on the first crashSRE incident mgmt
- Operations lead Freeze all policy replication while the red-button rollout is in progressChange management
- Incident commander Assign one owner for the freeze and one for the rollback so they do not collideSRE incident mgmt
- Service recovery lead Resume policy replication in stages after the bad record is goneChange management
Evidence
- Metric #4Global metadata replication time: within seconds
- Contributing factor #3Propagation-safety gap: globally-replicated quota metadata had no incremental, canary or staged rollout — it 'was replicated globally within seconds,' so every regional deployment ingested the poison and crash-looped near-simultaneously with zero blast-radius containment (Google Cloud report).
- Root cause“was replicated globally within seconds”
FM-04 Service Control fails closed: the whole binary crash-loops and dependent APIs return 503sService Control failure behaviour (API authorization and quota gate) 9·3·6 162 90
- Function
- Keep authorizing API calls, or degrade gracefully, when a quota-check component fails
- Effect
- Most Google Cloud APIs fail worldwide, roughly 60-70+ products are listed as affected, and IAM token issuance stops
- Cause
- Quota-check functionality is not isolated from the rest of Service Control and has no fail-open behaviour
- Prevention in place
- None recorded
- Detection in place
- Seen at onset through product-wide 503s
- S 9
- Failing closed converts a defect in one check into loss of API authorization across the provider: the rubric's 9.
- O 3
- It needs a component inside Service Control to fail first, which is infrequent.
- D 6
- The 503s were visible immediately, but the architecture offered no way to keep serving: 'detected at onset, not prevented'.
Corrective action
- Modularize Service Control so quota-check functionality is isolated and fails open Correction of errors #1
After action: S5 · O3 · D6 → RPN 90. If the quota-check function is isolated and fails open, a crash in it skips the check instead of stopping API authorization, so customers see degraded quota enforcement rather than a global outage (S 9→5). Recorded as committed, not completed, so the reduction is a claim about the action, not a confirmed outcome.
Who acts — playbook
- Change owner Isolate the quota-check module so a crash in it skips the check instead of stopping API authorizationCorrection of errors #1
- First responder Watch IAM token-issuance and Service Control 503s together so a gating failure is seen across productsSRE incident mgmt
- Operations lead Disable the failing check on the critical path so authorization keeps servingSRE incident mgmt
- Incident commander Tell product teams IAM and Cloud Storage are affected so each can hold its own changesSRE incident mgmt
- Service recovery lead Confirm IAM tokens issue again in every region after the rolloutITIL 4
Evidence
- Contributing factor #4Fail-closed architecture: Service Control crash-looped and returned 503s instead of failing open or degrading gracefully, a design lapse Google itself committed to fix — 'modularize Service Control's architecture, so the functionality is isolated and fails open' (Google Cloud report).
- Metric #5Affected Google Cloud products (approximate): ~70+ (order-of-magnitude; status page enumerates on the order of 60–70)
- Root cause“modularize Service Control's architecture, so the functionality is isolated and fails open”
- Sequence of events #32025-06-12 ~10:51 AM PDT — Service Control hits the null pointer on the blank fields; binaries enter a global crash loop; multiple GCP products (IAM, Cloud Storage and others) begin returning 503 errors and elevated latency.
FM-06 The status infrastructure shares fate with the failing system and is down in the outageCloud Service Health status infrastructure 5·4·8 160 80
- Function
- Tell customers about an outage while it is happening
- Effect
- The first public incident report is posted about an hour after the crashes began
- Cause
- Status and monitoring depend on the Google Cloud products they report on
- Prevention in place
- None recorded
- Detection in place
- Found during the incident
- S 5
- It fails the communication, not the service: customers go about an hour without an official status, which is customer-visible degradation.
- O 4
- It needs a Google Cloud outage broad enough to take the status stack with it, which is infrequent.
- D 8
- The dependency was found when Google tried to post status and could not, after impact.
Corrective action
- Harden monitoring and Cloud Service Health so status works even when primary Google Cloud products are down Correction of errors #5
After action: S5 · O2 · D8 → RPN 80. Removing the status stack's dependency on the products it reports on means a product outage no longer silences it (O 4→2). Recorded as committed, not completed, so the reduction is a claim about the action, not a confirmed outcome.
Who acts — playbook
- Change owner Move Cloud Service Health off the products it reports on so a product outage does not silence itCorrection of errors #5
- First responder Test that the status page can be posted to while Cloud Storage and IAM are failingUptime OS
- Communications lead Use an out-of-band channel to tell customers an incident is under way while the status page is downSRE incident mgmt
- Incident commander Name a comms owner at the start of any incident that touches IAM or Cloud StorageSRE incident mgmt
- Communications lead Backfill the timeline on Cloud Service Health once it is back, with root cause and mitigationITIL 4
On the record at this failure
- Communications lead Posts the first public report about an hour late because the status stack was itself down
Evidence
- Sequence of events #92025-06-12 ~11:51 AM PDT — First public incident report posted to Cloud Service Health — delayed ~1 hour because the status infrastructure was itself down in the outage (detection channel shared fate with the failure).
- Contributing factor #6Comms/observability shared-fate: the Cloud Service Health status stack depended on the failing system, so the first public report was delayed ~1h because the Cloud Service Health infrastructure was down due to this outage (Google Cloud report).
- Technical deep-dive“the Cloud Service Health infrastructure was itself down in this outage”
Scoring rubric and method
Scales adapted from IEC 60812:2018 and AIAG-VDA. RPN = S × O × D. High: S ≥ 9 with O ≥ 4 or D ≥ 7, or RPN ≥ 300. Medium: RPN ≥ 120 or S ≥ 7. Severity overrides the product: 9 × 2 × 9 = 162 would otherwise hide a region-wide outage nothing could catch. Quotes are checked verbatim against this dossier; a revised score needs a published action. RZ analyst assessment, not an operator document.
Severity
| 10 | Hazard to people, or loss of the facility / several regions |
| 9 | Region-wide or provider-wide outage of a foundational service, no workaround |
| 8 | Full outage of a major service for hours |
| 7 | Major degradation of a major service |
| 6 | Partial outage confined to one zone or one service |
| 5 | Customer-visible degradation |
| 4 | Limited customer impact |
| 3 | Internal impact only |
| 2 | Negligible |
| 1 | No effect |
Occurrence
| 10 | Near certain: the cause is present in normal operation |
| 8 | Frequent: routine work exercises the cause |
| 6 | Occasional: a foreseeable slip or condition, weakly guarded |
| 4 | Infrequent: needs an unusual combination |
| 2 | Remote: guarded by design |
| 1 | Eliminated by design |
Detection
| 10 | No control could detect it |
| 9 | Detected only through customer impact |
| 8 | Detected after impact by internal monitoring |
| 6 | Detected at onset, not prevented |
| 4 | Detected before impact with time to act |
| 2 | Automated interlock almost certainly stops it |
| 1 | Certain to be stopped |
Root cause and contributing factors
Full root-cause narrative
Contributing factors by category
- Change-management gap: a critical Service Control binary was shipped on May 29 without feature-flag protection and not disabled by default — the change 'did not have appropriate error handling nor was it feature flag protected' (Google Cloud report) — so no scoped, fast kill-switch existed for the new quota-check path at ship time.
- Validation/inspection gap at the write boundary: a policy record with 'unintended blank fields' was accepted into the regional Spanner policy tables with no schema/input validation catching the malformed write before it entered a globally-replicated control plane (Google Cloud report).
- Propagation-safety gap: globally-replicated quota metadata had no incremental, canary or staged rollout — it 'was replicated globally within seconds,' so every regional deployment ingested the poison and crash-looped near-simultaneously with zero blast-radius containment (Google Cloud report).
- Fail-closed architecture: Service Control crash-looped and returned 503s instead of failing open or degrading gracefully, a design lapse Google itself committed to fix — 'modularize Service Control's architecture, so the functionality is isolated and fails open' (Google Cloud report).
- Recovery-path defect: Service Control lacked appropriate randomized exponential backoff, so recovering tasks stampeded (thundering-herd / 'herd effect') the underlying infrastructure in us-central1, forcing manual throttling and extending recovery to up to ~2h 40m (Google Cloud report).
- Comms/observability shared-fate: the Cloud Service Health status stack depended on the failing system, so the first public report was delayed ~1h because the Cloud Service Health infrastructure was down due to this outage (Google Cloud report).
- Downstream dependency concentration: Cloudflare Workers KV was 'backed by a third-party cloud provider,' so the Google outage propagated directly into a separate platform for 2h28m (Cloudflare outage report).
Analysis
What happened
On June 12, 2025, at ~10:51 AM PDT, Google Cloud's Service Control — the global, regionally-replicated control plane that handles API management, authorization and quota enforcement — entered a worldwide crash loop and began returning 503 errors across dependent products (IAM, Cloud Storage and dozens of others). The global control-plane impact lasted roughly three hours, with us-central1 taking up to ~2h 40m to fully recover. Because Service Control gates API authorization, the failure presented to customers as a broad, cross-service Google Cloud outage rather than a single-product incident.
Why it happened (root-cause chain)
A new quota-policy-check feature was added to Service Control on May 29, 2025 without error handling and without feature-flag protection, and lay dormant for ~14 days. On June 12 a policy write containing 'unintended blank fields' was inserted into the regional Spanner policy tables Service Control reads. The unguarded code path dereferenced the missing data — 'the null pointer caused the binary to crash.' The malformed metadata 'was replicated globally within seconds,' so every regional deployment ingested it and crash-looped near-simultaneously. The chain is change-management (no flag, not disabled-by-default), validation (no schema check at the write boundary), propagation (no canary/stage), and architecture (fail-closed) failures — not a physical-asset or inspection failure.
Blast radius and cascade
The fault vector was replicated data, making onset uncontainable, and the blast radius crossed the provider boundary. Cloudflare Workers KV — 'backed by a third-party cloud provider' — lost availability for 2h28m (17:52–20:28 UTC), degrading Cloudflare products that depend on KV. Cloudflare characterised the Google failure as the proximate trigger while stating it remains 'ultimately responsible for our chosen dependencies,' underscoring how single-provider dependency concentration exports one operator's control-plane failure into unrelated platforms.
Detection and response
Internal detection was fast: SRE was triaging within ~2 minutes and the root cause was identified within ~10 minutes. A manual 'red-button' global feature-disable was ready ~25 minutes from onset and rollout completed within ~40 minutes, after which all regions except us-central1 recovered. Two response weaknesses stood out: the Cloud Service Health status stack shared fate with the failing system, delaying the first public report by ~1h; and Service Control's lack of randomized exponential backoff caused recovering tasks to stampede us-central1's infrastructure, forcing manual throttling and multi-regional routing and extending that region's recovery to ~2h 40m.
Remediation and accountability
Google committed to modularize Service Control so it fails open, enforce feature flags disabled-by-default on critical binaries, improve static analysis and error handling, audit for randomized exponential backoff, and harden monitoring to survive primary-product outages. Root-cause-adjacent gaps not explicitly ticketed in the public report — schema validation at the policy-write boundary and staged/canaried global metadata propagation — remain the clearest additional safeguards. Cloudflare, on the downstream side, accepted responsibility for its dependency architecture. The provenance of the malformed blank-field write is not disclosed in the public record.
Technical deep-dive
Corrective actions and lessons
Correction of errors
| Action | Owner | Status |
|---|---|---|
| Modularize Service Control so quota-check functionality is isolated and fails open instead of crash-looping the whole binary | Google Cloud — Service Control team | Committed (post-incident remediation) |
| Enforce that all changes to critical binaries are feature-flag protected and disabled by default | Google Cloud — Engineering / release governance | Committed (post-incident remediation) |
| Improve static analysis and testing to correctly handle errors / malformed input and, where needed, fail open | Google Cloud — Service Control team | Committed (post-incident remediation) |
| Audit and ensure systems (including Service Control recovery paths) employ randomized exponential backoff to prevent restart herd effects | Google Cloud — SRE / Platform | Committed (post-incident remediation) |
| Harden monitoring and Cloud Service Health so status/comms work even when primary Google Cloud products are down | Google Cloud — Observability / Status team | Committed (post-incident remediation) |
| Add schema/input validation at the policy-write boundary and stage/canary globally-replicated policy metadata rather than replicating within seconds | Google Cloud — Service Control team | Recommended (implied by root-cause gaps; not an explicit published commitment) |
| Reduce single-provider dependency concentration for critical stores such as Workers KV and architect for degraded-mode operation | Cloudflare — Workers KV / Storage | Committed (accountability accepted in Cloudflare report) |
Lessons learnt
- Globally-replicated data is a globally-replicated blast radius: because quota metadata 'was replicated globally within seconds,' a single malformed write crash-looped every region at once — data-plane propagation must be staged/canaried, not instantaneous (Google Cloud report).
- Critical binaries must fail open, not closed: Service Control returning 503s in a crash loop turned a bad record into a worldwide control-plane collapse; graceful degradation on malformed input is mandatory (Google Cloud report).
- Feature flags are a safety device, not a convenience: the defect sat dormant ~14 days precisely because the new path was not feature-flag protected, leaving no scoped, fast kill-switch when it fired (Google Cloud report).
- Validate at the write boundary: unvalidated 'unintended blank fields' entered a global control plane — schema/input validation before ingestion, not after, is the cheapest place to stop a poison record (Google Cloud report).
- Recovery paths need randomized exponential backoff: without it, recovering tasks stampeded us-central1 and turned a mitigated outage into a ~2h 40m long tail — restart storms must be dampened by design (Google Cloud report).
- Monitoring and status must not share fate with the system they watch: the status page went down in the outage it was meant to report, delaying disclosure ~1h and blinding customers (Google Cloud report).
- Dependency concentration exports your outage: a Google Cloud control-plane failure directly took down Cloudflare Workers KV for 2h28m — critical stores need multi-provider or degraded-mode architecture (Cloudflare report).
Improvements
- DesignModularize Service Control so quota-check functionality is isolated and FAILS OPEN rather than crash-looping — Google's own remediation: 'modularize Service Control's architecture, so the functionality is isolated and fails open' (Google Cloud report).
- ProcessEnforce feature-flag protection, disabled-by-default, on all changes to critical binaries — Google will 'enforce all changes to critical binaries to be feature flag protected and disabled by default' (Google Cloud report).
- SafetyImprove static analysis and testing so malformed input is handled and, where needed, fails open rather than dereferencing missing data (Google Cloud report).
- MaintenanceAdd validation/schema enforcement at the policy-write boundary so records with 'unintended blank fields' cannot enter the globally-replicated Spanner policy tables (root-cause gap, Google Cloud report).
- DesignAudit and implement randomized exponential backoff on Service Control recovery paths to prevent the us-central1 thundering-herd — its absence extended recovery to up to ~2h 40m (Google Cloud report).
- ProcessStage/canary globally-replicated policy metadata instead of replicating it 'within seconds' worldwide, so a poisoned write is contained to a small blast radius (Google Cloud report).
- SafetyDecouple the Cloud Service Health status/comms stack from the systems it monitors so disclosure is not delayed ~1h by shared fate — Google commits to monitoring that works even when primary products are down (Google Cloud report).
- DesignFor downstream operators, reduce single-provider dependency concentration for critical stores such as Workers KV — Cloudflare: 'we are ultimately responsible for our chosen dependencies and how we choose to architect around them' (Cloudflare report).
References and provenance
- official-postmortem Google Cloud Service Health — Incident report (June 12, 2025), incident ow5i3PPK96RduMcb1SsW“Without the appropriate error handling, the null pointer caused the binary to crash.”https://status.cloud.google.com/incidents/ow5i3PPK96RduMcb1SsW
- vendor-status Google Cloud Outage Analysis: June 12, 2025 (ThousandEyes)“(summary) Independent third-party analysis corroborating the Service Control root cause and its API-wide impact on dependent services.”https://www.thousandeyes.com/blog/google-cloud-outage-analysis-june-12-2025
- vendor-status Cloudflare service outage June 12, 2025“This outage lasted 2 hours and 28 minutes.”https://blog.cloudflare.com/cloudflare-service-outage-june-12-2025/
Quotes are short, attributed, and for provenance only; the analysis is original. Last verified 2026-07-31.