~/lightning

Lightning Talk: Protecting Zephyr Against Memory Safety Vulnerabilities With the New CHERI Hardware Architecture

Lightningat Open Source Summit Europe 2025 · on Wednesday, 2025-08-27· at 16:40· G105 (Level 1)· [security]
links:none on file
slides:none on file

Memory-safety bugs cause about 70% of vulnerabilities and Zephyr records ~100 CVEs with 60–70% memory-safety issues. CHERI enforces bounds and permissions in hardware so pointers become 128-bit capabilities, preventing out-of-bounds access at runtime. Work includes a CHERI-RISC‑V 0.9.5 64-bit prototype in the CHERI Alliance GitHub, a CHERI LLVM toolchain (based on LLVM15), QEMU board support, CHERI GDB, and low-level assembly and boot changes; hello‑world examples run in QEMU but full kernel support and upstreaming remain ongoing.

AI-written summary · about

  1. 0:00Memory safety in Zephyr
  2. 3:34Zephyr needs Cherry architecture
  3. 6:11Modifications for Cherry support
  4. 9:46Cherry Zephyr development status
  5. 10:49Zephyr adopting Cherry now?
  6. 11:23Q&A: Upstreaming Cherry LLVM
  7. 12:35Q&A: Hardware solutions comparison
  8. 13:38Q&A: Pointer assembly boundaries
  9. 15:03Q&A: Prototype stage and kernel
  10. 15:48Q&A: Hardware platform availability
  11. 16:30Q&A: Pointer info in memory
  12. 17:31Q&A: Testing and hardware exceptions
  13. 18:14Q&A: Zero-day attack prevention
  14. 18:57Q&A: Fault handling and firmware
  15. 19:25Q&A: Cherry for unit tests
  16. 20:27Q&A: Runtime capability checking
  17. 21:18Q&A: Compiler intrinsics and capability
  18. 22:21Q&A: Pointers to IO memory
  19. 24:29Summary and future directions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.