Missing L1OriginTooOld handler in proposer causes infinite retry loop, halting L2 finality and L2→L1 withdrawals
The proposer only special-cases one submission error and lets an expired proof origin error fall through to a generic failure path, which re-queues the same stale proof. This creates an endless retry loop that stops new dispute games and blocks L2 to L1 withdrawals until an operator restarts the service.
- Disclosed after under an hour
74638 bc insight missing l1origintooold handler in proposer causes infinite retry loop halting l2 finality and l2 l1 withdrawals
Submitted on Apr 24th 2026 at 00:01:37 UTC by @AlexMyas for Audit Comp | Base Azul
- Report ID: #74638
- Report Type: Blockchain/DLT
- Report severity: Insight
- Target: https://github.com/base/base/releases/tag/v0.8.0-rc.15
Description
Brief/Intro
The Base Azul proposer enters a permanent infinite retry loop when a proof's l1_head expires after ~27h, preventing new dispute games from being created and blocking all L2→L1 withdrawals until a manual restart. This is the sibling of the stall fixed in PR #2221 — L1OriginTooOld was not handled alongside GameAlreadyExists.
Vulnerability Details
l1_head is baked into the proof at dispatch time and cannot be refreshed (pipeline.rs:957, server.rs:171). After 8,191 L1 blocks (~27h), the contract rejects it:
if (blockAge > EIP2935_WINDOW) revert L1OriginTooOld(); // AggregateVerifier.sol:963
estimate_gas catches this before broadcast. The error hits classify_tx_manager_error() (output_proposer.rs:25), which only special-cases GameAlreadyExists — L1OriginTooOld falls through to SubmitAction::Failed (pipeline.rs:1196).
The Failed handler re-queues the same stale proof:
// pipeline.rs:579
state.proved.insert(target_block, proof); // stale proof re-inserted, loop repeats
No escape exists: prune_stale only removes entries ≤ recovered_block; dispatch_proofs skips blocks in state.proved; no retry cap on submission failures.
Fix: route L1OriginTooOld to SubmitAction::Discard — drops the stale proof so a fresh one is requested on the next tick.
} else if e.is_l1_origin_too_old() {
Err(SubmitAction::Discard(e))
}
Impact Details
- No new dispute games → L2 finality stalls, all L2→L1 withdrawals blocked.
- L2 sequencer unaffected; only finality and bridges halt.
- Recovery: operator restart (minutes); proof regenerates automatically with fresh
l1_head. - Trigger: prover or L1 RPC outage lasting >27h while a proof is in-flight.
References
crates/proof/proposer/src/pipeline.rsL579, L1196crates/proof/proposer/src/output_proposer.rsL25src/multiproof/AggregateVerifier.solL963- PR #2221:
fix(proposer): break GameAlreadyExists stall— analogous fix
Proof of Concept
- Proposer dispatches proof for L2 block N;
l1_headis baked in at this moment (pipeline.rs:957). - Prover/L1 RPC outage lasts >8,191 L1 blocks (~27h). Proof lands in
state.proved. try_submit→estimate_gas→ revertsL1OriginTooOld(AggregateVerifier.sol:963).classify_tx_manager_error()has no case for it →SubmitAction::Failed→ stale proof re-inserted intostate.proved(pipeline.rs:586).- Next tick (12s): same proof, same revert. Loop repeats indefinitely.
prune_stalenever clears block N;dispatch_proofsnever re-proves it. Proposer halted until manual restart.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the error classifier only handles one specific contract error and lacks a case for the expired-origin error, so the stale proof is treated as a retryable failure and re-inserted into the proved set.
Impact
No new dispute games are created, so L2 finality stalls and all L2 to L1 withdrawals are blocked, though the L2 sequencer is unaffected and an operator restart recovers within minutes.
What the attacker needed
Prover or L1 RPC outage over ~27h; a proof already in flight
The fix
The report proposes routing the expired-origin error to a discard action so the stale proof is dropped and a fresh one is requested on the next tick.
How it was found
- The proposer dispatches a proof for an L2 block, fixing the L1 head at that moment.
- A prover or L1 RPC outage lasts longer than the allowed window of about 27 hours.
- On submission, gas estimation reverts with the expired-origin error.
- The classifier has no matching case, so the action becomes a generic failure.
- The stale proof is re-inserted and the next tick repeats the same revert.
- Cleanup never removes the block and re-proving never happens, so the proposer halts.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A proof is a piece of evidence the system submits to a contract on another chain. That evidence carries a timestamp-like reference that expires after about a day, and the code keeps resubmitting the expired version instead of asking for a fresh one. Because it never gives up, the service gets stuck and users cannot move funds back to the main chain.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.