Skip to content

LLMQ: Drop invalid lazy sig-share batches#1857

Draft
cursor[bot] wants to merge 1 commit into
masterfrom
cursor/critical-correctness-bugs-0458
Draft

LLMQ: Drop invalid lazy sig-share batches#1857
cursor[bot] wants to merge 1 commit into
masterfrom
cursor/critical-correctness-bugs-0458

Conversation

@cursor

@cursor cursor Bot commented May 22, 2026

Copy link
Copy Markdown
Contributor

PR intention

Fix a quorum signing correctness bug where a peer that sent an invalid lazy BLS sig-share could still have the rest of its collected sig-share batch processed as verified. This could let malformed or forged trailing shares poison local LLMQ signing state and block recovery of valid shares from other peers.

Code changes brief

  • Track peers that fail lazy sig-share deserialization during ProcessPendingSigShares() and skip processing their whole collected batch after verification.
  • Keep banned sig-share node-state markers for peers still present in CConnman, including peers already marked for disconnect, so late messages remain ignored until the peer is fully removed.
  • Validation: cmake --build build -j$(nproc) and ctest --test-dir build --output-on-failure passed (104/104).
Open in Web View Automation 

Co-authored-by: Reuben Yap <reuben@firo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant