AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 17 Bitcoin

fuzz: handle BroadcastChannelUpdate in chanmon

Public commit record

What the developer wrote

Authored by Joost Jager

78/100 · Adequate
fuzz: handle BroadcastChannelUpdate in chanmon

The regression was introduced in d627ce14c. That change
switched fee update opcodes in chanmon_consistency from
maybe_update_chan_fees() to timer_tick_occurred(), which can
enqueue BroadcastChannelUpdate events while peers are
disconnected.

The harness already tolerated those events in one delivery
path, but still treated them as unreachable in
push_excess_b_events and disconnect draining. Accept
BroadcastChannelUpdate in those match arms so the fuzz target
no longer panics on valid timer tick driven message queues.

AI tools were used in preparing this commit.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
The short version

What changed, and why it matters

This commit fixes a fuzz-testing harness so it no longer crashes when it encounters a specific kind of routine network message (BroadcastChannelUpdate). The change only affects test code, not the real Lightning node software that users run. It does not fix a vulnerability in production code.

Recommended action

No security action required. Treat as a normal test/QA fix. If tracking fuzz stability, include this patch in fuzzing infrastructure updates.

Security signals we found

01

Fuzz harness panic fixed

02

No production code modified

03

No cryptographic, consensus, or network protocol change

Risk score

Why this scored 17/100

Our methodology →
Potential impact 2/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 1/15
Confidence 9/10
Evidence quality 5/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.