[Paper Review] Revisiting Fast Practical Byzantine Fault Tolerance
This paper identifies critical safety and liveness flaws in two prominent optimistic Byzantine fault tolerance protocols—Zyzzyva and FaB—under minimal conditions (four replicas, one or two view changes). It demonstrates that Zyzzyva permits unsafe decisions due to conflicting prepare messages, while FaB's parameterized variant can become stuck during view changes due to inconsistent progress certificates, invalidating its claimed fast-path guarantees.
In this note, we observe a safety violation in Zyzzyva and a liveness violation in FaB. To demonstrate these issues, we require relatively simple scenarios, involving only four replicas, and one or two view changes. In all of them, the problem is manifested already in the first log slot.
Motivation & Objective
- To identify and demonstrate critical safety and liveness violations in optimistic Byzantine fault tolerance protocols, specifically Zyzzyva and FaB.
- To show that these flaws emerge even in simple scenarios with only four replicas and one or two view changes.
- To prove that FaB's parameterized variant can become stuck due to inconsistent progress certificates, undermining its fast-path liveness guarantees.
- To challenge the assumption that optimistic tracks in Byzantine replication can be fully decoupled from the main protocol without compromising correctness.
- To highlight that no existing fast Byzantine agreement protocol simultaneously achieves optimal step-complexity, resilience, safety under <1/3 failures, and progress in partial synchrony.
Proposed method
- Analyzing the view change mechanism in Zyzzyva and FaB, particularly how new leaders adopt values from previous views using progress certificates.
- Constructing minimal adversarial scenarios with four replicas (one Byzantine) and one or two view changes to trigger safety and liveness violations.
- Demonstrating that in FaB's parameterized variant (PFaB), a progress certificate can contain conflicting prepare values and commit-certificates, preventing any value from being vouched for.
- Identifying that PFaB's progress-certificate validation rule fails because it allows a certificate to vouch for neither of two conflicting values, leading to deadlock.
- Using formal reasoning on quorum intersections and Byzantine quorum properties to show that the protocols violate core safety and liveness conditions.
- Highlighting that the flaw in PFaB's Lemma 7 (on certificate vouching) invalidates its main correctness argument for the fast path.
Experimental results
Research questions
- RQ1Can a safety violation occur in Zyzzyva under minimal conditions with only four replicas and one view change?
- RQ2Does FaB's parameterized variant (PFaB) maintain liveness during view changes when progress certificates are inconsistent?
- RQ3Is the progress-certificate mechanism in PFaB sufficient to ensure that at least one value is vouched for during leader replacement?
- RQ4Can a protocol with an optimistic fast path be both safe and live under Byzantine conditions if the fast path and recovery path are not fully intertwined?
- RQ5Does the absence of a correct leader in a view lead to a deadlock in PFaB due to conflicting prepare messages and commit-certificates?
Key findings
- A safety violation occurs in Zyzzyva when a Byzantine leader pre-proposes conflicting values, and correct replicas accept them, leading to inconsistent decisions despite only one view change.
- In FaB's parameterized variant (PFaB), a progress certificate can contain two new-view messages with a conflicting prepare value and a commit-certificate for a different value, causing the protocol to become stuck.
- The protocol fails to make progress because no value is vouched for by the certificate, as the condition for vouching is violated due to the presence of f+t+1 conflicting prepare messages and a conflicting commit-certificate.
- The flaw lies in PFaB's Lemma 7, which incorrectly assumes that all progress certificates vouch for at least one value, when in fact they may fail to vouch for any.
- The issue arises even with f=1, t=0, and n=4, showing the problem is not dependent on large-scale systems or complex failure patterns.
- The paper concludes that no existing fast Byzantine replication protocol simultaneously satisfies optimal step-complexity, resilience, safety under <1/3 failures, and liveness in partial synchrony.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.