2017 · 27 citations · 22 references
ComputingComputer EngineeringComputer ScienceComputer SecurityOperating SystemsSecurity ArchitectureMemory ManagementMemory VirtualizationMicroarchitectural SecurityCopy-on-writeInformation DisclosureMemory ProtectionMergePhysical Memory ProtectionRowhammer AttacksSecure DesignSecure Memory Protection
To reduce memory pressure, modern operating systems and hypervisors such as Linux/KVM deploy page-level memory fusion to merge physical memory pages with the same content (i.e., page fusion). A write to a fused memory page triggers a copy-on-write event that unmerges the page to preserve correct semantics. While page fusion is crucial in saving memory in production, recent work shows significant security weaknesses in its current implementations. Attackers can abuse timing side channels on the unmerge operation to leak sensitive data such as randomized pointers. Additionally, they can exploit the predictability of the merge operation to massage physical memory for reliable Rowhammer attacks. In this paper, we present VUsion, a secure page fusion system. VUsion can stop all the existing and even new classes of attack, where attackers leak information by side-channeling the merge operation or massage physical memory via predictable memory reuse patterns. To mitigate information disclosure attacks, we ensure attackers can no longer distinguish between fused and non-fused pages. To mitigate memory massaging attacks, we ensure fused pages are always allocated from a high-entropy pool. Despite its secure design, our comprehensive evaluation shows that VUsion retains most of the memory saving benefits of traditional memory fusion with negligible performance overhead while maintaining compatibility with other advanced memory management features.
22
Last-Level Cache Side-Channel Attacks are Practical
Fangfei Liu, Yuval Yarom, Qian Ge et al. · 2015 · 1K citations · Full text
Flipping bits in memory without accessing them
Yoongu Kim, Ross Daly, Jeremie Kim et al. · ACM SIGARCH Computer Architecture News · 2014 · 907 citations
Victor van der Veen, Yanick Fratantonio, Martina Lindorfer et al. · 2016 · 294 citations · Full text
Vasileios P. Kemerlis, Simha Sethumadhavan, Angelos D. Keromytis · 2015 · 259 citations