Preventing DMA Attacks from Thunderbolt Devices
summary
Shows Linux-facing DMA holes from Thunderbolt: attacks exploit IOMMU/PCIe features (ATS, PASID-like translations, page granularity and lazy/unordered DMA mapping) to read or reuse kernel memory. Presents concrete fixes: disable ATS for untrusted ports (merged in Linux 5.1), per-device screening via a kernel interface, software bounce-page work and proposals to change DMA mapping strictness. Patchset is landed or staged, some hardware/efficiency tradeoffs remain and further testing is ongoing.
AI-written summary · about
chapters (9)
- 0:00Start
- 1:04Statement
- 2:40DMA attack
- 4:08Before we start ...
- 6:10Device Classification S
- 10:42Fatal ATS
- 16:42Strict Mode
- 24:37Call for action
- 27:39Reference
related talks
37mPreventing DMA Attacks from Thunderbolt Devices
39mTaming DMA: Tales Wrestling Memory Corruption
20mProtected DMAbufs and its dynamic memory assignment woes
35mDMA Safety in Buffers for Linux Kernel Device Drivers
42mProtecting the Linux Kernel from Confidential Computing Threats in Virtual Environments
27mProtecting Data In-Use from Firmware and Physical Attacks
19mKeynote: MDS, Fallout, Zombieland & Linux
44mKernel TEE subsystem BoF
