Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Oxide 10 min read Incident hardMaster

A Gap in the TrustZone Preset Settings for the LPC55S69

The LPC55S69's ROM applies TrustZone preset register data roughly in struct order, switching VTOR to the user vector table first. A fault after that point, such as enabling the MPU without covering the ROM region, therefore vectors into user code before the ROM applies the CMPA debug settings and the PUF lockout. A signed image can use this to re-enable SWD debug despite CMPA settings. An unsigned CRC image at manufacturing time can extract the PUF-protected Unique Device Secret used for DICE identity. NXP classified it as a non-security erratum with no CVE, and Oxide stopped using TrustZone preset data, noting that secure boot is only as strong as the code you sign.

Assumes: Armv8-M TrustZone-MMemory Protection Unitsecure bootmicrocontroller boot ROMs

Related posts

  • Another vulnerability in the LPC55S69 ROM

    Oxide hardMaster

    The LPC55S69 boot ROM's In-System Programming (ISP) parser for SB2 signed updates has a buffer overflow (CVE-2022-22819). It copies header blocks into a global buffer up to an unchecked m_keyBlobBlock count before verifying the signature, so a crafted unsigned update can gain non-persistent code execution. An attacker can use this to re-enable SWD, bypass lockdown restrictions, modify flash and extract the DICE Unique Device Secret. Because the bug is in ROM, the only mitigations are disabling every path into ISP mode and flash recovery, or verifying the update signature via a separate ROM API before calling the SB2 update API. Oxide argues the case shows NXP should publish ROM source for customer review.

  • A 0-click exploit chain for the Pixel 10: When a Door Closes, a Window Opens

    Google Project Zero hardMaster

    Project Zero ported its Pixel 9 zero-click chain to the Pixel 10 by re-offsetting the Dolby UDC exploit (CVE-2025-54957), overwriting dap_cpdp_init instead of __stack_chk_fail because RET PAC replaced stack protectors. It then found a new local privilege escalation in the Tensor G5 VPU driver (/dev/vpu), reachable from the mediacodec context. That driver's mmap handler calls remap_pfn_range using the caller's VMA size rather than the MMIO register region size, letting userspace map the fixed-address kernel image read-write; arbitrary kernel read/write took five lines of code. The bug was rated High and patched in 71 days. The authors argue the same driver developers still lack basic security review despite the earlier BigWave reports.

  • A disappearing Service Processor

    Oxide hardMaster

    Oxide's Cosmo sled Service Processor (an STM32H7 Cortex-M7 running Hubris) intermittently dropped off the network and hung so hard a debug probe couldn't halt it. The root cause was mismatched memory attributes. Unprivileged tasks mapped the FPGA's FMC bus as uncached device memory via the MPU, but the privileged kernel's default ARM memory map treated that address as Normal Cached. An interrupt landing during a buffered store could then produce cache write-backs with unexpected access sizes, which hung the 32-bit-only FPGA bus. A measured-boot reset loop cut reproduction time from 24+ hours to about 10-20 minutes, and moving the FMC base address into a default device/uncached region of the address space fixed the issue.

  • Don't let TEEs break your MPC

    Trail of Bits hardMaster

    Running threshold signature MPC protocols inside TEEs only helps when the TEE is treated as defense in depth rather than a substitute for a sound protocol. The untrusted host still controls I/O, storage and scheduling. It can roll back the filesystem after a signer deletes a used pre-signature, forcing nonce reuse and leaking the private key share. Correct attestation can effectively lift semi-honest protocols toward malicious security by guaranteeing peers run the expected code. In practice that fails through recurring pitfalls: incomplete measurements (as in the WhatsApp Private Inference LD_PRELOAD bug), skipped quote and certificate-chain checks, unhardened images, stale backups and malleable LUKS2 headers, physical attacks like TEE.fail and DDRop, vendor centralization, and lenient default TCB policies. The recommended practices are binding attestation to MPC party identities, reproducible builds with binary transparency, and enforcing freshness and stricter security version checks.

  • Hardening eBPF for runtime security: Lessons from Datadog Workload Protection

    Datadog Engineering hardMaster

    Five years of running Datadog Workload Protection, an eBPF-based runtime security agent supporting kernels from 4.15 to 6.18, distilled into six production lessons. They cover getting programs to load, attach and keep firing across kernels and distributions; capturing and enriching data correctly; auditing eBPF use to reduce attack surface; coexisting with other eBPF users on a host; controlling performance cost; and shipping changes safely. Concrete pitfalls include verifier differences between kernels, inlined or renamed hook points, missed 32-bit compat syscalls and per-syscall tracepoints, and gaps from io_uring, openat2 and unusual exec paths like binfmt_misc. Mitigations include a CI matrix of tested kernels, the shared open source ebpf-manager Go library that refuses to start without a minimal set of loaded programs, and wrappers that hide verifier quirks.

The quest for software engineering knowledge.

Look:
Layout: