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

lightningd: fix name of chainmoves journal entry.

Public commit record

What the developer wrote

Authored by Rusty Russell

76/100 · Adequate
lightningd: fix name of chainmoves journal entry.

```
lightningd: FATAL SIGNAL 6 (version v25.09rc1-1-ga00ed81)
0x5c9e848ca050 send_backtrace
common/daemon.c:33
0x5c9e848ca249 crashdump
common/daemon.c:78
0x7f451664532f ???
./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x7f451669eb2c __pthread_kill_implementation
./nptl/pthread_kill.c:44
0x7f451669eb2c __pthread_kill_internal
./nptl/pthread_kill.c:78
0x7f451669eb2c __GI___pthread_kill
./nptl/pthread_kill.c:89
0x7f451664527d __GI_raise
../sysdeps/posix/raise.c:26
0x7f45166288fe __GI_abort
./stdlib/abort.c:79
0x5c9e84893ac3 migrate_from_account_db
wallet/account_migration.c:500
0x5c9e848943f7 db_migrate
wallet/db.c:1139
...
#5 0x0000555555615ac4 in migrate_from_account_db (ld=0x555555999238, db=0x55555599b158) at wallet/account_migration.c:500
500 abort();
(gdb) p ev->tag
$1 = 0x555555a4fbb8 "journal_entry"
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit fixes a simple naming mismatch that could crash Core Lightning when upgrading from older versions. The internal code expected the tag 'journal_entry', but one place still used 'journal'. The result was an automatic abort (fatal crash) during database migration, not a security vulnerability that an attacker could exploit.

Recommended action

Treat as a reliability/availability fix rather than a security patch. Users upgrading across affected versions should ensure this fix is included so migration does not abort. No immediate incident-response action is required.

Security signals we found

01

Fatal abort() during database migration

02

String-tag mismatch between migration data and enum table

03

No input validation bypass or memory corruption

Risk score

Why this scored 26/100

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