2021 · 24 citations · 51 references
ComputingComputer EngineeringComputer ScienceHardware SecuritySafety EngineeringSecurity ArchitectureFuzz TestingMemory ManagementMemory SafetyMemory Safety VulnerabilitiesMicroarchitectural SecuritySpeculative ExecutionHardware Enforcement Of Memory SafetyMemory AllocationMemory Allocation StrategiesPerformance DegradationSoftware ReliabilitySpeculative AttacksSpeculative Execution AttacksVlsi Implementation
Memory safety continues to be a significant software reliability and security problem, and low overhead and low complexity hardware solutions have eluded computer designers. In this paper, we explore a pathway to deployable memory safety defenses. Our technique builds on a recent trend in software: the usage of binning memory allocators. We observe that if memory allocation sizes (e.g., malloc sizes) are made an architectural feature, then it is possible to overcome many of the thorny issues with traditional approaches to memory safety such as compatibility with unsecured software and significant performance degradation. We show that our architecture, No-FAT, incurs an overhead of 8% on SPEC CPU2017 benchmarks, and our VLSI measurements show low power and area overheads. Finally, as No-FAT’s hardware is aware of the memory allocation sizes, it effectively mitigates certain speculative attacks (e.g., Spectre-V1) with no additional cost. When our solution is used for pre-deployment fuzz testing it can improve fuzz testing bandwidth by an order of magnitude compared to state-of-the-art approaches.
51
The geometry of innocent flesh on the bone
Hovav Shacham · 2007 · 1.3K citations
Flipping bits in memory without accessing them
Yoongu Kim, Ross Daly, Jeremie Kim et al. · ACM SIGARCH Computer Architecture News · 2014 · 907 citations
AddressSanitizer: a fast address sanity checker
Konstantin Serebryany, Derek Bruening, Alexander Potapenko et al. · USENIX Annual Technical Conference · 2012 · 642 citations