SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Direct memory access

Direct memory access (DMA) is the ability of devices to read and write memory without going through the CPU. It matters for the seL4 microkernel because its formal proofs treat DMA as a boundary condition 1.

The seL4 project's "What the Proofs Assume" page says the proof assumes that only the CPU and MMU access memory directly. It can ignore device memory-mapped registers. It must, however, assume that DMA devices are either absent or do not misbehave, for example by overwriting the kernel 1.

The page says normal user-level drivers cannot break kernel security. Drivers for DMA-enabled devices can, and "must be formally verified for the proof to carry over" 1. Deployments that use DMA-capable devices therefore need separate assurance for those drivers or devices. This entry reports the project's stated assumptions and does not assess any particular hardware or mitigation.

Source · What the Proofs Assume (opens in a new tab) · seL4 Project

References

  1. What the Proofs Assume (opens in a new tab) · seL4 Project ↩ ↩ ↩

Research articles

In the news

See what connects to it on the map of ideas →