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

fix(core): show RSOD after a fault in an IRQ handler

Public commit record

What the developer wrote

Authored by cepetr

62/100 · Adequate
fix(core): show RSOD after a fault in an IRQ handler
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
The short version

What changed, and why it matters

This update changes how Trezor hardware wallets recover when something goes wrong inside an interrupt handler. Previously, the device could freeze silently instead of showing the red error screen (RSOD). Now it unwinds nested interrupt handlers and shows the error screen. The change is a robustness improvement, not a direct fix for an exploitable vulnerability, but the freeze behavior could have been used to make a device hang or confuse a user.

Recommended action

Treat as a reliability and minor security-hardening fix. Review the new `unwind_exception` and `ensure_thread_mode` paths for correctness, especially the use of `0xFFFFFFF1` handler return and the `irq_lock`/`irq_unlock` pairing during exception unwinding. No immediate user action is required beyond normal firmware update.

Security signals we found

01

Crash inside interrupt handler previously caused freeze instead of controlled error screen

02

New exception-unwinding assembly manipulates LR/xPSR/CONTROL and active exception bits

03

Guard macro changed from KERNEL_MODE to SECURE_MODE, expanding scope of affected code

04

Pending exception clearing now includes SysTick, reducing chance of spurious handler re-entry

05

Vendor changelog explicitly describes user-visible failure mode (freeze vs error screen)

Risk score

Why this scored 34/100

Our methodology →
Potential impact 8/30
Exploitability 4/25
Stealth signal 6/15
Affected reach 7/15
Confidence 6/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.