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

fix(core/fido): don't fail if `_KEEPALIVE_STATUS_PROCESSING` is blocked

Public commit record

What the developer wrote

Authored by Roman Zeyde

100/100 · Strong
fix(core/fido): don't fail if `_KEEPALIVE_STATUS_PROCESSING` is blocked

Otherwise, an OSError is raised by mod_trezorio_USBIF_write if the outgoing buffer is full.

Related to #7487.

There is a similar issue in fido2.send_cmd() -> #7553.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This update fixes a bug in the Trezor hardware wallet's FIDO2/WebAuthn support. Previously, when the device was busy and tried to send a 'still processing' keepalive message to the computer, it would crash the whole FIDO operation if the USB send buffer happened to be full. Now it simply skips that single keepalive message and continues, making FIDO logins more reliable.

Recommended action

Treat as a reliability/hardening fix worth including in the next firmware release. No immediate advisory is required, but verify that the remaining `send_cmd()` path referenced in #7553 is similarly hardened to avoid analogous failures during CBOR command responses.

Security signals we found

01

Denial-of-service hardening: prevents a transient USB buffer-full condition from aborting a FIDO authentication/registration workflow

02

Exception boundary added around low-level USB HID write

03

Changelog explicitly frames the change as a fix for FIDO interaction failure

Risk score

Why this scored 37/100

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