WorldClave: Extending Enclave Boundaries to Devices for Trusted Robotic Workloads
A robot's data passes between DMA-capable devices and the software nodes that process it, and sits in DRAM in plaintext throughout, exposed to a compromised kernel or a rogue DMA device. Existing TEEs either shut devices out of protected memory or admit them only into a whole VM or one of two worlds, never into the domain of the individual node that consumes their data. We present WorldClave, a TEE on RISC-V WorldGuard in which one checker rule admits a node's code and its devices to the node's memory, under World IDs (WIDs) of one namespace. Giving each node a WID requires virtualizing the hardware's 32 WIDs, and we show that reclaiming a bus-level identity is a system-wide revocation: the identity's lines must be removed from every core's caches before its permission is withdrawn, and the permissions of the host and devices sharing a region must be left intact, since they cannot fault to recover them. Tracing these requirements through the hardware, we found three defects in an open WorldGuard implementation whose caches propagated WIDs incorrectly, identified an eviction channel such caches open to the host and to rogue devices and closed it in hardware, and argue that the specification must state the cache behavior a TEE relies on. We validate WorldClave on an FPGA and QEMU with ROS 2, supplying DDS inside the enclave and sharing memory among nodes and devices without the host. It blocks a compromised host, unauthorized enclaves, and unregistered devices, and wakes a waiting node 5x faster than Keystone. A SLAM and planning pipeline fed by a DMA device runs with the ROS 2 client stack unchanged, within a single-threaded subset of ROS 2.
Discussione
Preferiti
Aggiungi ai preferitiSegui questa discussione
Una mail quando qualcuno commenta. Non serve un account.
La newsletter
Iscriviti alla nostra newsletter gratuita per restare aggiornato su tutto ciò che riguarda la robotica.