1PodcastApp My Podcasts My Podcasts

Oxide and Friends

Adventures in Data Corruption

· 1h 43m

Two years ago, the Oxide team encountered data corruption during a fairly simple network data transfer. The ensuing debugging sessions uncovered a truly bizarre bug involving CPU speculation! Bryan and Adam were joined by colleagues John and Rain to discuss the discovery and circuitous hunt to track down the bug. In addition to Bryan Cantrill and Adam Leventhal , speakers included John Gallagher , and Rain Paharia . Previous episodes mentioned: OxF s03e09 - Get You a State Machine for Great Good OxF s03e20 - Shipping the first Oxide rack: Tales from Manufacturing OxF s04e25 - RTO or GTFO OxF…

Chapters

  1. Discord, age, and opening banter
  2. Suspected microprocessor vulnerability and disclosure
  3. John introduces the update sled recovery
  4. How sled recovery and Installinator work
  5. Sleds failing to boot after recovery
  6. Adding SHA-256 checks around downloads
  7. Extra logging and the first pull request
  8. Debating retries in PR review
  9. Data corruption week begins
  10. Tracking corruption to Installinator's download
  11. Reproducing the bug outside the rack
  12. Runs of zeros in fetched data
  13. DTrace probes and CPU flickering behavior
  14. Psychotic bugs and reproducibility
  15. Clustered virtual addresses and the haunted region
  16. Remote debugging and the haunted VA region
  17. Stowaway kernel mapping for the RAM disk
  18. Using DTrace copyin to prove it
  19. KPTI, Meltdown, and the kernel-only CR3
  20. TLB shootdowns and past speculation bugs
  21. Intel and AMD responses on speculation
  22. Disabling speculation via MSRs
  23. What if the bug went unnoticed
  24. Root cause: stowaway mapping not flushed
  25. Rust, foundations, and debugging lessons
  26. Wrap-up and reflections

Speakers

Bryan Cantrill (host), Adam Leventhal (host), John Gallagher, Rain Paharia

From the transcript

Hello, Brian. Hey, how are you? Good. How are you doing? I'm doing well. I'm doing well. Yeah. Every time I log into Discord, you know, tautologically, every time I log into Discord, I am getting older, obviously. It's the oldest you've…