๐ Major
Flush callback can commit index state beyond the durable chainstate (src/index/base.cpp:222, head)
IgnoreChainStateFlushed accepts a flush locator that is an ancestor of m_best_block, but then commits m_best_block itself. SyncChain can reach an unflushed tip and update m_best_block before an earlier queued flush callback runs. The callback's locator being flushed does not establish that the later best block is durable. The previous Commit implementation checked the index tip against chainstate's last-flushed block. Retain an equivalent guard and skip the commit when the indexed state is ahead.
Disconnect-only reorg can commit a stale best-block locator (src/index/base.cpp:186, head)
This records the rewind without moving m_best_block. If the active tip is disconnected without a replacement block connecting, CustomRemove has already reverted CoinStatsIndex's in-memory MuHash, while m_best_block still names the disconnected tip. A subsequent flush at the shortened tip passes the ancestor check and commits that stale locator with the reverted MuHash. On restart, CoinStatsIndex::CustomInit finds the old tip's saved entry and rejects the mismatching MuHash, requiring an index rebuild. Reconcile the best-block state after a rewind with no following connect, or prevent a commit when its locator does not identify the state being committed.
Disconnect can return while a validation callback still uses the index (src/node/interfaces.cpp:619, head)
UnregisterSharedValidationInterface is nonblocking: a callback already executing in ValidationSignals::Iterate can continue after the proxy is unregistered. This path waits only for m_sync_thread, not for the validation-queue callback. The callback retains the proxy and can still invoke its notifications object, which references the BaseIndex. Stop can therefore return and allow the index to be destroyed while the callback is using it. Ensure the callback has completed after unregistering, without holding locks it needs, before Stop allows the index to be destroyed.
๐ก Minor
Catch-up reorg can fail the best-block ancestry assertion (src/index/base.cpp:121, head)
During SYNCING, m_best_block may lag the index cursor. If a reorg occurs above that committed best block, disconnections rewind the cursor to the fork, then the first replacement block reaches this assertion with block.height - 1 greater than best_block->height. The ancestor lookup cannot succeed, so an ordinary catch-up reorg aborts an assert-enabled node. The lagging best block may already be below the fork; handle that case instead of requiring it to have an ancestor at the fork height.
Review coverage was incomplete. The independent review had incomplete evidence. The adversarial review did not complete. The adversarial_glm review did not complete.