Patent · US Active

Hardware shadow stack support for legacy guests

US9501637B2 · kind B2 · utility

13Cited by
4References
21Claims
0Family size

Assignee

Inventors

Key dates

Filing dateSep 26, 2014
Grant dateNov 22, 2016
Priority date
Expiry dateOct 18, 2034

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2009/45587
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Technologies for shadow stack support for legacy guests include a computing device having a processor with shadow stack support. During execution of a call instruction, the processor determines whether a legacy stack pointer is within bounds and generates a virtual machine exit if the legacy stack pointer is out-of-bounds. If not out-of-bounds, the processor pushes a return address onto the legacy stack and onto a shadow stack protected by a hypervisor. During execution of a return instruction, the processor determines whether top return addresses of the legacy stack and the shadow stack match, and generates a virtual machine exit if the return addresses do not match. If the return addresses match, the processor pops the return addresses off of the legacy stack and off of the shadow stack. The stack out-of-bounds and the stack mismatch virtual machine exits may be handled by the hypervisor. Other embodiments are described and claimed.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.