AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Moderate 51 Cryptographic libraries

Merge pull request #11710

Public commit record

What the developer wrote

Authored by tobtoht

58/100 · Thin
Merge pull request #11710

ea04c71 cryptonote_core: avoid coinbase sum deadlock (Samy)

ACKs: jpk68, selsta
✓ Descriptive subject✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This patch changes how Monero's daemon calculates the total coinbase transaction sum (emission plus fees) for a range of blocks. Previously, the code called a general 'get_transactions' helper that could trigger a deadlock because it might re-enter the same database locks held by the caller. The fix fetches only the raw, pruned transaction blobs directly from the database and parses just the transaction base, avoiding the broader locking path. A functional test was added to verify the coinbase sum matches the block reward and reported fee.

Recommended action

Treat as a robustness fix with possible denial-of-service security relevance. Review whether the deadlock was reachable via RPC or P2P paths and consider backporting to stable branches. No immediate emergency response is indicated by the diff alone.

Security signals we found

01

Deadlock avoidance in consensus-related coinbase emission calculation

02

Change from general transaction retrieval to direct, pruned database read

03

Addition of functional test covering coinbase sum correctness

Risk score

Why this scored 51/100

Our methodology →
Potential impact 18/30
Exploitability 8/25
Stealth signal 5/15
Affected reach 10/15
Confidence 7/10
Evidence quality 3/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.