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

feat(core): improve trustzone settings

Public commit record

What the developer wrote

Authored by cepetr

57/100 · Thin
feat(core): improve trustzone settings

[no changelog]
✓ 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 commit hardens the security boundaries inside Trezor's STM32U5 microcontroller. It moves USB power initialization into the trusted secure monitor, restricts access to sensitive system registers (power, clock, cache, watchdog, RAM config), and locks down the TrustZone configuration so it cannot be changed later. These are defensive improvements that reduce the attack surface if untrusted code runs on the device, but the commit itself does not fix a known exploitable bug.

Recommended action

Treat as a security-hardening commit rather than an urgent vulnerability fix. Review that PLL3 non-secure access for the display driver does not introduce a side-channel or fault-injection path, and verify that the secure monitor's usb_power_init() is called before any non-secure USB code attempts to use the peripheral.

Security signals we found

01

TrustZone peripheral isolation tightened (PWR/RCC/SYSCFG/cache/watchdog made secure/privileged)

02

USB power initialization moved to secure monitor to match new PWR/RCC restrictions

03

GPDMA1 secure channel mask corrected from 0xEFFF to 0xFFFF with explicit channel 12 secure

04

SAU, AIRCR, and GTZC peripheral attribute registers locked after initialization

05

SRAM caching in DCACHE2 disabled (GPU not used)

06

Removal of incomplete/placeholder security comments (TODO!@#) for RCC clocks

Risk score

Why this scored 35/100

Our methodology →
Potential impact 8/30
Exploitability 5/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.